Arma Reforger Script API
|
Starting camera positions for the editor. More...
Public Member Functions | |
bool | GetRandomPosition (out vector transform[4]) |
Get random camera position from the list of pre-defined positions. | |
override void | _WB_OnContextMenu (IEntity owner, int id) |
override array< ref WB_UIMenuItem > | _WB_GetContextMenuItems (IEntity owner) |
override void | _WB_AfterWorldUpdate (IEntity owner, float timeSlice) |
Static Public Member Functions | |
static SCR_EditorCameraDefaultsComponent | GetInstance () |
Get instance o this component. | |
Protected Attributes | |
ref array< ref SCR_CameraCoordinates > | m_aPositions |
Starting camera positions for the editor.
override void SCR_EditorCameraDefaultsComponent._WB_AfterWorldUpdate | ( | IEntity | owner, |
float | timeSlice | ||
) |
override array< ref WB_UIMenuItem > SCR_EditorCameraDefaultsComponent._WB_GetContextMenuItems | ( | IEntity | owner | ) |
override void SCR_EditorCameraDefaultsComponent._WB_OnContextMenu | ( | IEntity | owner, |
int | id | ||
) |
|
static |
Get instance o this component.
It's first searched on BaseGameMode. If it's not found there, GenericWorldEntity is queried next.
bool SCR_EditorCameraDefaultsComponent.GetRandomPosition | ( | out vector | transform[4] | ) |
Get random camera position from the list of pre-defined positions.
[out] | transform | Transformation matrix |
|
protected |