AnimationPlayConfig
The constructor.
Parameters
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. - Negative values are clamped to 0f.
The transition mode used for playing the animation. When set to AnimationTransitionMode.DEFAULT, skeletal animations will use the CROSSFADE mode, while other animations will use the COMPOSE mode.
The blend layer used for playing the animation. A value of -1 means the animation is played on the default blend layer.
The blend weight used for playing the animation. Controls how much this animation contributes to the final blended result. Valid range is 0, 1, values outside the range will be clamped, and the default value 1 means full contribution.