Skip to content

useTileElevation

useTileElevation(entity): { baseAssetId: string; elevation: number; supportAssetId: string; } | undefined

Defined in: src/react/react.ts:856

Read base elevation data for one tile entity.

Entity | null | undefined

{ baseAssetId: string; elevation: number; supportAssetId: string; }

baseAssetId: string = ''

Asset id for the visible tile top.

elevation: number = 0

Stacked elevation level for the tile top.

supportAssetId: string = ''

Optional asset id for the vertical support below elevated tiles.


undefined