Bone

A bone resource.

Constructors

this
this(RaylibModel model, SkeletonNode node, Pack.Resource!string resource)

Create the bone and load resources.

Members

Functions

draw
void draw()
updateMatrixes
void updateMatrixes()

Calculate matrixes for this node.

Properties

boneScale
float boneScale [@property getter]
float boneScale [@property setter]

Scale applied to this bone.

Variables

boneEnd
Matrix boneEnd;

Matrix corresponding to the bone end.

boneRotation
Vector3 boneRotation;

Local rotation of this bone, in radians.

boneStart
Matrix boneStart;

Matrix corresponding to the bone start.

model
RaylibModel model;

Owner object.

node
SkeletonNode node;

Skeleton node represented by this bone.

Meta