This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rotate_camera_over_time [2017/05/05 15:48] – justin | rotate_camera_over_time [2017/05/05 15:57] – justin | ||
---|---|---|---|
Line 3: | Line 3: | ||
Rotates the camera horizontally and/or vertically by the specified number of degrees over a period of time (in seconds). The angles are relative to the current view. | Rotates the camera horizontally and/or vertically by the specified number of degrees over a period of time (in seconds). The angles are relative to the current view. | ||
+ | |||
+ | <WRAP center round info 100%> | ||
+ | A positive horizontal angle will rotate the camera to the right and a negative horizontal angle will rotate the camera to the left. Likewise, a positive vertical angle will rotate the camera upwards and a negative vertical angle will rotate the camera downwards. | ||
+ | </ | ||
<code python> | <code python> | ||
Line 9: | Line 13: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |horizonal_angle|Description.|[[Decimal]]|Yes| | + | |horizonal_angle|Angle by which to rotate the camera left or right (in degrees).|[[Decimal]]|Yes| |
- | |vertical_angle|Description.|[[Decimal]]|Yes| | + | |vertical_angle|Angle by which to rotate the camera up or down (in degrees).|[[Decimal]]|Yes| |
- | |duration|Description.|[[Decimal]]|Yes| | + | |duration|Duration of the camera rotation (in seconds).|[[Decimal]]|Yes| |
====Example: | ====Example: |