Appearance
KBE3D / KBCore / utils / HighlightTilesetSchema
接口: HighlightTilesetSchema
3dtiles模型高亮模式类型
属性
id
id:
string|number
模式id
type?
optionaltype:"edge"|"full"
高亮样式的类型:'edge' | 'full'(描边|整体),默认为 edge - 注意:当模型设置了`customShader`的情况下,`full`模式将不再适用
selectedColor?
optionalselectedColor:string|Color
高亮的颜色,支持css颜色值,当它为Cesium.Color.WHITE(白色)时,特征的颜色不会改变,默认为 Cesium.Color.CYAN(青蓝色) <span class="colorSwath" style="background: #00ffff;"></span>
length?
optionallength:number
边缘强度,取值范围在0到1之间,默认值为0.01 - 仅当`type`为`edge`时适用 如果你想要几乎所有计算出的边缘都被视为“显著”的,那么你可以将length设置为一个相对较小的值。 如果你只想要非常明显的深度变化才被视为“显著”的,那么你应该将length设置为一个相对较大的值。
