Difference between revisions of "API Panel.Position.SetRotation"
From Flowcode Help
Jump to navigationJump to search (XML Import to change Variable types into Variable Types) |
|||
Line 23: | Line 23: | ||
==Detailed description== | ==Detailed description== | ||
− | '' | + | This is equivalent to the call to [[API Panel.Position.Set|Set]], except that the ''coordinates'' and ''scale'' of the position are omitted. These may be set with [[API Panel.Position.SetCoords|SetCoords]] and [[API Panel.Position.SetScale|SetScale]]. |
+ | |||
+ | |||
+ | This call is useful for building up a position from multiple sources. | ||
+ | |||
+ | |||
Revision as of 23:53, 13 June 2013
<sidebar>API contents</sidebar> Sets an objects orientation based on a position
Contents
Parameters
HANDLE Dest
- The position or component to update
HANDLE Source
- The position or component to read from
Return value
This call does not return a value
Detailed description
This is equivalent to the call to Set, except that the coordinates and scale of the position are omitted. These may be set with SetCoords and SetScale.
This call is useful for building up a position from multiple sources.
Examples
Calling in a calculation
- Add to a calculation icon:
::Panel.Position.SetRotation(dest, source)
No additional information