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.
Parameters
Section titled “Parameters”entity
Section titled “entity”Entity | null | undefined
Returns
Section titled “Returns”Type Literal
Section titled “Type Literal”{ baseAssetId: string; elevation: number; supportAssetId: string; }
baseAssetId
Section titled “baseAssetId”baseAssetId:
string=''
Asset id for the visible tile top.
elevation
Section titled “elevation”elevation:
number=0
Stacked elevation level for the tile top.
supportAssetId
Section titled “supportAssetId”supportAssetId:
string=''
Optional asset id for the vertical support below elevated tiles.
undefined