SensorMaterialProperty

new Cesium.SensorMaterialProperty(options)

A MaterialProperty that maps to a sensor Material uniforms.
Name Type Description
options Object optional Object with the following properties:
Name Type Default Description
color Property | Color Color.WHITE optional The Color Property to be used.
showIntersection Property | Boolean true optional The flag to show intersection.
showThroughEllipsoid Property | Boolean false optional The flag to show through ellipsoid.
sensorRadius Property | Number 10000000.0 optional The sensor radius.
normalDirection Property | Number 1.0 optional The normal direction.
intersectionColor Property | Color Color.RED optional The color for intersections.
intersectionWidth Property | Number 1.0 optional The width of intersections.
vertexShaderSource String shaderVS optional The vertex shader code.
fragmentShaderSource String shaderFS optional The fragment shader code.
Need help? [email protected]