Methods
static Cesium.ColorTransfer.fromQColroMap(url) → Promise.<ColorTransfer>
通过qgis导出的样式文件生成对象,目前仅支持colormap样式
Name | Type | Description |
---|---|---|
url |
string | 样式文件的url地址 |
Returns:
根据样式文件创建的带有ColorTransfer的Promise对象
static Cesium.ColorTransfer.getDefault() → RenderRuleType
获取默认值
Returns:
清空颜色值
Returns:
克隆
Returns:
销毁对象
generateTextureUniform() → TextureUniform
生成TextureUniform
Returns:
获取颜色值
Name | Type | Description |
---|---|---|
value |
Number | 键值,根据键值差值计算对应颜色值 |
获取已设置的颜色数量
Returns:
移除颜色
Name | Type | Description |
---|---|---|
键值 |
Number |
设置颜色值
Name | Type | Description |
---|---|---|
value |
Number | 键值,生成颜色表的排序依据 |
color |
Color | 颜色值 |