Isometric Drawing Toolkit
    Preparing search index...

    Type Alias DrawingDefinition

    Persistent attributes that defines a drawing.

    type DrawingDefinition = {
        cuboidValues: CuboidValue[];
        definitionIndex: number | null;
        name: string;
        rotation: Quaternion;
    }
    Index

    Properties

    cuboidValues: CuboidValue[]

    Cuboid values array, holds cuboids of one isometric structure.

    definitionIndex: number | null

    Index of the current definition in the global storage, null if the current definition is not saved at all.

    name: string

    Name of the drawing, no unique constraint since that is enforced by the definition index.

    rotation: Quaternion

    Quaternion to preserve non-commutative rotations compactly.