Skip to content

UpdateGameboardPlacementOptions

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:332

Options for mutating an existing runtime placement.

optional assetId?: string

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:336

New manifest or external registry asset id.


optional at?: string | HexCoordinates

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:334

New origin tile or tile key.


optional elevationOffset?: number

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:344

New vertical offset above the tile elevation.


optional kind?: GameboardPlacementKind

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:338

New gameplay category.


optional layer?: GameboardPlacementLayer

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:340

New render and occupancy layer.


optional metadata?: Readonly<Record<string, string | number | boolean | null>>

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:358

Replacement serializable placement metadata.


optional occupancyGuard?: GameboardPlacementOccupancyGuard

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:360

Optional occupancy validation before applying the mutation.


optional order?: number

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:352

New stable sort order.


optional positionOffset?: GameboardPlacementPositionOffset

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:346

New local world-space offset after tile/elevation anchoring.


optional requiresExtra?: boolean

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:356

New local-only EXTRA requirement flag.


optional rotationSteps?: number

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:348

New clockwise 60-degree rotation steps.


optional scale?: number

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:350

New uniform render scale.


optional stackIndex?: number

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:354

New stack index.


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

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:342

New texture set.