User Tools

Site Tools


reset_camera_over_time

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
reset_camera_over_time [2017/05/02 16:24] justinreset_camera_over_time [2021/04/21 18:43] (current) justin
Line 4: Line 4:
 Resets the camera to the default position/rotation over the specified duration (in seconds) then returns control of the camera to the player. Resets the camera to the default position/rotation over the specified duration (in seconds) then returns control of the camera to the player.
  
 +====Signature:====
 <code python> <code python>
 reset_camera_over_time(duration) reset_camera_over_time(duration)
Line 9: Line 10:
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-|duration|Duration of the reset (in seconds).|[[Decimal]]|Yes|+|duration|Duration of the reset (in seconds).|[[Number]]|Yes|
  
 ====Example:==== ====Example:====
-<code python+<code bauxite
-reset_camera_over_time(0.5)+reset_camera_over_time(0.5);
 </code> </code>
 //Results:// The camera returns to the default position and rotation over a duration of 0.5 seconds and is no longer locked. //Results:// The camera returns to the default position and rotation over a duration of 0.5 seconds and is no longer locked.
reset_camera_over_time.txt · Last modified: 2021/04/21 18:43 by justin