Skip to content

DynamicLightEnvironmentComponent

Class in Engine · Engine.DynamicLightEnvironmentComponent · native

Object › Component › ActorComponent › LightEnvironmentComponent › DynamicLightEnvironmentComponent

Subclasses: ParticleLightEnvironmentComponent

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

Enums

EDynamicLightEnvironmentBoundsMethod

DLEB_OwnerComponents = 0, DLEB_ManualOverride = 1, DLEB_ActiveComponents = 2

Properties

NameTypeNotes
AmbientGlowLinearColor
AmbientShadowColorLinearColor
AmbientShadowSourceDirectionvector
bAffectedBySmallDynamicLightsbool
bAlwaysInfluencedByDominantDirectionalLightbool
bCastShadowsbool
bCompositeShadowsFromDynamicLightsbool
bDynamicbool
bForceCompositeAllLightsbool
bIsCharacterLightEnvironmentbool
BoundsMethodEDynamicLightEnvironmentBoundsMethod
bOverrideOwnerLightingChannelsbool
bRequiresNonLatentUpdatesbool
bShadowFromEnvironmentbool
bSkipUpdateWhenHiddenbool
bSynthesizeDirectionalLightbool
bSynthesizeSHLightbool
bTraceFromClosestBoundsPointbool
bUseBooleanEnvironmentShadowingbool
DominantShadowTransitionEndDistancefloat
DominantShadowTransitionStartDistancefloat
InvisibleUpdateTimefloat
LightDistancefloat
LightingBoundsScalefloat
MaxModulatedShadowColorLinearColor
MinShadowAnglefloat
MinTimeBetweenFullUpdatesfloat
ModShadowFadeoutExponentfloat
ModShadowFadeoutTimefloat
NumVolumeVisibilitySamplesint
OverriddenBoundsBoxSphereBounds
OverriddenLightComponentsarray<LightComponent>const
OverriddenLightingChannelsLightingChannelContainer
ShadowDistancefloat
ShadowInterpolationSpeedfloat
Statepointerconst, transient, native, private
VelocityUpdateTimeScalefloat

Functions

NameDeclaration
ResetEnvironmentfinal native function ResetEnvironment()

Default values

InvisibleUpdateTime=5.0
MinTimeBetweenFullUpdates=1.0
bSkipUpdateWhenHidden=TRUE
NumVolumeVisibilitySamples=1
VelocityUpdateTimeScale=0.000001
LightingBoundsScale=1
ShadowInterpolationSpeed=.004
AmbientShadowColor=(R=0.001,G=0.001,B=0.001)
AmbientShadowSourceDirection=(X=0.01,Y=0,Z=0.99)
LightDistance=10.0
ShadowDistance=5.0
TickGroup=TG_DuringAsyncWork
bCastShadows=TRUE
bCompositeShadowsFromDynamicLights=TRUE
bAffectedBySmallDynamicLights=TRUE
bUseBooleanEnvironmentShadowing=TRUE
bShadowFromEnvironment=TRUE
ModShadowFadeoutExponent=3.0
MaxModulatedShadowColor=(R=0.5,G=0.5,B=0.5)
DominantShadowTransitionStartDistance=100
DominantShadowTransitionEndDistance=10
bDynamic=TRUE
bSynthesizeDirectionalLight=TRUE
bSynthesizeSHLight=FALSE
MinShadowAngle=25.0
BoundsMethod=DLEB_OwnerComponents

Inherited

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