Skip to content

AssetTransform

Defined in: packages/declarative-hex-worlds/src/asset-source/source.ts:38

Render transform for a placement, in world space. Neutral of any renderer (moved here from src/three for RFC0-RENDER so the render-request contract is backend-agnostic). A 3D backend uses the full x/y/z + rotationY; a 2D backend projects to screen space and treats the depth axis as z-order.

position: WorldPosition

Defined in: packages/declarative-hex-worlds/src/asset-source/source.ts:40

World-space position for the object origin.


rotationY: number

Defined in: packages/declarative-hex-worlds/src/asset-source/source.ts:42

Y-axis rotation in radians (the board-plane rotation both 2D and 3D share).


scale: number

Defined in: packages/declarative-hex-worlds/src/asset-source/source.ts:44

Uniform scale.