Skip to content

KBE3D / KBCore / Cesium / HeightReference

枚举: HeightReference

Represents the position relative to the terrain.

枚举成员

NONE

NONE: 0

The position is absolute.


CLAMP_TO_GROUND

CLAMP_TO_GROUND: 1

The position is clamped to the terrain and 3D Tiles. When clamping to 3D Tilesets such as photorealistic 3D Tiles, ensure the tileset has Cesium3DTileset#enableCollision set to <code>true</code>. Otherwise, the entity may not be correctly clamped to the tileset surface.


RELATIVE_TO_GROUND

RELATIVE_TO_GROUND: 2

The position height is the height above the terrain and 3D Tiles.


CLAMP_TO_TERRAIN

CLAMP_TO_TERRAIN: 3

The position is clamped to terain.


RELATIVE_TO_TERRAIN

RELATIVE_TO_TERRAIN: 4

The position height is the height above terrain.


CLAMP_TO_3D_TILE

CLAMP_TO_3D_TILE: 5

The position is clamped to 3D Tiles.


RELATIVE_TO_3D_TILE

RELATIVE_TO_3D_TILE: 6

The position height is the height above 3D Tiles.

KBE3D @3.0.0 Copyright © 2024-present KBE3D