Boneclass

A bone in a `Sandbox.BoneCollection`.

objectBone
Namespace
global
Assembly
Sandbox.Engine
Declaration
public abstract class Sandbox.BoneCollection.Bone

Constructors1

Showing 1 constructors

protected Bone()PROTECTEDCONSTRUCTOR

Methods1

Showing 1 methods

public bool IsNamed(string name)PUBLIC

Whether this bone has given name or not.

ParameterTypeDescription
namestring
Returns:bool

Properties6

Showing 6 properties

public System.Collections.Generic.IReadOnlyList`1<Sandbox.BoneCollection.Bone> Sandbox.BoneCollection.Bone.Children { get; set; }PUBLICGETSET

List of all bones that descend from this bone.

Returns:IReadOnlyList<Bone>

public virtual bool Sandbox.BoneCollection.Bone.HasChildren { get; set; }PUBLICVIRTUALGETSET

Whether this bone has any child bones.

Returns:bool

public virtual int Sandbox.BoneCollection.Bone.Index { get; set; }PUBLICVIRTUALGETSET

Numerical index of this bone.

Returns:int

public virtual Transform Sandbox.BoneCollection.Bone.LocalTransform { get; set; }PUBLICVIRTUALGETSET

Transform on this bone, relative to the root bone.

Returns:Transform

public virtual string Sandbox.BoneCollection.Bone.Name { get; set; }PUBLICVIRTUALGETSET

Name of this bone.

Returns:string

On this page