Skip to content

PointLightComponent

Class in Engine · Engine.PointLightComponent · native, editinlinenew

Object › Component › ActorComponent › LightComponent › PointLightComponent

Subclasses: DominantPointLightComponent, SpotLightComponent

Using it from Lua
h7.find_all("PointLightComponent")            -- live instances
h7.find_class("Engine.PointLightComponent")   -- the class
h7.hook("Engine.PointLightComponent.OnUpdatePropertyBrightness", fn)

Properties

NameTypeNotes
CachedParentToWorldmatrixconst
FalloffExponentfloat
LightmassSettingsLightmassPointLightSettings
MinShadowFalloffRadiusfloat
PreviewLightRadiusDrawLightRadiusComponentconst
PreviewLightSourceRadiusDrawLightRadiusComponentconst
Radiusfloat
ShadowFalloffExponentfloat
ShadowPlaneplaneconst
ShadowRadiusMultiplierfloat
Translationvectorconst

Functions

NameDeclaration
OnUpdatePropertyBrightnessfunction OnUpdatePropertyBrightness()
OnUpdatePropertyLightColorfunction OnUpdatePropertyLightColor()
SetTranslationfinal 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

FromMembers
LightComponent47 properties, 11 functions
ActorComponent7 properties, 4 functions
Component2 properties, 0 functions
Object13 properties, 308 functions