Difference between revisions of "API Panel.Position.Camera.SetView"
From Flowcode Help
Jump to navigationJump to search (XML import of updated API docs) |
|||
Line 29: | Line 29: | ||
==Detailed description== | ==Detailed description== | ||
− | '' | + | This call is the equivalent of calling both the [[API Panel.Position.Camera.SetEye|SetEye]] and [[API Panel.Position.Camera.SetTarget|SetTarget]] calls. |
+ | |||
+ | |||
+ | The ''Eye'' is explicitly defined, and the target is calculated as ''FocalRange'' world-space units along the Z axis of the ''Eye'' position. | ||
Revision as of 20:56, 21 June 2013
<sidebar>API contents</sidebar>
Sets the eye and target focal point of the camera
Contents
Parameters
HANDLE Eye
- The position of the eye to set the camera to
FLOAT FocalRange
- The distance the target will be from the eye
BOOL Animate
- True to animate movement from the current position
Return value
This call does not return a value
Detailed description
This call is the equivalent of calling both the SetEye and SetTarget calls.
The Eye is explicitly defined, and the target is calculated as FocalRange world-space units along the Z axis of the Eye position.
Examples
Calling in a calculation
- Add to a calculation icon:
::Panel.Position.Camera.SetView(eye, focalrange, false)
No additional examples