Struct BoneConstraint ​
Namespace: ValveResourceFormat.ResourceTypes.ModelData
Assembly: ValveResourceFormat.dll
A model's authored constraint: drives a bone or morph from the pose of other bones.
csharp
public readonly record struct BoneConstraint : IEquatable<BoneConstraint>Implements ​
Constructors ​
BoneConstraint(string, KVObject) ​
A model's authored constraint: drives a bone or morph from the pose of other bones.
csharp
public BoneConstraint(string ClassName, KVObject Data)Parameters ​
ClassName string
The compiled constraint class, e.g. CTwistConstraint.
Data KVObject
The compiled object the constraint's own fields are read from.
Properties ​
ClassName ​
The compiled constraint class, e.g. CTwistConstraint.
csharp
public string ClassName { get; init; }Property Value ​
string
Data ​
The compiled object the constraint's own fields are read from.
csharp
public KVObject Data { get; init; }Property Value ​
KVObject

