GameboardLayoutFillRule
Defined in: src/coordinates/layout.ts:426
Rule for seeded layout fill across one or more assets.
Extends
Section titled “Extends”Omit<GameboardLayoutPlacementOptions,"assetId"|"count"|"seed"|"idPrefix">
Properties
Section titled “Properties”archetype?
Section titled “archetype?”
optionalarchetype?:GameboardLayoutArchetypeInput
Defined in: src/coordinates/layout.ts:404
Archetype id or inline archetype.
Inherited from
Section titled “Inherited from”GameboardLayoutPlacementOptions.archetype
archetypes?
Section titled “archetypes?”
optionalarchetypes?:Readonly<Record<string,GameboardLayoutArchetype>>
Defined in: src/coordinates/layout.ts:406
Registry used to resolve archetype.
Inherited from
Section titled “Inherited from”GameboardLayoutPlacementOptions.archetypes
assetId?
Section titled “assetId?”
optionalassetId?:string
Defined in: src/coordinates/layout.ts:431
Single asset id used by the rule.
assets?
Section titled “assets?”
optionalassets?: readonlystring[]
Defined in: src/coordinates/layout.ts:433
Asset ids cycled deterministically across selected sites.
count?
Section titled “count?”
optionalcount?:number
Defined in: src/coordinates/layout.ts:435
Explicit placement count.
criteria?
Section titled “criteria?”
optionalcriteria?:GameboardLayoutCriteria
Defined in: src/coordinates/layout.ts:420
Criteria merged over archetype defaults.
Inherited from
Section titled “Inherited from”GameboardLayoutPlacementOptions.criteria
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
optionalfill?:number
Defined in: src/coordinates/layout.ts:437
Fraction of candidate sites to fill.
optionalid?:string
Defined in: src/coordinates/layout.ts:429
Stable rule id used in diagnostics and generated ids.
idPrefix?
Section titled “idPrefix?”
optionalidPrefix?:string
Defined in: src/coordinates/layout.ts:443
Prefix used when assigning deterministic placement ids.
optionalkind?:GameboardPlacementKind
Defined in: src/coordinates/layout.ts:408
Placement kind override.
Inherited from
Section titled “Inherited from”GameboardLayoutPlacementOptions.kind
layer?
Section titled “layer?”
optionallayer?:GameboardPlacementLayer
Defined in: src/coordinates/layout.ts:410
Placement layer override.
Inherited from
Section titled “Inherited from”GameboardLayoutPlacementOptions.layer
maxCount?
Section titled “maxCount?”
optionalmaxCount?:number
Defined in: src/coordinates/layout.ts:441
Maximum placement count after fill/count calculation.
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
minCount?
Section titled “minCount?”
optionalminCount?:number
Defined in: src/coordinates/layout.ts:439
Minimum placement count after fill/count calculation.
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.
Inherited from
Section titled “Inherited from”Omit.rotationSteps
scale?
Section titled “scale?”
optionalscale?:number
Defined in: src/koota/koota.ts:317
Uniform render scale.
Inherited from
Section titled “Inherited from”SpawnGameboardPlacementOptions.scale
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.