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