|
void | OnInit (IEntity owner) |
| Called during EOnInit.
|
|
void | OnFrame (IEntity owner, float timeSlice) |
| Called during EOnFrame.
|
|
◆ FindLight()
proto external BaseLightSlot BaseLightManagerComponent.FindLight |
( |
int |
lightID | ) |
|
Searches for Light by ID.
◆ GetEmissiveSurfaces()
proto external int BaseLightManagerComponent.GetEmissiveSurfaces |
( |
out notnull array< EmissiveLightSurfaceSlot > |
outSurfaces | ) |
|
◆ GetLights()
proto external int BaseLightManagerComponent.GetLights |
( |
out notnull array< BaseLightSlot > |
outLights | ) |
|
Returns a list and count of all lights.
◆ GetLightsEnabled()
proto external bool BaseLightManagerComponent.GetLightsEnabled |
( |
| ) |
|
Gets the enable flag (all lights)
◆ GetLightsState()
proto external bool BaseLightManagerComponent.GetLightsState |
( |
ELightType |
type, |
|
|
int |
side = -1 |
|
) |
| |
Gets the state flag for given type.
◆ OnFrame()
void BaseLightManagerComponent.OnFrame |
( |
IEntity |
owner, |
|
|
float |
timeSlice |
|
) |
| |
|
protected |
Called during EOnFrame.
- Parameters
-
owner | Entity this component is attached to. |
timeSlice | Delta time since last update. |
◆ OnInit()
void BaseLightManagerComponent.OnInit |
( |
IEntity |
owner | ) |
|
|
protected |
Called during EOnInit.
- Parameters
-
owner | Entity this component is attached to. |
◆ SetLightsState()
proto external void BaseLightManagerComponent.SetLightsState |
( |
ELightType |
type, |
|
|
bool |
state = false , |
|
|
int |
side = -1 |
|
) |
| |
Sets the state flag for given type.
◆ TrySetSurfaceFunctional()
proto external bool BaseLightManagerComponent.TrySetSurfaceFunctional |
( |
int |
surfaceID, |
|
|
bool |
functiona |
|
) |
| |
Changes functional state of light surface and all linked lights for provided surface id, return true on success.
The documentation for this interface was generated from the following file:
- Game/generated/Components/BaseLightManagerComponent.c