csharp
public readonly record struct TransitionSpecWhat happens between two moves.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (7)
public float DurationHow long the crossfade takes, in seconds. Zero is a cut.
public BlendEasing EasingIts shape.
public SyncMode SyncHow the incoming move's phase is chosen.
public BoneMask? MaskWhich joints cross over, or for all of them. A mask is what makes an upper body change instantly while the legs take their time.
public bool AllowedWhether the transition may happen at all.
public static TransitionSpec DefaultThe transition taken when nothing else matches.
public static TransitionSpec ForbiddenA transition that may not be taken.
Methods (2)
public TransitionSpec(float Duration, BlendEasing Easing = Linear, SyncMode Sync = Phase, BoneMask? Mask = null, bool Allowed = true)What happens between two moves.
public float WeightAt(float elapsed)The blend weight partway through.
Used by (9)
- AskingTestPolicyVixen.Animation.Tests
- ITransitionPolicyVixen.Animation
- LoadPathTestsVixen.Animation.Tests
- MoveSetMotionVixen.Animation
- MoveTransitionTestsVixen.Animation.Tests
- RuleTransitionPolicyVixen.Animation
- SeamTestsVixen.Animation.Tests
- TransitionRuleVixen.Animation
- MoveSetImporterTestsVixen.Editor.Assets.Tests