Class BoneConstraintSolver
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
Evaluates a model's bone constraints on its model space pose, in compiled order.
csharp
public sealed class BoneConstraintSolverInheritance
Constructors
BoneConstraintSolver(Model)
Builds the constraints of a model. Constraints whose bones, attachments or flex controllers are missing are skipped.
csharp
public BoneConstraintSolver(Model model)Parameters
model Model
Properties
Count
Gets the number of constraints that resolved against the model.
csharp
public int Count { get; }Property Value
WritesMorphs
Gets whether any constraint writes flex controller values.
csharp
public bool WritesMorphs { get; }Property Value
Methods
Evaluate(Matrix4x4[], Span<float>)
Evaluates every constraint on the model space bone matrices, reading and writing flex controller values in morphs.
csharp
public void Evaluate(Matrix4x4[] pose, Span<float> morphs)Parameters
pose Matrix4x4[]

