API Panel.Position.Camera.SetEye

From Flowcode Help
Revision as of 15:57, 16 January 2014 by JonnyW (talk | contribs) (XML import)
Jump to navigationJump to search

<sidebar>API Contents</sidebar> Sets the eye point of the camera

Class hierarchy

Panel

Position
Camera
SetEye

Parameters

HANDLE Eye

The position of the eye to set the camera to

BOOL Animate

True to animate movement from the current position


Return value

This call does not return a value


Detailed description

This sets the position of the eye whilst maintaining the position of the target point. The Eye is used to set the coordinates, and establish an up-vector for orientation (which affects the roll around the vector from the eye to the target). Scale is ignored.


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.Position.Camera.SetEye(eye, true)

No additional examples