PropClusterOptions
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:574
Options for adding a semantic cluster of props.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”at:
HexCoordinates
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:576
Anchor tile for the cluster.
clusterId?
Section titled “clusterId?”
optionalclusterId?:string
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:588
Optional stable id shared by all placements in the cluster.
density?
Section titled “density?”
optionaldensity?:number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:584
Percentage of the cluster’s available asset list to place, from 0 to 1. Defaults to 1.
facing?
Section titled “facing?”
optionalfacing?:HexEdgeIndex
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:580
Edge used to orient adjacent spread patterns.
includeExtra?
Section titled “includeExtra?”
optionalincludeExtra?:boolean
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:586
Include local-only EXTRA prop assets when the cluster kind has them. Defaults to false.
kind:
PropClusterKind
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:578
Cluster purpose. Determines the default asset list.
placement?
Section titled “placement?”
optionalplacement?:PropClusterPlacement
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:582
Whether assets stack on one tile or spread to neighboring tiles. Defaults to adjacent.
rotationSteps?
Section titled “rotationSteps?”
optionalrotationSteps?:number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:590
Base clockwise 60-degree rotation steps. Defaults to facing.
scale?
Section titled “scale?”
optionalscale?:number
Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:592
Uniform render scale.