RotationTrack

RotationTrack

new RotationTrack(values, smooth)

Create a new rotation track.
Parameters:
NameTypeDefaultDescription
valuesObject.<number, number>Values at time intervals
smoothbooleanfalseWhether the track should start and end smoothly/gradually (false by default)

Methods

update(actor, progress)

Update the animation track.
Parameters:
NameTypeDescription
actorActorActor to apply changes to
progressnumberPercentage of animation complete (0 - 1)