Bitbybit Docs
    Preparing search index...

    Interface RecipeRootBeta (Inputs.Base)

    What a recipe builds: one node, placed by a matrix, labelled by a tag. Several roots may place the same node, so a repeated part is described once.

    interface RecipeRoot {
        node: number;
        matrix: TransformMatrix;
        tag: Record<string, RecipeTagValue>;
        group?: number;
    }
    Index

    Properties

    Properties

    node: number

    The index of the node to build.

    Where the result is placed: sixteen numbers in column-major order, with 0, 0, 0, 1 as the bottom row.

    tag: Record<string, RecipeTagValue>

    Labels handed back with the result unchanged, such as an element's globalId.

    group?: number

    The index of the group the result belongs to, such as the storey an element stands on; left out for a result that belongs to none.