Clash Blueprint Engine API
    Preparing search index...

    Interface Box3D

    A framework-agnostic 3D model of a layout: plain geometry descriptors (all numbers + colors, no WebGL, no three.js). A view layer maps these to meshes. Coordinates are in tile units (1 tile = 1 world unit) with the grid on the XZ plane and +Y up; box positions are centres, resting on the ground (y=0).

    interface Box3D {
        category: string;
        center: { x: number; y: number; z: number };
        color: string;
        id: string;
        isCore: boolean;
        rotationDeg: number;
        size: { depth: number; height: number; width: number };
    }
    Index
    category: string
    center: { x: number; y: number; z: number }
    color: string
    id: string
    isCore: boolean

    True for the game's core/HQ building (data-designated, not a literal).

    rotationDeg: number

    Footprint rotation in degrees (0/90/180/270) — for a facing marker.

    size: { depth: number; height: number; width: number }