rednode API - v0.80.1
    Preparing search index...

    Interface Bone

    One bone of an animated component, as world.bones reads it.

    interface Bone {
        bind?: BoneTransform;
        index: number;
        local?: BoneTransform;
        model?: BoneTransform;
        name: string;
        parent: string | null;
        rig: number;
    }
    Index

    Its own rig's bind pose relative to its parent (the rig's A-pose, else its reference pose), with bind: true.

    index: number

    Its index in the component's meta rig.

    The live pose relative to its parent, worked out from the two model transforms, with space "local" or "both".

    The live pose, relative to the entity's animated root, as the game holds it (the transforms bone slots are placed by), with space "model" or "both".

    name: string
    parent: string | null

    Its parent's name, or null for a root.

    rig: number

    Which of the animated object's rigs holds it (see ComponentBones.rigs); -1 when none does.