Arma Reforger Script API
|
Public Member Functions | |
void | ScriptedCameraItem (CameraHandlerComponent pCameraHandler) |
override void | OnActivate (ScriptedCameraItem pPrevCamera, ScriptedCameraItemResult pPrevCameraResult) |
this overrides freelook for cameras | |
override void | OnBlendIn () |
override void | OnBlendOut () |
override void | OnUpdate (float pDt, out ScriptedCameraItemResult pOutResult) |
virtual callback - called each frame | |
void | OnAfterCameraUpdate (float pDt, bool pIsKeyframe, inout vector transformMS[4]) |
vector | GetBaseAngles () |
helper to blend between cameras ret[0] - up down angle ret[1] - left right angle ret[2] - roll | |
override void | SetBaseAngles (out vector angles) |
Sets the camera angles in DEG, useful when switching between cameras and changing orientation of the character. | |
float | GetBaseFOV () |
Public Member Functions inherited from BaseScriptedCameraItem | |
void | OnActivate (ScriptedCameraItem pPrevCamera, ScriptedCameraItemResult pPrevCameraResult) |
virtual callback - called when camera is created | |
void | OnDeactivate (ScriptedCameraItem pNextCamera) |
void | OnBlendIn () |
void | OnBlendOut () |
void | OnUpdate (float pDt, out ScriptedCameraItemResult pOutResult) |
virtual callback - called each frame | |
void | SetBaseAngles (out vector angles) |
Sets the camera angles in DEG, useful when switching between cameras and changing orientation of the character. | |
Protected Attributes | |
CameraHandlerComponent | m_CameraHandler |
data | |
void ScriptedCameraItem.ScriptedCameraItem | ( | CameraHandlerComponent | pCameraHandler | ) |
vector ScriptedCameraItem.GetBaseAngles | ( | ) |
helper to blend between cameras ret[0] - up down angle ret[1] - left right angle ret[2] - roll
Implemented in CharacterCameraBase.
float ScriptedCameraItem.GetBaseFOV | ( | ) |
override void ScriptedCameraItem.OnActivate | ( | ScriptedCameraItem | pPrevCamera, |
ScriptedCameraItemResult | pPrevCameraResult | ||
) |
this overrides freelook for cameras
virtual callback - called when camera is created
Implements BaseScriptedCameraItem.
Implemented in CharacterCameraADS, CharacterCameraBase, CharacterCameraBinoculars, CharacterCameraDebug, CharacterCamera1stPerson, CharacterCamera1stPersonTurret, CharacterCamera1stPersonVehicle, CharacterCamera1stPersonVehicleTransition, CharacterCamera3rdPersonBase, CharacterCamera3rdPersonTurret, and CharacterCamera3rdPersonVehicle.
void ScriptedCameraItem.OnAfterCameraUpdate | ( | float | pDt, |
bool | pIsKeyframe, | ||
inout vector | transformMS[4] | ||
) |
override void ScriptedCameraItem.OnBlendIn | ( | ) |
Implements BaseScriptedCameraItem.
Implemented in CharacterCameraADS, and CharacterCameraADSVehicle.
override void ScriptedCameraItem.OnBlendOut | ( | ) |
Implements BaseScriptedCameraItem.
Implemented in CharacterCameraADS, CharacterCameraADSVehicle, and CharacterCamera3rdPersonVehicle.
override void ScriptedCameraItem.OnUpdate | ( | float | pDt, |
out ScriptedCameraItemResult | pOutResult | ||
) |
virtual callback - called each frame
Implements BaseScriptedCameraItem.
Implemented in CharacterCameraADS, CharacterCameraADSVehicle, CharacterCameraBase, CharacterCameraBinoculars, CharacterCameraDebug, CharacterCamera1stPerson, CharacterCamera1stPersonBoneTransform, CharacterCamera1stPersonFloat, CharacterCamera1stPersonTurret, CharacterCamera1stPersonUnconscious, CharacterCamera1stPersonVehicle, CharacterCamera1stPersonVehicleTransition, CharacterCamera3rdPersonBase, CharacterCamera3rdPersonClimb, CharacterCamera3rdPersonCrouch, CharacterCamera3rdPersonErc, CharacterCamera3rdPersonFloat, CharacterCamera3rdPersonProne, CharacterCamera3rdPersonTurret, and CharacterCamera3rdPersonVehicle.
override void ScriptedCameraItem.SetBaseAngles | ( | out vector | angles | ) |
Sets the camera angles in DEG, useful when switching between cameras and changing orientation of the character.
Implements BaseScriptedCameraItem.
Implemented in CharacterCameraBase.
|
protected |
data
component owner