Vixen
02b45cc4
csharp
public readonly record struct TransitionSpec

What 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 Duration

    How long the crossfade takes, in seconds. Zero is a cut.

  • public BlendEasing Easing

    Its shape.

  • public SyncMode Sync

    How the incoming move's phase is chosen.

  • public BoneMask? Mask

    Which 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 Allowed

    Whether the transition may happen at all.

  • public static TransitionSpec Default

    The transition taken when nothing else matches.

  • public static TransitionSpec Forbidden

    A 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