Skip to content

LightEnvironmentComponent

Class in Engine · Engine.LightEnvironmentComponent · native

Object › Component › ActorComponent › LightEnvironmentComponent

Subclasses: DynamicLightEnvironmentComponent

Using it from Lua
h7.find_all("LightEnvironmentComponent")            -- live instances
h7.find_class("Engine.LightEnvironmentComponent")   -- the class
h7.hook("Engine.LightEnvironmentComponent.IsEnabled", fn)

Properties

NameTypeNotes
AffectedComponentsarray<PrimitiveComponent>const, transient, protected
AffectingDominantLightLightComponentconst, transient, protected
bAllowDynamicShadowsOnTranslucencybool
bAllowPreShadowboolconst, transient, protected
bEnabledboolconst, protected
bForceNonCompositeDynamicLightsbool
bTranslucencyShadowedboolconst, transient, protected
DominantShadowFactorfloatconst, transient, protected

Functions

NameDeclaration
IsEnabledfinal native function bool IsEnabled()
SetEnabledfinal native function SetEnabled(bool bNewEnabled)

Default values

bEnabled=True
bAllowPreShadow=True
DominantShadowFactor=1.0

Inherited

FromMembers
ActorComponent7 properties, 4 functions
Component2 properties, 0 functions
Object13 properties, 308 functions