SetCameraShakeRotation

From Onset Developer Wiki
Revision as of 18:31, 30 August 2020 by BlueMountains (talk | contribs)
SetCameraShakeRotation

Type: Function
Context: Client
Introduced: v1.0

Description

Set the camera shake rotation properties.

Syntax

SetCameraShakeRotation(PitchAmp, PitchFreq, YawAmp, YawFreq, RollAmp, RollFreq)

Parameters

  • PitchAmp
    The pitch amplitude in floating point value.
  • PitchFreq
    The pitch frequency in floating point value.
  • YawAmp
    The yaw amplitude in floating point value.
  • YawFreq
    The yaw frequency in floating point value.
  • RollAmp
    The rolling amplitude in floating point value.
  • RollFreq
    The roll frequency in floating point value.

Return Value

  • Returns true on success.

Example

SetCameraShakeRotation(0.0, 0.0, 1.0, 10.0, 0.0, 0.0)

See also