Arma Reforger Script API
|
This object implements generic way of applying camera shake, but does not implement any shaking by itself. More...
Public Member Functions | |
override bool | IsRunning () |
Is this shake. | |
override void | Apply (inout vector transformMatrix[4], inout float fieldOfView) |
Apply the shake to camera matrix. | |
override void | Clear () |
Clear progress of this shake. | |
Public Member Functions inherited from SCR_BaseCameraShakeProgress | |
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. | |
Protected Attributes | |
vector | m_vTranslation |
vector | m_vRotation |
float | m_fFovScale = 1.0 |
bool | m_bIsRunning |
This object implements generic way of applying camera shake, but does not implement any shaking by itself.
override void SCR_GenericCameraShakeProgress.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 |
Implements SCR_BaseCameraShakeProgress.
override void SCR_GenericCameraShakeProgress.Clear | ( | ) |
Clear progress of this shake.
Implements SCR_BaseCameraShakeProgress.
Implemented in SCR_NoisyCameraShakeProgress.
override bool SCR_GenericCameraShakeProgress.IsRunning | ( | ) |
Is this shake.
Implements SCR_BaseCameraShakeProgress.
Implemented in SCR_RecoilCameraShakeProgress.
|
protected |
|
protected |
|
protected |
|
protected |