createOrbitAnimation
Create an OrbitAnimation object with the specified parameters.
Return
An OrbitAnimation object with the specified parameters.
Parameters
The name of the animation.
The duration of the animation in seconds.
The direction vector of the revolution axis (normalized internally).
The object's initial transform (position / rotation / scale) at animation start.
Whether the orbit proceeds in a clockwise direction.
If true, the object's orientation continuously aligns to the tangent of its orbital path (i.e., faces direction of motion).
Number of full revolutions during the entire animation duration.
The delay of the animation in seconds.
The repeat mode of the animation.
How many times an animation is repeated. Use INFINITE to repeat indefinitely, or a non-negative integer. For example, a value of 1 means that the animation is repeated once after the initial playback ends, so the animation plays a total of two times. The default value is 0, which means no repetition.
The offset of the animation in seconds.
The speed of the animation.
The start time of the trimmed animation in seconds.
The end time of the trimmed animation in seconds.
The duration of the trimmed animation in seconds.