Jump to content

API Panel.Position.Camera.Spin: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML import of updated API docs
JonnyW (talk | contribs)
No edit summary
Line 26: Line 26:


==Detailed description==
==Detailed description==
''<span style="color:red;">No additional information</span>''
This will rotate the camera along its viewing axis, maintaining the eye and target coordinates but altering the cameras perception of ''up'' by a rotation of ''Degrees''.





Revision as of 21:11, 21 June 2013


<sidebar>API contents</sidebar> Rotates the camera along its view axis

Class hierarchy

Panel

Position
Camera
Spin

Parameters

FLOAT Degrees

Number of degrees to spin in the Z axis

BOOL Animate

True to animate movement from the current position


Return value

This call does not return a value


Detailed description

This will rotate the camera along its viewing axis, maintaining the eye and target coordinates but altering the cameras perception of up by a rotation of Degrees.


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.Position.Camera.Spin(degrees, true)

No additional examples