Summary
A
FlexMotion
asset referencing multiple clips that can be played by a FlexMotionAnimator
.
Blending is done via the dedicated FlexMotionLayer
methods.
Syntax
[CreateAssetMenu(menuName = "FlexMotion/1D", fileName = "FlexMotion_1d_")]
public class FlexMotion1d : FlexMotion
Methods
Name | Return Value | Summary |
---|---|---|
ApplySettings |
void |
Applies the
FlexMotion asset settings to the provided FlexMotionLayer .
Inherited from FlexMotion
|
Apply |
void |
Applies the
FlexMotion asset specific settings of each implementation to the provided FlexMotionLayer .
|
GetAnimationClip |
AnimationClip |
Get a specific animation clip using an index. Use ClipCount() to iterate though every
AnimationClip .
|
GetAnimationClips |
AnimationClip[] |
Get the underlying animation clip array.
|
GetClipCount |
int |
Returns the number of AnimationClips referenced in that asset.
|
IsValid |
bool |
Checks if the asset has at least one valid
AnimationClip assigned to it.
Inherited from FlexMotion
|