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
string
InputMax
Gets or sets the angle in degrees that maps to DotToMorphConstraint.OutputMax.
public float InputMax { get; set; }Property Value
float
InputMin
Gets or sets the angle in degrees that maps to DotToMorphConstraint.OutputMin.
public float InputMin { get; set; }Property Value
float
MorphChannelName
Gets or sets the flex controller this drives.
public string MorphChannelName { get; set; }Property Value
string
OutputMax
Gets or sets the controller value the angle at DotToMorphConstraint.InputMax produces.
public float OutputMax { get; set; }Property Value
float
OutputMin
Gets or sets the controller value the angle at DotToMorphConstraint.InputMin produces.
public float OutputMin { get; set; }Property Value
float
TargetBoneName
Gets or sets the bone it is measured against.
public string TargetBoneName { get; set; }Property Value
string

