The RotationAnimationStep animates the rotation value of a the first
rotation component in a Transform.
To rotate from a start rotation to a target rotation use the
start, delta and/or target properties.
If start is not defined, the current rotation angle (when the animation
is started) will be used as start.
Either target or delta (from start) can be used to define the target.
The animation can either move to the target with a duration, or the
duration can be determined by a velocity.
Rotation animation targets can also be created with velocity, start and
duration. In this case, the rotation angles will grow with velocity. If
duration is null, then rotation duration will continue indefinitely until
the animation is cancelled.
RotationAnimationStep step options object.
The RotationAnimationStep animates the rotation value of a the first rotation component in a Transform.
To rotate from a
startrotation to atargetrotation use thestart,deltaand/ortargetproperties.If
startis not defined, the current rotation angle (when the animation is started) will be used asstart.Either
targetordelta(from start) can be used to define the target.The animation can either move to the target with a
duration, or thedurationcan be determined by avelocity.Rotation animation targets can also be created with
velocity,startandduration. In this case, the rotation angles will grow withvelocity. Ifdurationis null, then rotation duration will continue indefinitely until the animation is cancelled.See
RotationAnimationStep for description and examples