HypsometricSetting

new Cesium.HypsometricSetting()

Layered coloring category. This class is mainly used to formulate 3D model rendering and display solutions.

Layered coloring is a common way of map visualization. It expresses and distinguishes different attributes of three-dimensional data through a certain color change sequence or tone depth.

Members

ColorTable : ColorTable

Get or set the color table.
Example:
var hypsometricSetting = new Cesium.HypsometricSetting();
//Set the color table
var colorTable = new Cesium.ColorTable();
colorTable.insert(900, new Cesium.Color(1, 0, 0));
colorTable.insert(600, new Cesium.Color(0, 0, 1));
hypsometricSetting.ColorTable= colorTable;
//Get the color table
var value= hypsometricSetting.ColorTable;

readonlyColorTableMaxKey : Number

Get the maximum key value of the color table.
Example:
var hypsometricSetting = new Cesium.HypsometricSetting();
var maxKey = hypsometricSetting.ColorTableMaxKey ;

readonlyColorTableMinKey : Number

Get the minimum key value of the color table.
Example:
var hypsometricSetting = new Cesium.HypsometricSetting();
var minKey = hypsometricSetting.ColorTableMinKey ;

CoverageArea : Array

Gets or sets the layered and colored area.
Example:
var hypsometricSetting = new Cesium.HypsometricSetting();
//Set layered color area
var pos = new Array();
pos.push(110.0);pos.push(40.03);pos.push(110.0);
pos.push(110.0);pos.push(40.001);pos.push(110.0);
pos.push(110.103);pos.push(40.001);pos.push(110.0);
pos.push(110.103);pos.push(40.03);pos.push(110.0);
hypsometricSetting.CoverageArea= pos;
//Get layered and colored areas
var value= hypsometricSetting.CoverageArea;

DisplayMode : DisplayMode

Get or set the display mode.
Example:
var hypsometricSetting = new Cesium.HypsometricSetting();
//Set display mode
hypsometricSetting.DisplayMode= Cesium.HysometricSetting
Enum.DisplayMode.FACE;LineColor
//Get display mode
var value= hypsometricSetting.DisplayMode;

emissionTexCoordScale : Scale

Gets or sets the range of the emissive texture.

emissionTexCoordUSpeed : Number

Gets or sets the moving speed of the emissive texture in the U direction. The texture coordinates of the U direction of the entire texture are from 0.0 to 1.0, and the speed unit is the offset of the texture coordinates per second.
Example:
var hypsometricSetting = new Cesium.HypsometricSetting();
//Set the movement speed of the emissive texture in the U direction
var emissionTexCoordSpeed = value;
hypsometricSetting.emissionTexCoordUSpeed = emissionTexCoordSpeed;
//Obtain the movement speed of the self-luminous texture in the U direction
var value= hypsometricSetting.emissionTexCoordUSpeed ;

emissionTexCoordVSpeed : Number

Gets or sets the movement speed of the emissive texture in the V direction.

emissionTextureArray : Array

Set the self-illumination texture.

emissionTextureUrl : String

Set or get self-luminous texture
Example:
var hypsometricSetting = new Cesium.HypsometricSetting();
//Set emissive texture
var emissionTextureUrl = String;
hypsometricSetting.emissionTextureUrl = emissionTextureUrl;
//Get emissive texture
var value= hypsometricSetting.emissionTextureUrl ;

LineColor : Color

Gets or sets the color of the contour.
Example:
var hypsometricSetting = new Cesium.HypsometricSetting();
//Set the color of the line
var color = new Cesium.Color(1, 0, 0);
hypsometricSetting.LineColor = color;
//Get the color of the line
var value= hypsometricSetting.LineColor ;

LineInterval : Number

Gets or sets the interval of the contour.
Example:
var hypsometricSetting = new Cesium.HypsometricSetting();
//Set the line interval
hypsometricSetting.LineInterval= 10;
//Get line interval
var value= hypsometricSetting.LineInterval;

MaxVisibleValue : Number

Get or set the maximum visible value.
Example:
var hypsometricSetting = new Cesium.HypsometricSetting();
//Set the maximum visible value
hypsometricSetting.MaxVisibleValue = 150;
//Get the maximum visible value
var value= hypsometricSetting.MaxVisibleValue;

MinVisibleValue : Number

Get or set the minimum visible value.
Example:
var hypsometricSetting = new Cesium.HypsometricSetting();
//Set minimum visible value
hypsometricSetting.MinVisibleValue = 30;
//Get the minimum visible value
var value= hypsometricSetting.MinVisibleValue;

noValueColor : Color

Set or get invalid color value, default white

Opacity : Number

Get or set the opacity, the value range is 0-1, where 0 means completely transparent and 1 means completely opaque.
Example:
var hypsometricSetting = new Cesium.HypsometricSetting();
//Set transparency
hypsometricSetting.Opacity = 0.5;
//Get transparency
var value= hypsometricSetting.Opacity;

Methods

staticCesium.HypsometricSetting.clone(hypSetting, result)HypsometricSetting

Duplicate a layered and colored object.
Name Type Description
hypSetting HypsometricSetting The layered and tinted object to be cloned.
result HypsometricSetting optional If this parameter is not passed in, a new instance will be created.
Returns:
Layered and tinted objects.
Example:
var hypsometricSetting = new Cesium.HypsometricSetting();
hypsometricSetting.LineInterval= 10;
var cloneHypsometricSetting = Cesium.HypsometricSetting.clone(hypsometricSetting )