Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
SCR_EditorCameraDefaultsComponent Interface Reference

Starting camera positions for the editor. More...

Inheritance diagram for SCR_EditorCameraDefaultsComponent:
[legend]

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_CameraCoordinatesm_aPositions
 

Detailed Description

Starting camera positions for the editor.

Member Function Documentation

◆ _WB_AfterWorldUpdate()

override void SCR_EditorCameraDefaultsComponent._WB_AfterWorldUpdate ( IEntity  owner,
float  timeSlice 
)

◆ _WB_GetContextMenuItems()

override array< ref WB_UIMenuItem > SCR_EditorCameraDefaultsComponent._WB_GetContextMenuItems ( IEntity  owner)

◆ _WB_OnContextMenu()

override void SCR_EditorCameraDefaultsComponent._WB_OnContextMenu ( IEntity  owner,
int  id 
)

◆ GetInstance()

static SCR_EditorCameraDefaultsComponent SCR_EditorCameraDefaultsComponent.GetInstance ( )
static

Get instance o this component.

It's first searched on BaseGameMode. If it's not found there, GenericWorldEntity is queried next.

Returns
Component instance

◆ GetRandomPosition()

bool SCR_EditorCameraDefaultsComponent.GetRandomPosition ( out vector  transform[4])

Get random camera position from the list of pre-defined positions.

Parameters
[out]transformTransformation matrix
Returns
True if a position was found

Member Data Documentation

◆ m_aPositions

ref array<ref SCR_CameraCoordinates> SCR_EditorCameraDefaultsComponent.m_aPositions
protected

The documentation for this interface was generated from the following file: