hex-world
    Preparing search index...

    Interface LoadHexPackOptions

    interface LoadHexPackOptions {
        gltfLoader?: GltfLoaderLike;
        mapIds?: string[];
        terrainMaterialOptions?: TerrainMaterialOptions;
    }
    Index

    Properties

    gltfLoader?: GltfLoaderLike

    GLTFLoader instance for loading scatter model assets. Required if the pack contains GLB/GLTF scatter models. If omitted, scatter descriptors are returned as-is and scatterDefinitions is empty.

    mapIds?: string[]

    Load only these map IDs. Default: load all maps.

    terrainMaterialOptions?: TerrainMaterialOptions

    Lighting and texture options forwarded to createTerrainMaterial.