GameboardLayoutPlacementOptions
Defined in: src/coordinates/layout.ts:401
Options for creating placement specs from selected layout sites.
Extends
Section titled “Extends”Omit<SpawnGameboardPlacementOptions,"at"|"id"|"kind"|"layer"|"rotationSteps">
Properties
Section titled “Properties”archetype?
Section titled “archetype?”
optionalarchetype?:GameboardLayoutArchetypeInput
Defined in: src/coordinates/layout.ts:404
Archetype id or inline archetype.
archetypes?
Section titled “archetypes?”
optionalarchetypes?:Readonly<Record<string,GameboardLayoutArchetype>>
Defined in: src/coordinates/layout.ts:406
Registry used to resolve archetype.
assetId
Section titled “assetId”assetId:
string
Defined in: src/koota/koota.ts:303
Manifest or external registry asset id to render.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.assetId
count?
Section titled “count?”
optionalcount?:number
Defined in: src/coordinates/layout.ts:412
Number of placements to create.
criteria?
Section titled “criteria?”
optionalcriteria?:GameboardLayoutCriteria
Defined in: src/coordinates/layout.ts:420
Criteria merged over archetype defaults.
elevationOffset?
Section titled “elevationOffset?”
optionalelevationOffset?:number
Defined in: src/koota/koota.ts:311
Extra vertical offset above the tile elevation.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.elevationOffset
idPrefix?
Section titled “idPrefix?”
optionalidPrefix?:string
Defined in: src/coordinates/layout.ts:416
Prefix used when assigning deterministic placement ids.
optionalkind?:GameboardPlacementKind
Defined in: src/coordinates/layout.ts:408
Placement kind override.
layer?
Section titled “layer?”
optionallayer?:GameboardPlacementLayer
Defined in: src/coordinates/layout.ts:410
Placement layer override.
metadata?
Section titled “metadata?”
optionalmetadata?:Readonly<Record<string,string|number|boolean|null>>
Defined in: src/koota/koota.ts:325
Serializable placement metadata for rules, ECS interop, and render hints.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.metadata
occupancyGuard?
Section titled “occupancyGuard?”
optionaloccupancyGuard?:GameboardPlacementOccupancyGuard
Defined in: src/koota/koota.ts:327
Optional occupancy validation before spawning.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.occupancyGuard
order?
Section titled “order?”
optionalorder?:number
Defined in: src/koota/koota.ts:319
Stable sort order used by renderers and snapshots.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.order
positionOffset?
Section titled “positionOffset?”
optionalpositionOffset?:GameboardPlacementPositionOffset
Defined in: src/koota/koota.ts:313
Local world-space offset after tile/elevation anchoring.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.positionOffset
requiresExtra?
Section titled “requiresExtra?”
optionalrequiresExtra?:boolean
Defined in: src/koota/koota.ts:323
Whether the placement depends on local-only EXTRA assets.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.requiresExtra
rotationSteps?
Section titled “rotationSteps?”
optionalrotationSteps?:number|"random"
Defined in: src/coordinates/layout.ts:418
Rotation steps or deterministic random rotation.
scale?
Section titled “scale?”
optionalscale?:number
Defined in: src/koota/koota.ts:317
Uniform render scale.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.scale
optionalseed?:string|number
Defined in: src/coordinates/layout.ts:414
Seed used for site selection and random rotation.
stackIndex?
Section titled “stackIndex?”
optionalstackIndex?:number
Defined in: src/koota/koota.ts:321
Optional stack index for layered terrain and vertical props.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.stackIndex
textureSet?
Section titled “textureSet?”
optionaltextureSet?:"default"|"fall"|"summer"|"winter"
Defined in: src/koota/koota.ts:309
Texture set override. Defaults to the origin tile texture set.