Class DotToMorphConstraint
Namespace: ValveResourceFormat.ResourceTypes.ModelAnimation
Assembly: ValveResourceFormat.dll
Drives a morph from the angle between a bone's +Z axis and the direction to another bone. CS2 agents open and close the eyelids with it.
public class DotToMorphConstraint : BoneConstraintBaseInheritance
object ← BoneConstraintBase ← DotToMorphConstraint
Inherited Members
BoneConstraintBase.ReadList(Model)
Constructors
DotToMorphConstraint(KVObject)
Initializes a new instance from compiled constraint data.
public DotToMorphConstraint(KVObject data)Parameters
data KVObject
Properties
BoneName
Gets or sets the bone whose facing is measured.
public string BoneName { get; set; }Property Value
InputMax
Gets or sets the angle in degrees that maps to .
public float InputMax { get; set; }Property Value
InputMin
Gets or sets the angle in degrees that maps to .
public float InputMin { get; set; }Property Value
MorphChannelName
Gets or sets the flex controller this drives.
public string MorphChannelName { get; set; }Property Value
OutputMax
Gets or sets the controller value the angle at produces.
public float OutputMax { get; set; }Property Value
OutputMin
Gets or sets the controller value the angle at produces.
public float OutputMin { get; set; }Property Value
TargetBoneName
Gets or sets the bone it is measured against.
public string TargetBoneName { get; set; }Property Value
See Also
https://s2v.app/SchemaExplorer/cs2/modellib/CBoneConstraintDotToMorph

