Scripting API

Scripting API

SceneBone

Struct in Abyss.Core, from Abyss.Core.

One joint of a skin, as the editor's Scene panel draws a skin's bones: where it is, how it is turned, and the joint its bone starts from.

public readonly struct SceneBone

Remarks

Laid out as abyss_core::gizmo::SceneBone is, 48 bytes.

Properties

Entity

public ulong Entity { get; init; }

The joint, packed as the engine packs an entity.

Parent

public ulong Parent { get; init; }

The joint its bone starts from: the nearest above it that is a joint of a skin too, packed the same way; zero for one with none.

Position

public Vector3 Position { get; init; }

Where it is, in world space.

Rotation

public Quaternion Rotation { get; init; }

Which way it is turned.