My program doesn't have bugs. It just develops random features.

Difference between revisions of "UE3:PointLightComponent (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
 
(Talk)
Line 12: Line 12:
 
===Property group 'Lightmass'===
 
===Property group 'Lightmass'===
 
====LightmassSettings====
 
====LightmassSettings====
'''Type:''' {{tl|LightmassPointLightSettings|EngineTypes}}
+
'''Type:''' {{tl|LightmassPointLightSettings|EngineTypes|structs}}
  
 
The Lightmass settings for this object.
 
The Lightmass settings for this object.
Line 18: Line 18:
 
'''Default value:'''  
 
'''Default value:'''  
 
{| class="list defaults"
 
{| class="list defaults"
! {{tl|LightmassPointLightSettings||EngineTypes|Member}}
+
! {{tl|LightmassPointLightSettings||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 30: Line 30:
 
| 100.0
 
| 100.0
 
|-
 
|-
| {{tl|LightmassLightSettings||EngineTypes|ShadowExponent}}
+
| {{tl|LightmassLightSettings||EngineTypes structs|ShadowExponent}}
 
| 2.0
 
| 2.0
 
|}
 
|}

Revision as of 06:24, 17 January 2010

UDK Object >> Component >> ActorComponent >> LightComponent >> PointLightComponent
Package: 
Engine
Direct subclasses:
DominantPointLightComponent, SpotLightComponent, UTExplosionLight, UTShockBallLight
This class in other games:
UT3


Properties

Property group 'Lightmass'

LightmassSettings

Type: EngineTypes.LightmassPointLightSettings

The Lightmass settings for this object.

Default value:

Member Value
IndirectLightingSaturation 1.0
IndirectLightingScale 1.0
LightSourceRadius 100.0
ShadowExponent 2.0

Property group 'PointLightComponent'

FalloffExponent

Type: float

Modifiers: interp

Controls the radial falloff of the light

Default value: 2.0

MinShadowFalloffRadius

Type: float

The minimum radius at which the point light's shadow begins to attenuate.

Radius

Type: float

Modifiers: interp


Default value: 1024.0

ShadowFalloffExponent

Type: float

falloff for shadow when using LightShadow_Modulate

Default value: 2.0

ShadowRadiusMultiplier

Type: float

Modifiers: interp

used to control when point light shadow mapping goes to a hack mode, the ShadowRadiusMultiplier is multiplied by the radius of object's bounding sphere

Default value: 1.1

Translation

Type: Object.Vector

Modifiers: const


Internal variables

CachedParentToWorld

Type: Object.Matrix

Modifiers: const

Todo: remove me please

PreviewLightRadius

Type: DrawLightRadiusComponent

Modifiers: const


PreviewLightSourceRadius

Type: DrawLightRadiusComponent

Modifiers: const


Functions

Native functions

SetTranslation

native final function SetTranslation (Object.Vector NewTranslation)


Other instance functions

OnUpdatePropertyBrightness

function OnUpdatePropertyBrightness ()

Called from matinee code when Brightness property changes.

OnUpdatePropertyLightColor

function OnUpdatePropertyLightColor ()

Called from matinee code when LightColor property changes.