public sealed class ConstraintTagBufferWhere a frame's live clip constraints are collected.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The same shape as AnimationEventBuffer, and for the same reason: a tag becomes live in the middle of evaluating a blend tree, at a point where the pose is half-built and the layer stack is mid-flight. Collecting and reading afterwards is the only ordering the constraint stage can work with — it has to see every clip's contribution before it can decide what a chain does.
⚠ Weights add across clips, and this is where "a hand goal holds through a blend" comes from. Two clips at 0.6 and 0.4 that both carry the same authored contact contribute 0.6 and 0.4 of it; one that carries it and one that does not contribute 0.6 and nothing, and the goal simply weakens rather than disappearing when the second clip takes over. Neither case needs the stage to know that a transition is happening.
Fields and properties (2)
public int CountHow many tags are live.
public LiveConstraintTag this[int index]One of them.
Methods (4)
public void Add(in LiveConstraintTag tag)Records a live tag.
public void Collect(ConstraintTrack? track, float phase, float weight)Records every live tag in a track.
public void Clear()Empties the buffer, keeping its capacity.
public List<LiveConstraintTag>.Enumerator GetEnumerator()Walks this frame's live tags.
Used by (8)
- AnimatorVixen.Animation
- ClipMotionVixen.Animation
- ConstraintStackVixen.Animation
- ConstraintTestsVixen.Animation.Tests
- MotionContextVixen.Animation
- StateMachineInstanceVixen.Animation
- TrajectoryTestsVixen.Animation.Tests
- VariationHarnessVixen.Animation