SetCameraShakeRotation: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
Line 13: Line 13:
{{FuncParam|RollFreq|The roll frequency in floating point value.}}
{{FuncParam|RollFreq|The roll frequency in floating point value.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns '''true''' on success.}}


== Example ==
== Example ==

Revision as of 18:31, 30 August 2020

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