Class Skeleton
Namespace: ValveResourceFormat.ResourceTypes.ModelAnimation
Assembly: ValveResourceFormat.dll
Represents a model skeleton with bones arranged in a hierarchy.
csharp
public class SkeletonInheritance
Properties
Bones
Gets all bones in the skeleton.
csharp
public Bone[] Bones { get; }Property Value
Bone[]
ClothSimulationRoot
Gets the root bone for cloth simulation, if present.
csharp
public Bone? ClothSimulationRoot { get; }Property Value
Bone?
Roots
Gets the root bones of the skeleton.
csharp
public Bone[] Roots { get; }Property Value
Bone[]
Methods
FromModelData(KVObject)
Creates a skeleton from model data.
csharp
public static Skeleton FromModelData(KVObject modelData)Parameters
modelData KVObject
Returns
FromSkeletonData(KVObject)
Creates a skeleton from skeleton-specific data.
csharp
public static Skeleton FromSkeletonData(KVObject nmSkeleton)Parameters
nmSkeleton KVObject

