@pixi/3d
    Preparing search index...

    Interface BoxShapeOptions

    Options for BoxShape

    const options: BoxShapeOptions = { width: 20, height: 0, depth: 20 };
    const sky = new BoxShape(options);
    interface BoxShapeOptions {
        depth?: number;
        height?: number;
        width?: number;
    }
    Index
    depth?: number

    Size along z

    1
    
    const lane = new BoxShape({ width: 1, height: 0, depth: 30 });
    
    height?: number

    Size along y

    1
    
    const column = new BoxShape({ width: 0.5, height: 6, depth: 0.5 });
    
    width?: number

    Size along x

    1
    
    const wall = new BoxShape({ width: 8, height: 4, depth: 0.1 });