Difference between revisions of "API Panel.Position.Camera.SetView"

From Flowcode Help
Jump to navigationJump to search
(XML import of API auto-gen)
(XML import)
Line 2: Line 2:
 
Sets the eye and target focal point of the camera
 
Sets the eye and target focal point of the camera
  
 +
<div style="width:25%; float:right" class="toc">
 +
===Class hierarchy===
 +
:Panel
 +
::Position
 +
:::Camera
 +
::::SetView
 +
</div>
 +
__TOC__
  
===Parameters===
+
==Parameters==
 
''[[Variable types|HANDLE]] Eye''
 
''[[Variable types|HANDLE]] Eye''
 
:The position of the eye to set the camera to
 
:The position of the eye to set the camera to
Line 13: Line 21:
 
:True to animate movement from the current position
 
:True to animate movement from the current position
  
===Return value===
+
==Return value==
 
''This call does not return a value''
 
''This call does not return a value''
  
===Detailed description===
+
==Detailed description==
 
''No additional information''
 
''No additional information''
  
===Examples===
+
==Examples==
====Calling in a calculation====
+
===Calling in a calculation===
* Add to a calculation icon: <pre class="brush:[C]">::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>

Revision as of 16:13, 11 May 2013

<sidebar>API contents</sidebar> Sets the eye and target focal point of the camera

Class hierarchy

Panel
Position
Camera
SetView

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)