SetCameraShakeFOV: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|SetCameraShakeFOV(FOVAmp, FOVFreq)}} {{FuncParameters}} {{FuncParam|FOVAmp|__EDIT_ME__}} {{FuncPar..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Set the camera shake's field of view.}} | ||
{{FuncSyntax|SetCameraShakeFOV(FOVAmp, FOVFreq)}} | {{FuncSyntax|SetCameraShakeFOV(FOVAmp, FOVFreq)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|FOVAmp| | {{FuncParam|FOVAmp|Set the FOV amplitude.}} | ||
{{FuncParam|FOVFreq| | {{FuncParam|FOVFreq|Set the FOV frequency.}} | ||
{{FuncReturnValue|__EDIT_ME__}} | {{FuncReturnValue|__EDIT_ME__}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua> | |||
SetCameraShakeFOV(5.0, 5.0) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{Template:CameraShakeFunctions}} |
Revision as of 13:27, 20 November 2019
Description
Set the camera shake's field of view.
Syntax
SetCameraShakeFOV(FOVAmp, FOVFreq)
Parameters
- FOVAmp
Set the FOV amplitude. - FOVFreq
Set the FOV frequency.
Return Value
- __EDIT_ME__
Example
SetCameraShakeFOV(5.0, 5.0)