s&box docs

public abstract class Sandbox.BoneCollection.Bone

A bone in a `Sandbox.BoneCollection`.

Constructors

Showing 1 constructors

protected Bone()

Methods

Showing 1 methods

public bool IsNamed(string name)

Whether this bone has given name or not.

Properties

Showing 6 properties

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

List of all bones that descend from this bone.

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

Whether this bone has any child bones.

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

Numerical index of this bone.

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

Transform on this bone, relative to the root bone.

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

Name of this bone.

Metadata

FieldValue
Namespaceglobal
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.BoneCollection.Bone

On this page