Vixen
02b45cc4
csharp
public readonly ref struct ConstraintContext

What a frame has to look at to work out where it is.

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

Remarks

A ref struct because it carries the pose it is resolved against. Nothing may hold one past the resolve pass, which is exactly the guarantee wanted: a frame that cached the pose would be resolving against last frame's body.

Fields and properties (8)

  • public required Skeleton Skeleton

    The skeleton being posed.

  • public required ReadOnlySpan<BoneTransform> Model

    The pose as it stands, in model space.

  • public required ConstraintBindings Bindings

    Who the other parties are.

  • public BoneTransform WorldTransform

    The character's own place in the world, for bringing a world-space frame into model space.

  • public ProxyShapes? Shapes

    The body's proxy shapes, or if it has none.

  • public AttachmentSockets? Sockets

    The character's own attachment points, or if it has none.

  • public CameraView? View

    The camera being solved, or when a pose is.

  • public float Phase

    Where in its clip the goal being resolved is, in [0, 1].

Methods (1)

Used by (18)

  • AttachmentFrameVixen.Animation
  • AttachmentSocketVixen.Animation
  • AttachmentSocketsVixen.Animation
  • CameraConstraintsVixen.Animation
  • ConstraintStackVixen.Animation
  • EntityFrameVixen.Animation
  • IConstraintFrameVixen.Animation
  • JointFrameVixen.Animation
  • ModelTestFrameVixen.Animation.Tests
  • PlacementTestsVixen.Animation.Tests
  • ProvidedFrameVixen.Animation
  • ProxyShapeTestsVixen.Animation.Tests
  • ScreenFrameVixen.Animation
  • SocketFrameVixen.Animation
  • SurfaceFrameVixen.Animation
  • TrajectoryFrameVixen.Animation
  • TrajectoryTestsVixen.Animation.Tests
  • WorldFrameVixen.Animation