Vixen
02b45cc4
csharp
public sealed class ConstraintTag

A goal a clip carries, over a span of its own time.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ Over clip time, not wall time, and normalised. A clip played at 0.7 speed keeps its contacts where they were authored, and a retimed clip does not need re-marking. Both fall out of the span being a fraction of the clip rather than a number of seconds.

Weight is the product of three things, and all three are continuous, which is what makes the result continuous: the clip's own blend weight in the tree, this tag's activation from its span and easing, and any suppression a game system applied by label.

Fields and properties (6)

  • public required ConstraintGoal Goal

    What it asks for.

  • public float Begin

    Where in the clip it starts, in [0, 1].

  • public float End

    Where in the clip it ends, in [0, 1]. One is the whole clip.

  • public float EaseIn

    How much of the clip it takes to fade in, as a fraction.

  • public float EaseOut

    How much of the clip it takes to fade out, as a fraction.

  • public float MaxWeight

    The most of it that ever applies, in [0, 1].

Methods (1)

  • public float Activation(float phase)

    How much of the tag is live at a moment in the clip.

Used by (10)

  • AuthoringTestsVixen.Animation.Tests
  • ConstraintStackVixen.Animation
  • ConstraintTagBufferVixen.Animation
  • ConstraintTagRecordVixen.Animation
  • ConstraintTestsVixen.Animation.Tests
  • ConstraintTrackVixen.Animation
  • LiveConstraintTagVixen.Animation
  • PlaybackVixen.Animation
  • TrajectoryTestsVixen.Animation.Tests
  • AnimationClipDocumentVixen.Editor.AssetEditors