Jump to content

API Panel.Position.Camera.SetTarget: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import API auto-gen
Admin (talk | contribs)
XML import of API auto-gen
Line 21: Line 21:
===Examples===
===Examples===
====Calling in a calculation====
====Calling in a calculation====
* Add to a calculation icon: ::Panel.Position.Camera.SetTarget(target, true, false)
* Add to a calculation icon: <pre class="brush:[C]">::Panel.Position.Camera.SetTarget(target, true, false)</pre>

Revision as of 15:35, 10 May 2013

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


Parameters

HANDLE Target

The target position to look at

BOOL UseAxis

True to apply the axis to the eye, else just use the coordinates

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.SetTarget(target, true, false)