Cam::renderScriptCams: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
ease - smooth transition between the camera's positions<br>easeTime - Time in milliseconds for the transition to happen<br><br>If you have created a script (rendering) camera, and want to go back to the <br>character (gameplay) camera, call this native with render set to 0.<br>Setting ease to 1 will smooth the transition.==Syntax==<syntaxhighlight lang="javascript">cam.renderScriptCams(render, ease, easeTime, p3, p4);</syntaxhighlight>=== Required Arguments ===*'''render:''' Boolean*'''ease:''' Boolean*'''easeTime:''' int*'''p3:''' Boolean*'''p4:''' Boolean===Return value===*'''Undefined'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{Cam_function_c}}[[Category:Clientside API]][[Category:TODO: Example]] | ease - smooth transition between the camera's positions<br>easeTime - Time in milliseconds for the transition to happen<br><br>If you have created a script (rendering) camera, and want to go back to the <br>character (gameplay) camera, call this native with render set to 0.<br>Setting ease to 1 will smooth the transition. | ||
==Syntax== | |||
<syntaxhighlight lang="javascript">cam.renderScriptCams(render, ease, easeTime, p3, p4);</syntaxhighlight> | |||
=== Required Arguments === | |||
*'''render:''' Boolean | |||
*'''ease:''' Boolean | |||
*'''easeTime:''' int | |||
*'''p3:''' Boolean | |||
*'''p4:''' Boolean | |||
===Return value=== | |||
*'''Undefined''' | |||
==Example== | |||
<syntaxhighlight lang="javascript"> | |||
todo | |||
</syntaxhighlight> | |||
==See also== | |||
{{Cam_function_c}} | |||
[[Category:Clientside API]] | |||
[[Category:TODO: Example]] | |||
Revision as of 19:54, 6 May 2017
ease - smooth transition between the camera's positions
easeTime - Time in milliseconds for the transition to happen
If you have created a script (rendering) camera, and want to go back to the
character (gameplay) camera, call this native with render set to 0.
Setting ease to 1 will smooth the transition.
Syntax
cam.renderScriptCams(render, ease, easeTime, p3, p4);
Required Arguments
- render: Boolean
- ease: Boolean
- easeTime: int
- p3: Boolean
- p4: Boolean
Return value
- Undefined
Example
todo