Difference between revisions of "API Panel.Position.Animate"
From Flowcode Help
Jump to navigationJump to search (XML Import to change Variable types into Variable Types) |
|||
Line 30: | Line 30: | ||
==Detailed description== | ==Detailed description== | ||
− | '' | + | This call animates between two objects, storing the result in a third ''Dest'' position. It performs the operation in the background over a specified time. |
+ | |||
+ | [[File:SIMAPI Panel.Position.Morph.svg|350px|Interpolation from 0 to 1]] | ||
+ | |||
+ | |||
+ | The closely related [[API Panel.Position.Morph|Morph]] call performs this operation allowing for any point on the scale to be stepped to, but it must be called manually by the user to perform an animation. | ||
+ | |||
Revision as of 22:53, 14 June 2013
<sidebar>API contents</sidebar> Blends positions from two sources to a destination over time
Contents
Parameters
HANDLE Dest
- The position or component to update
HANDLE Start
- The initial position of the animation
HANDLE End
- The final position of the animation
UINT Millisecs
- Time to take to perform the animation
- The default value for this parameter is: 1000
Return value
This call does not return a value
Detailed description
This call animates between two objects, storing the result in a third Dest position. It performs the operation in the background over a specified time.
The closely related Morph call performs this operation allowing for any point on the scale to be stepped to, but it must be called manually by the user to perform an animation.
Examples
Calling in a calculation
- Add to a calculation icon:
::Panel.Position.Animate(dest, start, end, millisecs)
No additional information