Table of Contents

Class Skeleton

Namespace
ValveResourceFormat.ResourceTypes.ModelAnimation
Assembly
ValveResourceFormat.dll

Represents a model skeleton with bones arranged in a hierarchy.

public class Skeleton

Inheritance

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

Bone

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

modelData KVObject

Returns

Skeleton

FromSkeletonData(KVObject)

Creates a skeleton from skeleton-specific data.

public static Skeleton FromSkeletonData(KVObject nmSkeleton)

Parameters

nmSkeleton KVObject

Returns

Skeleton