Arma Reforger Script API
|
This object implements a pseudorandom camera shake. More...
Public Member Functions | |
override void | Update (IEntity owner, float timeSlice) |
Update the shake progress by a single step. | |
void | SetParams (float linearMagnitude, float angularMagnitude, float inTime, float sustainTime, float outTime) |
override void | Start () |
First tick of the shake update. | |
override void | Clear () |
Clear progress of this shake. | |
Public Member Functions inherited from SCR_GenericCameraShakeProgress | |
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 | |
float | m_fCurrent |
float | m_fVelocity |
float | m_fMaxVelocity |
float | m_fLinearMagnitude |
float | m_fAngularMagnitude |
float | m_fInTime |
float | m_fSustainTime |
float | m_fOutTime |
float | m_fElapsedTime |
float | m_fDuration |
Protected Attributes inherited from SCR_GenericCameraShakeProgress | |
vector | m_vTranslation |
vector | m_vRotation |
float | m_fFovScale = 1.0 |
bool | m_bIsRunning |
This object implements a pseudorandom camera shake.
override void SCR_NoisyCameraShakeProgress.Clear | ( | ) |
Clear progress of this shake.
Implements SCR_GenericCameraShakeProgress.
void SCR_NoisyCameraShakeProgress.SetParams | ( | float | linearMagnitude, |
float | angularMagnitude, | ||
float | inTime, | ||
float | sustainTime, | ||
float | outTime | ||
) |
override void SCR_NoisyCameraShakeProgress.Start | ( | ) |
First tick of the shake update.
Implements SCR_BaseCameraShakeProgress.
override void SCR_NoisyCameraShakeProgress.Update | ( | IEntity | owner, |
float | timeSlice | ||
) |
Update the shake progress by a single step.
Implements SCR_BaseCameraShakeProgress.
Implemented in SCR_BuildingDestructionCameraShakeProgress.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |