Class MorphConstraint
Namespace: ValveResourceFormat.ResourceTypes.ModelAnimation
Assembly: ValveResourceFormat.dll
Offsets one channel of the constrained bones' rest pose by a flex controller value.
csharp
public class MorphConstraint : BaseConstraintInheritance
object ← BoneConstraintBase ← BaseConstraint ← MorphConstraint
Inherited Members
BaseConstraint.Name, BaseConstraint.UpVector, BaseConstraint.ConstrainedBones, BaseConstraint.Targets, BoneConstraintBase.ReadList(Model)
Constructors
MorphConstraint(KVObject)
Initializes a new instance from compiled constraint data.
csharp
public MorphConstraint(KVObject data)Parameters
data KVObject
Properties
Channel
Gets or sets the channel written: 0-2 translate along X/Y/Z, 3-5 rotate around X/Y/Z in degrees.
csharp
public int Channel { get; set; }Property Value
Max
Gets or sets the offset at the controller's maximum.
csharp
public float Max { get; set; }Property Value
Min
Gets or sets the offset at the controller's minimum.
csharp
public float Min { get; set; }Property Value
TargetMorph
Gets or sets the flex controller read.
csharp
public string TargetMorph { get; set; }Property Value
See Also
https://s2v.app/SchemaExplorer/cs2/modellib/CMorphConstraint

