style
The style, defined using the 3D Tiles Styling language, applied to each point in the point cloud.
Assign undefined
to remove the style, which will restore the visual appearance of the point cloud to its default when no style was applied.
pointCloud.style = new Cesium3DTileStyle({
color : {
conditions : [
['${Classification} === 0', 'color("purple", 0.5)'],
['${Classification} === 1', 'color("red")'],
['true', '${COLOR}']
]
},
show : '${Classification} !== 2'
});
Content copied to clipboard