Api Sandbox BoneCollection
class

BoneCollection

public abstract class BoneCollection

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

Properties

Name Type Description
Root virtual Bone Root bone of the model.
AllBones virtual IReadOnlyList<Bone> List of all bones of our object.

Methods

Boolean HasBone(String name)

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

Bone GetBone(String name)

Retrieve a bone by name.

Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.BoneCollection