Class BaseConstraint
Namespace: ValveResourceFormat.ResourceTypes.ModelAnimation
Assembly: ValveResourceFormat.dll
A constraint that drives slave bones from weighted targets.
csharp
public abstract class BaseConstraint : BoneConstraintBaseInheritance
object ← BoneConstraintBase ← BaseConstraint
Derived
AimConstraint, MorphConstraint, OrientConstraint, ParentConstraint, PointConstraint, PoseSpaceBoneConstraint, TiltTwistConstraint, TwistConstraint
Inherited Members
BoneConstraintBase.ReadList(Model)
Properties
ConstrainedBones
Gets or sets the bones this constraint writes.
csharp
public ConstrainedBone[] ConstrainedBones { get; set; }Property Value
Name
Gets or sets the name of the constraint.
csharp
public string Name { get; set; }Property Value
Targets
Gets or sets the bones and attachments this constraint reads.
csharp
public ConstraintTarget[] Targets { get; set; }Property Value
UpVector
Gets or sets the up vector used by the aim and twist constraints.
csharp
public Vector3 UpVector { get; set; }
