Class PoseSpaceMorphConstraint
Namespace: ValveResourceFormat.ResourceTypes.ModelAnimation
Assembly: ValveResourceFormat.dll
Drives morphs by interpolating authored weights over where an attachment sits in its bone's parent space.
public class PoseSpaceMorphConstraint : BoneConstraintBaseInheritance
object ← BoneConstraintBase ← PoseSpaceMorphConstraint
Inherited Members
BoneConstraintBase.ReadList(Model)
Constructors
PoseSpaceMorphConstraint(KVObject)
Initializes a new instance from compiled constraint data.
public PoseSpaceMorphConstraint(KVObject data)Parameters
data KVObject
Properties
AttachmentName
Gets or sets the measured attachment.
public string AttachmentName { get; set; }Property Value
BoneName
Gets or sets the bone the attachment is measured in.
public string BoneName { get; set; }Property Value
Clamp
Gets or sets whether outputs are clamped to 0-1.
public bool Clamp { get; set; }Property Value
Falloff
Gets or sets the kernel falloff distance.
public float Falloff { get; set; }Property Value
Inputs
Gets or sets the samples: an input position and one weight per output morph.
public (Vector3 Value, float[] Weights)[] Inputs { get; set; }Property Value
(Vector3 Value, float[] Weights)[]
Kernel
Gets or sets the interpolation kernel.
public RbfKernel Kernel { get; set; }Property Value
OutputMorphs
Gets or sets the flex controllers written.
public string[] OutputMorphs { get; set; }Property Value
string[]
See Also
https://s2v.app/SchemaExplorer/cs2/modellib/CBoneConstraintPoseSpaceMorph

