Gah - a solution with more questions. – EntropicLqd

UE3:DirectionalLightComponent (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 05:37, 17 January 2010 by Wormbo (Talk | contribs) (1 revision: class descriptions for UDK January update (part 1))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UDK Object >> Component >> ActorComponent >> LightComponent >> DirectionalLightComponent
Package: 
Engine
Direct subclass:
DominantDirectionalLightComponent
This class in other games:
UT3


Properties[edit]

Property group 'AdvancedLighting'[edit]

TraceDistance[edit]

Type: float

Trace distance for static lighting. Objects further than TraceDistance away from an object won't be taken into account for static shadowing applied to said object. This is used to work around floating point consistency issues in the collision code with regard to very long traces. The old default was WORLD_MAX.

Default value: 100000.0

Property group 'Lightmass'[edit]

LightmassSettings[edit]

Type: EngineTypes.LightmassDirectionalLightSettings

The Lightmass settings for this object.

Default value:

Member Value
IndirectLightingSaturation 1.0
IndirectLightingScale 1.0
LightSourceAngle 3.0
ShadowExponent 2.0

Instance functions[edit]

OnUpdatePropertyBrightness[edit]

function OnUpdatePropertyBrightness ()

Called from matinee code when Brightness property changes.

OnUpdatePropertyLightColor[edit]

function OnUpdatePropertyLightColor ()

Called from matinee code when LightColor property changes.