Class DotToMorphConstraint
Namespace: ValveResourceFormat.ResourceTypes.ModelAnimation
Assembly: ValveResourceFormat.dll
Drives a morph from how far one bone is turned away from another. CS2 agents use it to open and close the eyelids as the eye looks up and down, which no animation channel carries.
public class DotToMorphConstraintInheritance
Properties
BoneIndex
Index of in the skeleton, or -1 when it is not in this model.
public int BoneIndex { get; set; }Property Value
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
MorphChannelIndex
Index of the flex controller this drives, or -1 when the morph set has no such control.
public int MorphChannelIndex { 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
TargetBoneIndex
Index of in the skeleton, or -1 when it is not in this model.
public int TargetBoneIndex { get; set; }Property Value
TargetBoneName
Gets or sets the bone it is measured against.
public string TargetBoneName { get; set; }
