Taos API Reference
    Preparing search index...

    Interface HoleMaskOptions

    Maps the hole mask texture onto world space.

    interface HoleMaskOptions {
        origin: [number, number];
        extent: [number, number];
        data?: HoleMaskData;
    }
    Index

    Properties

    Properties

    origin: [number, number]

    World XZ of the mask's (0,0) texel — the rect's min corner.

    extent: [number, number]

    World span (XZ) the mask covers.

    Optional CPU copy. When provided, TerrainSystem.holeAt works — the picker, foliage scattering and the physics collider read it.