public readonly ref struct ConstraintContextWhat 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 SkeletonThe skeleton being posed.
public required ReadOnlySpan<BoneTransform> ModelThe pose as it stands, in model space.
public required ConstraintBindings BindingsWho the other parties are.
public BoneTransform WorldTransformThe character's own place in the world, for bringing a world-space frame into model space.
public ProxyShapes? ShapesThe body's proxy shapes, or if it has none.
public AttachmentSockets? SocketsThe character's own attachment points, or if it has none.
public CameraView? ViewThe camera being solved, or when a pose is.
public float PhaseWhere in its clip the goal being resolved is, in [0, 1].
Methods (1)
public BoneTransform WorldToModel(in BoneTransform world)A world-space transform, in model space.
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