Table of Contents

Struct Bone

Namespace
ReFuel.Resources
Assembly
ReFuel.dll

A node in a skeleton armature.

public readonly record struct Bone : IEquatable<Bone>
Implements
Inherited Members

Constructors

Bone(int, Vector3, Vector3)

A node in a skeleton armature.

public Bone(int ParentIndex, Vector3 Head, Vector3 Tail)

Parameters

ParentIndex int

The index of the parent bone.

Head Vector3

The position of the head vector.

Tail Vector3

The position of the tail vector.

Properties

Head

The position of the head vector.

public Vector3 Head { get; init; }

Property Value

Vector3

ParentIndex

The index of the parent bone.

public int ParentIndex { get; init; }

Property Value

int

Tail

The position of the tail vector.

public Vector3 Tail { get; init; }

Property Value

Vector3