Skip to content

Light

Class in Engine · Engine.Light · native

Object › Actor › Light

Subclasses: DirectionalLight, PointLight, SkyLight, SpotLight, StaticLightCollectionActor

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

Properties

NameTypeNotes
bEnabledboolrepnotify
LightComponentLightComponentconst, editconst

Functions

NameDeclaration
OnTogglesimulated function OnToggle(SeqAct_Toggle action)
ReplicatedEventsimulated event ReplicatedEvent(name VarName)

Default values

bStatic=TRUE
bHidden=TRUE
bNoDelete=TRUE
bMovable=FALSE
bRouteBeginPlayEvenIfStatic=FALSE
bEdShouldSnap=FALSE

Inherited

FromMembers
Actor156 properties, 262 functions
Object13 properties, 308 functions