Struct BoneConstraint ​
Namespace: ValveResourceFormat.ResourceTypes.ModelData
Assembly: ValveResourceFormat.dll
One entry of a model's authored bone constraint list: a rule that drives a bone, or a morph, from the pose of other bones.
csharp
public readonly record struct BoneConstraint : IEquatable<BoneConstraint>Implements ​
Constructors ​
BoneConstraint(string, KVObject) ​
One entry of a model's authored bone constraint list: a rule that drives a bone, or a 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 ​
Data ​
The compiled object the constraint's own fields are read from.
csharp
public KVObject Data { get; init; }Property Value ​
KVObject

