HeightReference

Represents the position relative to the terrain.
Properties:
Name Type Description
NONE number The position is absolute.
CLAMP_TO_GROUND number The position is clamped to the terrain and 3D Tiles.
RELATIVE_TO_GROUND number The position height is the height above the terrain and 3D Tiles.
CLAMP_TO_TERRAIN number The position is clamped to terain.
RELATIVE_TO_TERRAIN number The position height is the height above terrain.
CLAMP_TO_3D_TILE number The position is clamped to 3D Tiles.
RELATIVE_TO_3D_TILE number The position height is the height above 3D Tiles.

Members

static constant Cesium.HeightReference.CLAMP_TO_3D_TILE : number

The position is clamped to 3D Tiles.
Default Value: 5

static constant Cesium.HeightReference.CLAMP_TO_GROUND : number

The position is clamped to the terrain and 3D Tiles.
Default Value: 1

static constant Cesium.HeightReference.CLAMP_TO_TERRAIN : number

The position is clamped to terain.
Default Value: 3

static constant Cesium.HeightReference.NONE : number

The position is absolute.

static constant Cesium.HeightReference.RELATIVE_TO_3D_TILE : number

The position height is the height above 3D Tiles.
Default Value: 6

static constant Cesium.HeightReference.RELATIVE_TO_GROUND : number

The position height is the height above the terrain and 3D Tiles.
Default Value: 2

static constant Cesium.HeightReference.RELATIVE_TO_TERRAIN : number

The position height is the height above terrain.
Default Value: 4
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.