Arma Reforger Script API
|
Interface for simulating individual camera shake(s). More...
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. | |
Interface for simulating individual camera shake(s).
void SCR_BaseCameraShakeProgress.Apply | ( | inout vector | transformMatrix[4], |
inout float | fieldOfView | ||
) |
Apply the shake to camera matrix.
transformMatrix | Input/output camera matrix to apply transform to |
fieldOfView | Input/otuput camera field of view in degrees |
Implemented in SCR_GenericCameraShakeProgress.
void SCR_BaseCameraShakeProgress.Clear | ( | ) |
Clear progress of this shake.
Implemented in SCR_GenericCameraShakeProgress, and SCR_NoisyCameraShakeProgress.
sealed bool SCR_BaseCameraShakeProgress.IsFinished | ( | ) |
Is this shake finished updating, should it be removed?
bool SCR_BaseCameraShakeProgress.IsRunning | ( | ) |
Is this shake.
Implemented in SCR_GenericCameraShakeProgress, and SCR_RecoilCameraShakeProgress.
void SCR_BaseCameraShakeProgress.Start | ( | ) |
First tick of the shake update.
Implemented in SCR_NoisyCameraShakeProgress.
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.