Arma Reforger Script API
|
Public Member Functions | |
bool | AttachTo (IEntity target) |
Attach camera to an entity. | |
void | Detach () |
Detach camera from its parent entity. | |
ScriptInvoker | GetOnAttachChange () |
Get event called when camera is attached or detached. | |
override void | EOnCameraSave (SCR_ManualCameraComponentSave data) |
Save persistent data. | |
override void | EOnCameraLoad (SCR_ManualCameraComponentSave data) |
Load persistent data. | |
override void | EOnCameraFrame (SCR_ManualCameraParam param) |
Evaluate the component every frame. | |
override bool | EOnCameraInit () |
Initialise the component. | |
override void | EOnCameraExit () |
Terminate the component. | |
Public Member Functions inherited from SCR_BaseManualCameraComponent | |
void | SetEnabled (bool enabled) |
Enable the component. | |
int | IsEnabled () |
Check if the component is enabled. | |
int | GetPriority () |
Get evaluation priority. | |
bool | HasFlag (EManualCameraFlag flag) |
Check if the required flag is active. | |
bool | InitBase (SCR_ManualCamera camera) |
void | EOnCameraReset () |
Camera value are reset. | |
void | EOnCameraParentChange (bool attached, IEntity parent) |
Terminate the component. | |
Protected Attributes | |
bool | m_bRotateWithTarget |
IEntity | m_Target |
SCR_AttachEntity | m_AttachHelper |
bool | m_bAttachChanged |
ref ScriptInvoker | m_OnAttachChange = new ScriptInvoker() |
Protected Attributes inherited from SCR_BaseManualCameraComponent | |
int | m_iPriority |
SCR_ManualCamera | m_Camera |
InputManager | m_InputManager |
Additional Inherited Members | |
Protected Member Functions inherited from SCR_BaseManualCameraComponent | |
SCR_ManualCamera | GetCameraEntity () |
InputManager | GetInputManager () |
vector | CoordToCamera (vector pos) |
vector | CoordFromCamera (vector pos) |
Attach camera to a target
bool SCR_AttachManualCameraComponent.AttachTo | ( | IEntity | target | ) |
Attach camera to an entity.
[in] | parent | Target entity |
void SCR_AttachManualCameraComponent.Detach | ( | ) |
Detach camera from its parent entity.
override void SCR_AttachManualCameraComponent.EOnCameraExit | ( | ) |
Terminate the component.
Implements SCR_BaseManualCameraComponent.
override void SCR_AttachManualCameraComponent.EOnCameraFrame | ( | SCR_ManualCameraParam | param | ) |
Evaluate the component every frame.
[in] | param | Object carrying camera properties |
Implements SCR_BaseManualCameraComponent.
override bool SCR_AttachManualCameraComponent.EOnCameraInit | ( | ) |
Initialise the component.
Implements SCR_BaseManualCameraComponent.
override void SCR_AttachManualCameraComponent.EOnCameraLoad | ( | SCR_ManualCameraComponentSave | data | ) |
override void SCR_AttachManualCameraComponent.EOnCameraSave | ( | SCR_ManualCameraComponentSave | data | ) |
ScriptInvoker SCR_AttachManualCameraComponent.GetOnAttachChange | ( | ) |
Get event called when camera is attached or detached.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |