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

Public Member Functions

override void EOnCameraFrame (SCR_ManualCameraParam param)
 Evaluate the component every frame.
 
override bool EOnCameraInit ()
 Initialise 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 EOnCameraExit ()
 Terminate the component.
 
void EOnCameraReset ()
 Camera value are reset.
 
void EOnCameraParentChange (bool attached, IEntity parent)
 Terminate the component.
 
void EOnCameraSave (SCR_ManualCameraComponentSave data)
 Save persistent data.
 
void EOnCameraLoad (SCR_ManualCameraComponentSave data)
 Load persistent data.
 

Public Attributes

float m_fSpeedCoef
 
float m_fMinSpeed
 
float m_fMaxHeight
 

Additional Inherited Members

- Protected Member Functions inherited from SCR_BaseManualCameraComponent
SCR_ManualCamera GetCameraEntity ()
 
InputManager GetInputManager ()
 
vector CoordToCamera (vector pos)
 
vector CoordFromCamera (vector pos)
 
- Protected Attributes inherited from SCR_BaseManualCameraComponent
int m_iPriority
 
SCR_ManualCamera m_Camera
 
InputManager m_InputManager
 

Detailed Description

Camera speed based on height from terrain

Member Function Documentation

◆ EOnCameraFrame()

override void SCR_SpeedByHeightManualCameraComponent.EOnCameraFrame ( SCR_ManualCameraParam  param)

Evaluate the component every frame.

Parameters
[in]paramObject carrying camera properties

Implements SCR_BaseManualCameraComponent.

◆ EOnCameraInit()

override bool SCR_SpeedByHeightManualCameraComponent.EOnCameraInit ( )

Initialise the component.

Returns
True if the component should be evaluated every frame

Implements SCR_BaseManualCameraComponent.

Member Data Documentation

◆ m_fMaxHeight

float SCR_SpeedByHeightManualCameraComponent.m_fMaxHeight

◆ m_fMinSpeed

float SCR_SpeedByHeightManualCameraComponent.m_fMinSpeed

◆ m_fSpeedCoef

float SCR_SpeedByHeightManualCameraComponent.m_fSpeedCoef

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