Skip to content

MedievalHexagonAsset

Defined in: src/types/index.ts:151

One renderable GLTF asset with normalized taxonomy, paths, bounds, and material metadata.

bounds: AssetBounds

Defined in: src/types/index.ts:179

Extracted model bounds used by fit checks and camera framing.


bufferPaths: readonly string[]

Defined in: src/types/index.ts:173

Package-relative buffer paths referenced by the GLTF.


category: "tiles" | "buildings" | "decoration" | "units"

Defined in: src/types/index.ts:157

Top-level KayKit category.


edition: "free" | "extra"

Defined in: src/types/index.ts:155

Source edition that owns this asset.


optional faction?: "blue" | "green" | "red" | "yellow"

Defined in: src/types/index.ts:163

Faction color when the asset is faction-specific.


family: string

Defined in: src/types/index.ts:161

Variant family with faction/style suffixes removed where applicable.


fileSizeBytes: number

Defined in: src/types/index.ts:181

Size of the source GLTF JSON file in bytes.


id: string

Defined in: src/types/index.ts:153

Stable asset id, normally the GLTF file name without extension.


materialSlots: readonly string[]

Defined in: src/types/index.ts:177

Material names discovered from the GLTF.


modelPath: string

Defined in: src/types/index.ts:169

Package-relative or consumer-resolved model path.


sourcePath: string

Defined in: src/types/index.ts:171

Source-relative path inside the ingested GLTF tree.


subcategory: string

Defined in: src/types/index.ts:159

Category-specific folder segment, such as roads, blue, or nature.


texturePaths: readonly string[]

Defined in: src/types/index.ts:175

Package-relative texture paths referenced by the GLTF.


textureSet: "default" | "fall" | "summer" | "winter"

Defined in: src/types/index.ts:167

Texture palette expected by the asset.


optional unitStyle?: "neutral" | "accent" | "full"

Defined in: src/types/index.ts:165

Unit recolor style when the asset belongs to units.