Summary
A serializable class that represents a transition between two
FlexMotionLayer.
Syntax
[Serializable]
public struct FlexMotionTransition : ValueType
Constructors
| Name | Summary |
|---|---|
| FlexMotionTransition |
Constructor used to ensure proper default values in the inspector. |
Fields
| Name | Field Type | Summary |
|---|---|---|
| easing | Easing |
The easing function to use during the transition.
|
| time | float |
The duration of the transition.
|
Methods
| Name | Return Value | Summary |
|---|---|---|
| GetTransitionWeight |
float |
Computes the progression of a transition, returning a value between 0f and 1f that is typically used as a weight.
|
| SetEasing |
void |
Sets the easing function to use during the transition.
|
| SetTime |
void |
Sets the duration of the transition.
|