BoneCollectionclass

A collection of bones. This could be from a model, or an entity

objectBoneCollection
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public abstract class Sandbox.BoneCollection

Constructors1

Showing 1 constructors

Methods2

Showing 2 methods

public Sandbox.BoneCollection.Bone GetBone(string name)PUBLIC

Retrieve a bone by name.

ParameterTypeDescription
namestring
Returns:Bone

public bool HasBone(string name)PUBLIC

Whether the model or entity has a given bone by name.

ParameterTypeDescription
namestring
Returns:bool

Properties2

Showing 2 properties

public virtual System.Collections.Generic.IReadOnlyList`1<Sandbox.BoneCollection.Bone> Sandbox.BoneCollection.AllBones { get; set; }PUBLICVIRTUALGETSET

List of all bones of our object.

Returns:IReadOnlyList<Bone>

On this page