public sealed class CameraConstraintsEvery goal a camera is under, solved as one rigid body after its shot.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ This extends the virtual-camera system and does not compete with it. A shot still decides where the camera is and what it looks at; the director still picks and blends. What happens here is a correction applied to the shot's output, in exactly the relationship the pose solve has to the blended pose — which is also why goals labelled Camera are solved here and excluded everywhere else. If the composer already frames a subject adequately, nothing here is needed; the case for it is precisely the case where the subject's size is what changed.
A camera has a transform and no skeleton, which makes it the same problem as a character's root placement — and RigidBodySolver is the same code for both.
Fields and properties (2)
public ConstraintBindings BindingsWho the other parties are — the entities a shot frames.
public IReadOnlyList<ConstraintHandle> GoalsThe goals, in the order they were added.
Methods (3)
public CameraConstraints()Creates a set of camera goals.
public ConstraintHandle Add(ConstraintGoal goal)Adds a goal.
public CameraCorrection Solve(in CameraView shot, in CameraSubject subject)Corrects a shot.
Used by (1)
- PlacementTestsVixen.Animation.Tests