Vixen
02b45cc4
csharp
public record class EntityFrame

Whatever is bound to a named slot.

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

Remarks

A clip's constraints name slots, so the same clip works against whatever is bound. Same pattern as a UI data context.

Fields and properties (2)

  • public Symbol Slot

    The slot — "held-item", "look-target".

  • public BoneTransform Offset

    Where, relative to it.

Methods (3)

  • public EntityFrame(Symbol Slot, BoneTransform Offset)

    Whatever is bound to a named slot.

  • public EntityFrame(string slot)

    A slot by name.

  • public bool TryResolve(in ConstraintContext context, out Frame frame)

    Works out where the frame is.

Used by (4)

  • AuthoringTestsVixen.Animation.Tests
  • ConstraintFrameRecordVixen.Animation
  • ConstraintTestsVixen.Animation.Tests
  • GizmoTestsVixen.Animation.Tests