Public Member Functions | |
void | RemoveView () |
Removes this View from the game. More... | |
void | LinkTo (Entity entity) |
Link this view to an Entity. More... | |
void | SetActive (bool active) |
Enable or disable this View as the active view. If a new view is activated the previous active view is deactivated. More... | |
void | ResetBlending () |
Resets the blendings that are currently active on this View. More... | |
void | ResetShaking () |
Resets all the shakes that are currently active on this View. More... | |
void | SetFrameAdditiveCameraAngles (Angles3 addFrameAngles) |
Set the additive camera angles for this View. More... | |
void | SetScale (float scale) |
Set the scale of this View. More... | |
void | SetViewShake (Angles3 shakeAngle, Vector3 shakeShift, float duration, float frequency, float randomness, int shakeId) |
Set new shake parameters for a new or existing shake on this View. More... | |
void | SetViewShake (Angles3 shakeAngle, Vector3 shakeShift, float duration, float frequency, float randomness, int shakeId, bool flipVector) |
Set new shake parameters for a new or existing shake on this View. More... | |
void | SetViewShake (Angles3 shakeAngle, Vector3 shakeShift, float duration, float frequency, float randomness, int shakeId, bool flipVector, bool updateOnly) |
Set new shake parameters for a new or existing shake on this View. More... | |
void | SetZoomedScale (float scale) |
Set the zoomed scale of this View. More... | |
void | StopShake (int shakeID) |
Stop a shake with the specified ID from shaking. More... | |
void | Update (float frameTime, bool isActive) |
Manually update this View. More... | |
Static Public Member Functions | |
static View | Create () |
Creates a new View that can be used to modify the camera-properties. More... | |
|
inline static |
|
inline |
|
inline |
Removes this View from the game.
|
inline |
Resets the blendings that are currently active on this View.
|
inline |
Resets all the shakes that are currently active on this View.
|
inline |
Enable or disable this View as the active view. If a new view is activated the previous active view is deactivated.
active | If set to true this will become the active view. If set to false this view will be set to inactive. |
|
inline |
Set the additive camera angles for this View.
addFrameAngles | Add frame angles. |
|
inline |
Set the scale of this View.
scale | Scale. |
Set new shake parameters for a new or existing shake on this View.
shakeAngle | The angle the view will shake to. |
shakeShift | The direction and magnitude of the shake. |
duration | Duration of the full shake. |
frequency | The time it takes for a single oscilation to complete. |
randomness | Amount of randomness that's added to the shake direction and angle. |
shakeId | ID of the Shake. If a shake with this ID already exists, it will be adjusted with the new parameters, otherwise a new shake is created. |
Set new shake parameters for a new or existing shake on this View.
shakeAngle | The angle the view will shake to. |
shakeShift | The direction and magnitude of the shake. |
duration | Duration of the full shake. |
frequency | The time it takes for a single oscilation to complete. |
randomness | Amount of randomness that's added to the shake direction and angle. |
shakeId | ID of the Shake. If a shake with this ID already exists, it will be adjusted with the new parameters, otherwise a new shake is created. |
flipVector | If set to true the direction and angle of the shake will be flipped after each oscilation. |
Set new shake parameters for a new or existing shake on this View.
shakeAngle | The angle the view will shake to. |
shakeShift | The direction and magnitude of the shake. |
duration | Duration of the full shake. |
frequency | The time it takes for a single oscilation to complete. |
randomness | Amount of randomness that's added to the shake direction and angle. |
shakeId | ID of the Shake. If a shake with this ID already exists, it will be adjusted with the new parameters, otherwise a new shake is created. |
flipVector | If set to true the direction and angle of the shake will be flipped after each oscilation. |
updateOnly | If set to true this will only update an existing shake. |
|
inline |
Set the zoomed scale of this View.
scale | Scale. |
|
inline |
Stop a shake with the specified ID from shaking.
shakeID | ID of the shake that needs to stop. |