Specifies the animation function used by an Animation object.
Namespace: MindFusion.Animations
File: Enum.js
JavaScript Copy Code |
---|
// enum |
Member name | Description | |
---|---|---|
BackBow |
Represents an effect that simulates a retraction in the motion of the animation. The amplitude of the retraction can be controlled through the Animation's param property. The default param value is 1.5; |
|
Bounce |
Represents a bouncing effect animation. |
|
Circular |
Represents an animation that accelerates/deccelerates using a circular function. |
|
Custom |
Specifies a user-set function. When this value is used the actual animation function must be set through the Animation's custom function callback. |
|
Elastic |
Represents an oscillating effect animation. The oscillation frequency can be controlled through the Animation's param property. The default param value is 0.5; |
|
Exponential |
Represents an animation that accelerates/deccelerates using an exponential function. The exponent can be set through the Animation's param property. The default exponent equals 10. |
|
Linear |
Represents an animation that accelerates/deccelerates using a linear function. |
|
Power |
Represents an animation that accelerates/deccelerates through exponentiation formula - x^n where n can be set through the Animation's param property. The default exponent equals 2. |
Members of this enumeration can be assigned to the animationType property of Animation.