Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
BaseLightManagerComponent Interface Reference
Inheritance diagram for BaseLightManagerComponent:
[legend]

Public Member Functions

proto external bool GetLightsEnabled ()
 Gets the enable flag (all lights)
 
proto external void SetLightsState (ELightType type, bool state=false, int side=-1)
 Sets the state flag for given type.
 
proto external bool GetLightsState (ELightType type, int side=-1)
 Gets the state flag for given type.
 
proto external BaseLightSlot FindLight (int lightID)
 Searches for Light by ID.
 
proto external int GetLights (out notnull array< BaseLightSlot > outLights)
 Returns a list and count of all lights.
 
proto external bool TrySetSurfaceFunctional (int surfaceID, bool functiona)
 Changes functional state of light surface and all linked lights for provided surface id, return true on success.
 
proto external int GetEmissiveSurfaces (out notnull array< EmissiveLightSurfaceSlot > outSurfaces)
 
- Public Member Functions inherited from GameComponent
bool OnTicksOnRemoteProxy ()
 

Protected Member Functions

void OnInit (IEntity owner)
 Called during EOnInit.
 
void OnFrame (IEntity owner, float timeSlice)
 Called during EOnFrame.
 

Member Function Documentation

◆ 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
ownerEntity this component is attached to.
timeSliceDelta time since last update.

◆ OnInit()

void BaseLightManagerComponent.OnInit ( IEntity  owner)
protected

Called during EOnInit.

Parameters
ownerEntity 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: