Easing Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Ease settings and functionality for animation with curves
public ref class Easing
[System.Serializable]
public class Easing
[<System.Serializable>]
type Easing = class
Public Class Easing
- Inheritance
-
Easing
- Attributes
Constructors
Easing() |
Fields
Curve |
The animation curve to use for the ease - default should be linear |
Enabled |
Is the ease enabled? |
LerpTime |
The amount of time the ease should run in seconds |
Methods
Copy() |
Create Easing object with copied internal properties |
GetCurved() |
get the ease value based on the animation curve |
GetLinear() |
get the linear ease value |
IsLinear() | |
IsPlaying() |
Is the ease currently running? |
OnUpdate() |
Update the ease each frame or on Update |
SetCurve(Easing+BasicEaseCurves) |
set the animation curve using a preset |
Start() |
start the ease if enabled |
Stop() |
stop the ease |