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))
 
(No difference)

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.