Difference between revisions of "API Panel.Position"
From Flowcode Help
Jump to navigationJump to search (XML import of API auto-gen) |
(XML import API auto-gen) |
||
Line 1: | Line 1: | ||
wiki page name | wiki page name | ||
− | + | Coordinate manipulation functions | |
− | |||
− | |||
===Functions provided for this class=== | ===Functions provided for this class=== | ||
{||-|[[API Panel.Position.Get|Get]]|Gets a handle to an object representing the components current position|-|[[API Panel.Position.GetOrigin|GetOrigin]]|Gets a handle to an empty position|-|[[API Panel.Position.Set|Set]]|Sets an objects position based on a component or pre-defined position|-|[[API Panel.Position.SetCoords|SetCoords]]|Sets an objects coordinates based on a position|-|[[API Panel.Position.SetScale|SetScale]]|Sets an objects scale based on a position|-|[[API Panel.Position.SetRotation|SetRotation]]|Sets an objects orientation based on a position|-|[[API Panel.Position.GetBox|GetBox]]|Gets a handle to an object representing the components bounding box position|-|[[API Panel.Position.Morph|Morph]]|Blends positions from two sources to a destination|-|[[API Panel.Position.Animate|Animate]]|Blends positions from two sources to a destination over time|-|[[API Panel.Position.StopAnimate|StopAnimate]]|Stops all animations started by this component|-|[[API Panel.Position.MoveAlong|MoveAlong]]|Moves the object by the given offset relative to its parent along an axis|-|[[API Panel.Position.MoveBy|MoveBy]]|Moves the object by the given offset relative to its parent|-|[[API Panel.Position.MoveTo|MoveTo]]|Moves the object to the given coordinates relative to its parent|-|[[API Panel.Position.ScaleTo|ScaleTo]]|Sets the objects scale to a value|-|[[API Panel.Position.ScaleUp|ScaleUp]]|Multiplies the objects scale by a value|-|[[API Panel.Position.ScaleDown|ScaleDown]]|Divides the objects scale by a value|-|[[API Panel.Position.RotateTo|RotateTo]]|Rotates the object to the given rotation|-|[[API Panel.Position.RotateAlong|RotateAlong]]|Rotates the object by the given rotation along an axis|-|[[API Panel.Position.RotateX|RotateX]]|Rotates the object around the X axis|-|[[API Panel.Position.RotateY|RotateY]]|Rotates the object around the Y axis|-|[[API Panel.Position.RotateZ|RotateZ]]|Rotates the object around the Z axis|-|[[API Panel.Position.GetCoords|GetCoords]]|Returns the positions coordinates in {X,Y,Z} array|-|[[API Panel.Position.GetScale|GetScale]]|Returns the positions scale in {X,Y,Z} array|-|[[API Panel.Position.GetQuat|GetQuat]]|Returns the positions quaternion in {X,Y,Z,W} array|-|[[API Panel.Position.GetEuler|GetEuler]]|Returns the positions euler angles in {P,Y,R} array|-|[[API Panel.Position.Math|Math]]|Coordinate maths functions|-|[[API Panel.Position.Camera|Camera]]|Camera positioning|} | {||-|[[API Panel.Position.Get|Get]]|Gets a handle to an object representing the components current position|-|[[API Panel.Position.GetOrigin|GetOrigin]]|Gets a handle to an empty position|-|[[API Panel.Position.Set|Set]]|Sets an objects position based on a component or pre-defined position|-|[[API Panel.Position.SetCoords|SetCoords]]|Sets an objects coordinates based on a position|-|[[API Panel.Position.SetScale|SetScale]]|Sets an objects scale based on a position|-|[[API Panel.Position.SetRotation|SetRotation]]|Sets an objects orientation based on a position|-|[[API Panel.Position.GetBox|GetBox]]|Gets a handle to an object representing the components bounding box position|-|[[API Panel.Position.Morph|Morph]]|Blends positions from two sources to a destination|-|[[API Panel.Position.Animate|Animate]]|Blends positions from two sources to a destination over time|-|[[API Panel.Position.StopAnimate|StopAnimate]]|Stops all animations started by this component|-|[[API Panel.Position.MoveAlong|MoveAlong]]|Moves the object by the given offset relative to its parent along an axis|-|[[API Panel.Position.MoveBy|MoveBy]]|Moves the object by the given offset relative to its parent|-|[[API Panel.Position.MoveTo|MoveTo]]|Moves the object to the given coordinates relative to its parent|-|[[API Panel.Position.ScaleTo|ScaleTo]]|Sets the objects scale to a value|-|[[API Panel.Position.ScaleUp|ScaleUp]]|Multiplies the objects scale by a value|-|[[API Panel.Position.ScaleDown|ScaleDown]]|Divides the objects scale by a value|-|[[API Panel.Position.RotateTo|RotateTo]]|Rotates the object to the given rotation|-|[[API Panel.Position.RotateAlong|RotateAlong]]|Rotates the object by the given rotation along an axis|-|[[API Panel.Position.RotateX|RotateX]]|Rotates the object around the X axis|-|[[API Panel.Position.RotateY|RotateY]]|Rotates the object around the Y axis|-|[[API Panel.Position.RotateZ|RotateZ]]|Rotates the object around the Z axis|-|[[API Panel.Position.GetCoords|GetCoords]]|Returns the positions coordinates in {X,Y,Z} array|-|[[API Panel.Position.GetScale|GetScale]]|Returns the positions scale in {X,Y,Z} array|-|[[API Panel.Position.GetQuat|GetQuat]]|Returns the positions quaternion in {X,Y,Z,W} array|-|[[API Panel.Position.GetEuler|GetEuler]]|Returns the positions euler angles in {P,Y,R} array|-|[[API Panel.Position.Math|Math]]|Coordinate maths functions|-|[[API Panel.Position.Camera|Camera]]|Camera positioning|} | ||
===Examples=== | ===Examples=== |
Revision as of 15:34, 10 May 2013
wiki page name Coordinate manipulation functions