VariantSelection
Defined in: src/types/index.ts:233
Result of mapping an arbitrary guide edge mask to a canonical asset and rotation.
Properties
Section titled “Properties”assetId
Section titled “assetId”assetId:
string
Defined in: src/types/index.ts:239
Asset id that should be rendered.
canonicalMask
Section titled “canonicalMask”canonicalMask:
number
Defined in: src/types/index.ts:243
Canonical edge bitmask represented by the selected asset.
family
Section titled “family”family:
"coast"|"road"|"river"
Defined in: src/types/index.ts:235
Variant family being selected.
inputMask
Section titled “inputMask”inputMask:
number
Defined in: src/types/index.ts:241
User-requested edge bitmask before canonicalization.
label:
string
Defined in: src/types/index.ts:237
Guide label such as A, B, or crossing_A.
rotationRadians
Section titled “rotationRadians”rotationRadians:
number
Defined in: src/types/index.ts:247
Rotation in radians for renderers.
rotationSteps
Section titled “rotationSteps”rotationSteps:
number
Defined in: src/types/index.ts:245
Clockwise 60-degree rotation steps to apply.