SetCameraShakeRotation: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|SetCameraShakeRotation(PitchAmp, PitchFreq, YawAmp, YawFreq, RollAmp, RollFreq)}} {{FuncParameters..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Set the camera shake rotation properties.}} | ||
{{FuncSyntax|SetCameraShakeRotation(PitchAmp, PitchFreq, YawAmp, YawFreq, RollAmp, RollFreq)}} | {{FuncSyntax|SetCameraShakeRotation(PitchAmp, PitchFreq, YawAmp, YawFreq, RollAmp, RollFreq)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|PitchAmp| | {{FuncParam|PitchAmp|The pitch amplitude in floating point value.}} | ||
{{FuncParam|PitchFreq| | {{FuncParam|PitchFreq|The pitch frequency in floating point value.}} | ||
{{FuncParam|YawAmp| | {{FuncParam|YawAmp|The yaw amplitude in floating point value.}} | ||
{{FuncParam|YawFreq| | {{FuncParam|YawFreq|The yaw frequency in floating point value.}} | ||
{{FuncParam|RollAmp| | {{FuncParam|RollAmp|The rolling amplitude in floating point value.}} | ||
{{FuncParam|RollFreq| | {{FuncParam|RollFreq|The roll frequency in floating point value.}} | ||
{{FuncReturnValue|__EDIT_ME__}} | {{FuncReturnValue|__EDIT_ME__}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua> | |||
SetCameraShakeRotation(0.0, 0.0, 1.0, 10.0, 0.0, 0.0) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{Template:CameraShakeFunctions}} |
Revision as of 13:26, 20 November 2019
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
- __EDIT_ME__
Example
SetCameraShakeRotation(0.0, 0.0, 1.0, 10.0, 0.0, 0.0)