Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
ScriptedCameraItem Interface Reference
Inheritance diagram for ScriptedCameraItem:
[legend]

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
 

Constructor & Destructor Documentation

◆ ScriptedCameraItem()

void ScriptedCameraItem.ScriptedCameraItem ( CameraHandlerComponent  pCameraHandler)

Member Function Documentation

◆ GetBaseAngles()

vector ScriptedCameraItem.GetBaseAngles ( )

helper to blend between cameras ret[0] - up down angle ret[1] - left right angle ret[2] - roll

Implemented in CharacterCameraBase.

◆ GetBaseFOV()

float ScriptedCameraItem.GetBaseFOV ( )

◆ OnActivate()

override void ScriptedCameraItem.OnActivate ( ScriptedCameraItem  pPrevCamera,
ScriptedCameraItemResult  pPrevCameraResult 
)

◆ OnAfterCameraUpdate()

void ScriptedCameraItem.OnAfterCameraUpdate ( float  pDt,
bool  pIsKeyframe,
inout vector  transformMS[4] 
)

◆ OnBlendIn()

override void ScriptedCameraItem.OnBlendIn ( )

◆ OnBlendOut()

override void ScriptedCameraItem.OnBlendOut ( )

◆ OnUpdate()

override void ScriptedCameraItem.OnUpdate ( float  pDt,
out ScriptedCameraItemResult  pOutResult 
)

◆ SetBaseAngles()

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.

Member Data Documentation

◆ m_CameraHandler

CameraHandlerComponent ScriptedCameraItem.m_CameraHandler
protected

data

component owner


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