hex-world
    Preparing search index...

    Interface ExportHexPackOptions

    interface ExportHexPackOptions {
        name?: string;
        terrainDescriptors: TerrainDescriptor[];
        liquidDescriptors?: LiquidTypeDescriptor[];
        scatterDescriptors?: ScatterDescriptor[];
        scatterAssets?: ScatterAssetDescriptor[];
        resourceDescriptors?: ResourceDescriptor[];
        factions?: FactionDescriptor[];
        textureAssets?: Map<string, Blob>;
        modelAssets?: Map<string, Blob>;
        maps?: ExportMapEntry[];
    }
    Index

    Properties

    name?: string
    terrainDescriptors: TerrainDescriptor[]
    liquidDescriptors?: LiquidTypeDescriptor[]
    scatterDescriptors?: ScatterDescriptor[]
    scatterAssets?: ScatterAssetDescriptor[]

    Shape recipes and material behaviour for the scatter assetIds. Travels in the manifest and in each JSON map.

    resourceDescriptors?: ResourceDescriptor[]

    Resource types the packed maps use. Travels in the manifest and in each JSON map.

    factions?: FactionDescriptor[]

    Faction roster the packed maps' ownership refers to. Travels in the manifest and in each JSON map.

    textureAssets?: Map<string, Blob>

    Image assets keyed by assetId (matching TerrainDescriptor.texture.assetId). Only needed for descriptors with texture.type === 'image'.

    modelAssets?: Map<string, Blob>

    GLB model assets keyed by assetId (matching ScatterVariantDescriptor.assetId).