Skip to content

SpotLightComponent

Class in Engine · Engine.SpotLightComponent · native, editinlinenew

Object › Component › ActorComponent › LightComponent › PointLightComponent › SpotLightComponent

Subclasses: DominantSpotLightComponent

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

Properties

NameTypeNotes
InnerConeAnglefloat
LightShaftConeAnglefloat
OuterConeAnglefloat
PreviewInnerConeDrawLightConeComponentconst
PreviewOuterConeDrawLightConeComponentconst
Rotationrotatorconst

Functions

NameDeclaration
SetRotationfinal native function SetRotation(rotator NewRotation)

Default values

InnerConeAngle=0
OuterConeAngle=44
LightShaftConeAngle=89

Inherited

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