Class BindPoseModelObject
Namespace: ValveResourceFormat.Particles
Assembly: ValveResourceFormat.dll
A model standing still in its bind pose, for a control point that carries a model with nothing animating it.
public sealed class BindPoseModelObject : IParticleModelObjectInheritance
object ← BindPoseModelObject
Implements
Constructors
BindPoseModelObject(Model)
A model standing still in its bind pose, for a control point that carries a model with nothing animating it.
public BindPoseModelObject(Model model)Parameters
model Model
The model.
Properties
Model
The model the object shows.
public Model Model { get; }Property Value
Transform
Carries the model's space into the world, scale included.
public Matrix4x4 Transform { get; set; }Property Value
Methods
GetBindPose(Model, Span<Matrix4x4>)
Writes the bind pose of every bone of model's skeleton, in model space.
public static void GetBindPose(Model model, Span<Matrix4x4> bones)Parameters
model Model
The model whose skeleton to pose.
Receives one transform per bone, indexed by bone index.
GetInverseBindPose(Model)
The inverse of the bind pose of every bone of model's skeleton, in model space.
public static Matrix4x4[] GetInverseBindPose(Model model)Parameters
model Model
The model whose skeleton to pose.
Returns
One transform per bone, indexed by bone index.

