|
Arma Reforger Script API
|
Create a light on camera position. More...
Public Member Functions | |
| void | ToggleLight () |
| Toggle camera light. | |
| void | SetLight (bool enable, bool noSound=false) |
| Set camera light. | |
| bool | IsLightOn () |
| ScriptInvoker | GetOnLightChanged () |
| Get current light change ScriptInvoker which is called if Light is turned on/off. | |
| 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 Member Functions | |
| void | OnInputDeviceIsGamepad (bool isGamepad) |
| void | CameraLightIntensityUpdate (vector cameraTransform[4]) |
| void | PointingLightTransformUpdateKeyboard (SCR_ManualCameraParam param) |
| void | PointingLightTransformUpdateGamepad (SCR_ManualCameraParam param) |
| void | PointingLightTransformUpdate (SCR_ManualCameraParam param, vector pointingPosition, float cameraHeightBeforeDeatach, float lightDetachDistanceSq) |
| vector | GetCursorWorldPosition () |
| vector | GetCameraCenterRayCastPosition () |
Protected Member Functions inherited from SCR_BaseManualCameraComponent | |
| SCR_ManualCamera | GetCameraEntity () |
| InputManager | GetInputManager () |
| vector | CoordToCamera (vector pos) |
| vector | CoordFromCamera (vector pos) |
Create a light on camera position.
|
protected |
| override void SCR_LightManualCameraComponent.EOnCameraExit | ( | ) |
Terminate the component.
Implements SCR_BaseManualCameraComponent.
| override void SCR_LightManualCameraComponent.EOnCameraFrame | ( | SCR_ManualCameraParam | param | ) |
Evaluate the component every frame.
| [in] | param | Object carrying camera properties |
Implements SCR_BaseManualCameraComponent.
| override bool SCR_LightManualCameraComponent.EOnCameraInit | ( | ) |
Initialise the component.
Implements SCR_BaseManualCameraComponent.
| override void SCR_LightManualCameraComponent.EOnCameraLoad | ( | SCR_ManualCameraComponentSave | data | ) |
| override void SCR_LightManualCameraComponent.EOnCameraSave | ( | SCR_ManualCameraComponentSave | data | ) |
|
protected |
|
protected |
| ScriptInvoker SCR_LightManualCameraComponent.GetOnLightChanged | ( | ) |
Get current light change ScriptInvoker which is called if Light is turned on/off.
| bool SCR_LightManualCameraComponent.IsLightOn | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
| void SCR_LightManualCameraComponent.SetLight | ( | bool | enable, |
| bool | noSound = false ) |
Set camera light.
| [in] | enable | True to turn on the light, false to turn it off |
| [in] | noSound | True to prevent the sound from being played. |
| void SCR_LightManualCameraComponent.ToggleLight | ( | ) |
Toggle camera light.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |