public record class TrajectoryFrameA frame that moves through a clip.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A wrapper rather than a sixth kind of frame, because "this goal moves" is orthogonal to "this goal is on a socket" — and every combination of the two is one somebody wants. A trajectory over a SurfaceFrame is a hand sliding along a rail; over a EntityFrame it is a hand tracking a thrown object; over a WorldFrame it is a scripted reach.
⚠ The base frame is resolved live and only the offset is replayed. The authored origin polyline is not played back — a rail that has moved since the clip was captured is the ordinary case, and replaying where it used to be would put the hand in the air.
Fields and properties (2)
public IConstraintFrame BaseWhere the goal is, resolved live every frame.
public GoalTrajectory PathHow it moves.
Methods (2)
public TrajectoryFrame(IConstraintFrame Base, GoalTrajectory Path)A frame that moves through a clip.
public bool TryResolve(in ConstraintContext context, out Frame frame)Works out where the frame is.
Used by (1)
- TrajectoryTestsVixen.Animation.Tests