API Referenceglobal
Boneclass
A bone in a `Sandbox.BoneCollection`.
object→Bone
Constructors1
Showing 1 constructors
protected Bone()
No results match this filter.
Methods1
Showing 1 methods
public bool IsNamed(string name)
Whether this bone has given name or not.
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
Returns:
bool—No results match this filter.
Properties6
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.
Returns:
bool—public virtual int Sandbox.BoneCollection.Bone.Index { get; set; }
Numerical index of this bone.
Returns:
int—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.
Returns:
string—public virtual Sandbox.BoneCollection.Bone Sandbox.BoneCollection.Bone.Parent { get; set; }
The parent bone.
No results match this filter.