Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SCR_BaseCameraShakeProgress Interface Reference

Interface for simulating individual camera shake(s). More...

Inheritance diagram for SCR_BaseCameraShakeProgress:
[legend]

Public Member Functions

bool IsRunning ()
 Is this shake.
 
sealed bool IsFinished ()
 Is this shake finished updating, should it be removed?
 
void Start ()
 First tick of the shake update.
 
void Update (IEntity owner, float timeSlice)
 Update the shake progress by a single step.
 
void Apply (inout vector transformMatrix[4], inout float fieldOfView)
 Apply the shake to camera matrix.
 
void Clear ()
 Clear progress of this shake.
 

Detailed Description

Interface for simulating individual camera shake(s).

Member Function Documentation

◆ Apply()

void SCR_BaseCameraShakeProgress.Apply ( inout vector  transformMatrix[4],
inout float  fieldOfView 
)

Apply the shake to camera matrix.

Parameters
transformMatrixInput/output camera matrix to apply transform to
fieldOfViewInput/otuput camera field of view in degrees

Implemented in SCR_GenericCameraShakeProgress.

◆ Clear()

void SCR_BaseCameraShakeProgress.Clear ( )

Clear progress of this shake.

Implemented in SCR_GenericCameraShakeProgress, and SCR_NoisyCameraShakeProgress.

◆ IsFinished()

sealed bool SCR_BaseCameraShakeProgress.IsFinished ( )

Is this shake finished updating, should it be removed?

◆ IsRunning()

bool SCR_BaseCameraShakeProgress.IsRunning ( )

◆ Start()

void SCR_BaseCameraShakeProgress.Start ( )

First tick of the shake update.

Implemented in SCR_NoisyCameraShakeProgress.

◆ Update()

void SCR_BaseCameraShakeProgress.Update ( IEntity  owner,
float  timeSlice 
)

Update the shake progress by a single step.

Implemented in SCR_NoisyCameraShakeProgress, SCR_RecoilCameraShakeProgress, and SCR_BuildingDestructionCameraShakeProgress.


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