Difference between revisions of "API Panel.Position"
From Flowcode Help
Jump to navigationJump to search (XML import API changes) |
(XML import of new API docs) |
||
| Line 1: | Line 1: | ||
| + | |||
| + | |||
<sidebar>API contents</sidebar> | <sidebar>API contents</sidebar> | ||
Coordinate manipulation functions | Coordinate manipulation functions | ||
| Line 84: | Line 86: | ||
|- | |- | ||
|width="35%"|[[API Panel.Position.GetCoords|GetCoords]] | |width="35%"|[[API Panel.Position.GetCoords|GetCoords]] | ||
| − | |Returns the positions coordinates in | + | |Returns the positions coordinates in (X,Y,Z) array |
|- | |- | ||
|width="35%"|[[API Panel.Position.GetScale|GetScale]] | |width="35%"|[[API Panel.Position.GetScale|GetScale]] | ||
| − | |Returns the positions scale in | + | |Returns the positions scale in (X,Y,Z) array |
|- | |- | ||
|width="35%"|[[API Panel.Position.GetQuat|GetQuat]] | |width="35%"|[[API Panel.Position.GetQuat|GetQuat]] | ||
| − | |Returns the positions quaternion in | + | |Returns the positions quaternion in (X,Y,Z,W) array |
|- | |- | ||
|width="35%"|[[API Panel.Position.GetEuler|GetEuler]] | |width="35%"|[[API Panel.Position.GetEuler|GetEuler]] | ||
| − | |Returns the positions euler angles in | + | |Returns the positions euler angles in (P,Y,R) array |
|} | |} | ||
Revision as of 13:23, 22 May 2013
<sidebar>API contents</sidebar>
Coordinate manipulation functions
This class is contained within Panel.
Contents
Sub-classes provided for this class
| Math | Coordinate maths functions |
| Camera | Camera positioning |
Functions provided for this class
| Get | Gets a handle to an object representing the components current position |
| GetOrigin | Gets a handle to an empty position |
| Set | Sets an objects position based on a component or pre-defined position |
| SetCoords | Sets an objects coordinates based on a position |
| SetScale | Sets an objects scale based on a position |
| SetRotation | Sets an objects orientation based on a position |
| GetBox | Gets a handle to an object representing the components bounding box position |
| Morph | Blends positions from two sources to a destination |
| Animate | Blends positions from two sources to a destination over time |
| StopAnimate | Stops all animations started by this component |
| MoveAlong | Moves the object by the given offset relative to its parent along an axis |
| MoveBy | Moves the object by the given offset relative to its parent |
| MoveTo | Moves the object to the given coordinates relative to its parent |
| ScaleTo | Sets the objects scale to a value |
| ScaleUp | Multiplies the objects scale by a value |
| ScaleDown | Divides the objects scale by a value |
| RotateTo | Rotates the object to the given rotation |
| RotateAlong | Rotates the object by the given rotation along an axis |
| RotateX | Rotates the object around the X axis |
| RotateY | Rotates the object around the Y axis |
| RotateZ | Rotates the object around the Z axis |
| GetCoords | Returns the positions coordinates in (X,Y,Z) array |
| GetScale | Returns the positions scale in (X,Y,Z) array |
| GetQuat | Returns the positions quaternion in (X,Y,Z,W) array |
| GetEuler | Returns the positions euler angles in (P,Y,R) array |
Examples
No additional information
See also
No additional information