# HeightReference

engine/Source/Scene/HeightReference.js 6
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
engine/Source/Scene/HeightReference.js 47

The position is clamped to 3D Tiles.

Default Value: `5`

#### static constant Cesium.HeightReference.CLAMP_TO_GROUND : number
engine/Source/Scene/HeightReference.js 19

The position is clamped to the terrain and 3D Tiles.

Default Value: `1`

#### static constant Cesium.HeightReference.CLAMP_TO_TERRAIN : number
engine/Source/Scene/HeightReference.js 33

The position is clamped to terain.

Default Value: `3`

#### static constant Cesium.HeightReference.NONE : number
engine/Source/Scene/HeightReference.js 12

The position is absolute.

#### static constant Cesium.HeightReference.RELATIVE_TO_3D_TILE : number
engine/Source/Scene/HeightReference.js 54

The position height is the height above 3D Tiles.

Default Value: `6`

#### static constant Cesium.HeightReference.RELATIVE_TO_GROUND : number
engine/Source/Scene/HeightReference.js 26

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

Default Value: `2`

#### static constant Cesium.HeightReference.RELATIVE_TO_TERRAIN : number
engine/Source/Scene/HeightReference.js 40

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.