@JsType(isNative=true, namespace="Cesium", name="PointCloudShading") public class PointCloudShading extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
attenuation
Perform point attenuation based on geometric error.
|
boolean |
backFaceCulling
Determines whether back-facing points are hidden.
|
double |
baseResolution
Average base resolution for the dataset in meters.
|
boolean |
eyeDomeLighting
When true, use eye dome lighting when drawing with point attenuation.
|
double |
eyeDomeLightingRadius
Increase the thickness of contours from eye dome lighting.
|
double |
eyeDomeLightingStrength
Increasing this value increases contrast on slopes and edges.
|
double |
geometricErrorScale
Scale to be applied to each tile's geometric error.
|
int |
maximumAttenuation
Maximum attenuation in pixels.
|
boolean |
normalShading
Determines whether a point cloud that contains normals is shaded based on the sun direction.
|
Constructor and Description |
---|
PointCloudShading()
Options for performing point attenuation based on geometric error when rendering point clouds using 3D Tiles.
|
PointCloudShading(PointCloudShadingOptions options)
Options for performing point attenuation based on geometric error when rendering point clouds using 3D Tiles.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isSupported(Scene scene)
Determines if point cloud shading is supported.
|
@JsProperty public boolean attenuation
@JsProperty public boolean backFaceCulling
@JsProperty public double geometricErrorScale
@JsProperty public int maximumAttenuation
@JsProperty public double baseResolution
@JsProperty public boolean eyeDomeLighting
@JsProperty public double eyeDomeLightingStrength
@JsProperty public double eyeDomeLightingRadius
@JsProperty public boolean normalShading
@JsConstructor public PointCloudShading()
@JsConstructor public PointCloudShading(PointCloudShadingOptions options)
options
- object PointCloudShadingOptions
@JsMethod public static boolean isSupported(Scene scene)
scene
- The scene.Copyright © 2019. All rights reserved.