AnimationPlayConfig

The configuration class for playing animations.

Constructors

Link copied to clipboard
constructor(transitionDuration: Float = 0.0f, transitionMode: AnimationTransitionMode = AnimationTransitionMode.DEFAULT, blendLayer: Int = -1, blendWeight: Float = 1.0f)

The constructor.

Properties

Link copied to clipboard
val blendLayer: Int

The blend layer value to use for playing the animation.

Link copied to clipboard
val blendWeight: Float

The blend weight value to use for playing the animation.

Link copied to clipboard

Transition duration in seconds. 0 means switch immediately, values greater than 0 will linearly blend from the current state to the target state over the specified time.

Link copied to clipboard

The transition mode value to use for playing the animation.