Always snap to grid
Difference between revisions of "UE3:DirectionalLightComponent (UDK)"
From Unreal Wiki, The Unreal Engine Documentation Site
(Talk) |
(Talk) |
||
Line 22: | Line 22: | ||
===Property group 'Lightmass'=== | ===Property group 'Lightmass'=== | ||
====LightmassSettings==== | ====LightmassSettings==== | ||
− | '''Type:''' {{tl|LightmassDirectionalLightSettings|EngineTypes}} | + | '''Type:''' {{tl|LightmassDirectionalLightSettings|EngineTypes|structs}} |
The Lightmass settings for this object. | The Lightmass settings for this object. | ||
Line 28: | Line 28: | ||
'''Default value:''' | '''Default value:''' | ||
{| class="list defaults" | {| class="list defaults" | ||
− | ! {{tl|LightmassDirectionalLightSettings||EngineTypes|Member}} | + | ! {{tl|LightmassDirectionalLightSettings||EngineTypes structs|Member}} |
! Value | ! Value | ||
|- | |- | ||
− | | {{tl|LightmassLightSettings||EngineTypes|IndirectLightingSaturation}} | + | | {{tl|LightmassLightSettings||EngineTypes structs|IndirectLightingSaturation}} |
| 1.0 | | 1.0 | ||
|- | |- | ||
− | | {{tl|LightmassLightSettings||EngineTypes|IndirectLightingScale}} | + | | {{tl|LightmassLightSettings||EngineTypes structs|IndirectLightingScale}} |
| 1.0 | | 1.0 | ||
|- | |- | ||
Line 40: | Line 40: | ||
| 3.0 | | 3.0 | ||
|- | |- | ||
− | | {{tl|LightmassLightSettings||EngineTypes|ShadowExponent}} | + | | {{tl|LightmassLightSettings||EngineTypes structs|ShadowExponent}} |
| 2.0 | | 2.0 | ||
|} | |} | ||
Line 53: | Line 53: | ||
{{code|function '''OnUpdatePropertyLightColor''' ()}} | {{code|function '''OnUpdatePropertyLightColor''' ()}} | ||
− | + | Called from matinee code when LightColor property changes. |
Revision as of 05:24, 17 January 2010
Object >> Component >> ActorComponent >> LightComponent >> DirectionalLightComponent |
- Package:
- Engine
- Direct subclass:
- DominantDirectionalLightComponent
- This class in other games:
- UT3
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Properties
Property group 'AdvancedLighting'
TraceDistance
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'
LightmassSettings
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
OnUpdatePropertyBrightness
function OnUpdatePropertyBrightness ()
Called from matinee code when Brightness property changes.
OnUpdatePropertyLightColor
function OnUpdatePropertyLightColor ()
Called from matinee code when LightColor property changes.