Trajectory
(Engine-Level Function)
Description: | Move a Layered Graphic and return a Trajectory value. |
Returns: | Trajectory |
Usage: | Steady State only. |
Function Groups: | Graphics |
Related to: | Normalize | Path | Point |
Format: | Trajectory(Normalize, Path) |
Parameters: |
Normalize |
Required. Any expression that returns a Normalize value. This gives the low and high scales for the animation. |
Path |
Required. Any expression which returns a Path value, which specifies the path along which the object moves. |
Comments: |
A Trajectory is a combination of a Normalize value and a Path value, used to move a layered graphic statement along a path. When the Normalize value takes on its low scale value, the layered graphic statement appears at the beginning of the Path. When the Normalize value takes on its high scale value, the layered graphic statement appears at the end of the Path. This function must be called from within a window. For example, within a script application, it must be within the Graphics submodule. |
Example:
bucketTraj = Trajectory(Normalize(bucketPos, 0, 100), bucketPath);
If this Trajectory value is used in a Point, or in a layered graphics function, that graphic will move along the path bucketPath. If bucketPos is 0, the graphic will be displayed at the beginning of bucketPath. If bucketPos is 100, the graphic will be displayed at the end of bucketPath.