The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

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

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
 
m (1 revision: class descriptions for UDK January update (part 4))
 
(One intermediate revision by one other user not shown)
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
 
|}
 
|}

Latest revision as of 06:44, 17 January 2010

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


Properties[edit]

Property group 'Lightmass'[edit]

LightmassSettings[edit]

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'[edit]

FalloffExponent[edit]

Type: float

Modifiers: interp

Controls the radial falloff of the light

Default value: 2.0

MinShadowFalloffRadius[edit]

Type: float

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

Radius[edit]

Type: float

Modifiers: interp


Default value: 1024.0

ShadowFalloffExponent[edit]

Type: float

falloff for shadow when using LightShadow_Modulate

Default value: 2.0

ShadowRadiusMultiplier[edit]

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[edit]

Type: Object.Vector

Modifiers: const


Internal variables[edit]

CachedParentToWorld[edit]

Type: Object.Matrix

Modifiers: const

Todo: remove me please

PreviewLightRadius[edit]

Type: DrawLightRadiusComponent

Modifiers: const


PreviewLightSourceRadius[edit]

Type: DrawLightRadiusComponent

Modifiers: const


Functions[edit]

Native functions[edit]

SetTranslation[edit]

native final function SetTranslation (Object.Vector NewTranslation)


Other 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.