PointLightComponent¶
Class in Engine · Engine.PointLightComponent · native, editinlinenew
Object › Component › ActorComponent › LightComponent › PointLightComponent
Subclasses: DominantPointLightComponent, SpotLightComponent
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
CachedParentToWorld | matrix | const |
FalloffExponent | float | |
LightmassSettings | LightmassPointLightSettings | |
MinShadowFalloffRadius | float | |
PreviewLightRadius | DrawLightRadiusComponent | const |
PreviewLightSourceRadius | DrawLightRadiusComponent | const |
Radius | float | |
ShadowFalloffExponent | float | |
ShadowPlane | plane | const |
ShadowRadiusMultiplier | float | |
Translation | vector | const |
Functions¶
| Name | Declaration |
|---|---|
OnUpdatePropertyBrightness | function OnUpdatePropertyBrightness() |
OnUpdatePropertyLightColor | function OnUpdatePropertyLightColor() |
SetTranslation | final native function SetTranslation(vector NewTranslation) |
Default values¶
Radius=1024.0
FalloffExponent=2
ShadowFalloffExponent=2
ShadowRadiusMultiplier=1.1
ShadowPlane=(X=0,Y=0,Z=1,W=0)
Inherited¶
| From | Members |
|---|---|
| LightComponent | 47 properties, 11 functions |
| ActorComponent | 7 properties, 4 functions |
| Component | 2 properties, 0 functions |
| Object | 13 properties, 308 functions |