API Referenceglobal
public abstract class Sandbox.BoneCollection.Bone
A bone in a `Sandbox.BoneCollection`.
Constructors
Showing 1 constructors
protected Bone()
No results match this filter.
Methods
Showing 1 methods
public bool IsNamed(string name)
Whether this bone has given name or not.
No results match this filter.
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.
public virtual Sandbox.BoneCollection.Bone Sandbox.BoneCollection.Bone.Parent { get; set; }
The parent bone.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.BoneCollection.Bone |