Difference between revisions of "API Panel.Position.Camera.SetView"
From Flowcode Help
Jump to navigationJump to search (XML import) |
(XML import) |
||
Line 3: | Line 3: | ||
<div style="width:25%; float:right" class="toc"> | <div style="width:25%; float:right" class="toc"> | ||
− | ===Class hierarchy===[[API Panel|Panel]] | + | ====Class hierarchy==== |
+ | [[API Panel|Panel]] | ||
:[[API Panel.Position|Position]] | :[[API Panel.Position|Position]] | ||
::[[API Panel.Position.Camera|Camera]] | ::[[API Panel.Position.Camera|Camera]] | ||
Line 11: | Line 12: | ||
==Parameters== | ==Parameters== | ||
− | + | [[Variable types|HANDLE]] ''Eye'' | |
:The position of the eye to set the camera to | :The position of the eye to set the camera to | ||
− | + | [[Variable types|FLOAT]] ''FocalRange'' | |
:The distance the target will be from the eye | :The distance the target will be from the eye | ||
− | + | [[Variable types|BOOL]] ''Animate'' | |
:True to animate movement from the current position | :True to animate movement from the current position | ||
Line 24: | Line 25: | ||
==Detailed description== | ==Detailed description== | ||
− | ''No additional information'' | + | ''<span style="color:red;">No additional information</span>'' |
+ | |||
==Examples== | ==Examples== | ||
===Calling in a calculation=== | ===Calling in a calculation=== | ||
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Position.Camera.SetView(eye, focalrange, false)</pre> | * Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Position.Camera.SetView(eye, focalrange, false)</pre> | ||
+ | |||
+ | ''<span style="color:red;">No additional information</span>'' |
Revision as of 22:08, 11 May 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
No additional information
Examples
Calling in a calculation
- Add to a calculation icon:
::Panel.Position.Camera.SetView(eye, focalrange, false)
No additional information