Boneclass

A bone definition for use with `Sandbox.ModelBuilder`.

objectBone
Namespace
global
Assembly
Sandbox.Engine
Declaration
public sealed struct Sandbox.ModelBuilder.Bone

Constructors1

Showing 1 constructors

public Bone(string Name, string ParentName, Vector3 Position, Rotation Rotation)PUBLICCONSTRUCTOR

A bone definition for use with `Sandbox.ModelBuilder`.

ParameterTypeDescription
NamestringName of the bone.
ParentNamestringName of the parent bone.
PositionVector3Position of the bone, relative to its parent.
RotationRotationRotation of the bone, relative to its parent.

Methods1

Showing 1 methods

public void Deconstruct(string Name, string ParentName, Vector3 Position, Rotation Rotation)PUBLIC

ParameterTypeDescription
Namestring
ParentNamestring
PositionVector3
RotationRotation
Returns:void

Properties4

Showing 4 properties

public string Sandbox.ModelBuilder.Bone.Name { get; set; }PUBLICGETSET

Name of the bone.

Returns:string

public string Sandbox.ModelBuilder.Bone.ParentName { get; set; }PUBLICGETSET

Name of the parent bone.

Returns:string

On this page