API Panel.Position.Camera.Spin

From Flowcode Help
Jump to navigationJump to search

<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