@JsType(isNative=true, namespace="<global>", name="Object") public class Cesium3DTilesetOptions extends Object
Modifier and Type | Field and Description |
---|---|
double |
baseScreenSpaceError
When skipLevelOfDetail is true, the screen space error that must be reached before skipping levels of detail.
|
ClassificationType |
classificationType
Determines whether terrain, 3D Tiles or both will be classified by this tileset.
|
ClippingPlaneCollection |
clippingPlanes
The
ClippingPlaneCollection used to selectively disable rendering the tileset. |
boolean |
cullRequestsWhileMoving
Don't request tiles that will likely be unused when they come back because of the camera's movement.
|
double |
cullRequestsWhileMovingMultiplier
Multiplier used in culling requests while moving.
|
boolean |
cullWithChildrenBounds
Optimization option.
|
boolean |
debugColorizeTiles
For debugging only.
|
boolean |
debugFreezeFrame
For debugging only.
|
boolean |
debugShowBoundingVolume
For debugging only.
|
boolean |
debugShowContentBoundingVolume
For debugging only.
|
boolean |
debugShowGeometricError
For debugging only.
|
boolean |
debugShowMemoryUsage
For debugging only.
|
boolean |
debugShowRenderingStatistics
For debugging only.
|
boolean |
debugShowViewerRequestVolume
For debugging only.
|
boolean |
debugWireframe
For debugging only.
|
boolean |
dynamicScreenSpaceError
Optimization option.
|
double |
dynamicScreenSpaceErrorDensity
Density used to adjust the dynamic screen space error, similar to fog density.
|
double |
dynamicScreenSpaceErrorFactor
A factor used to increase the computed dynamic screen space error.
|
double |
dynamicScreenSpaceErrorHeightFalloff
A ratio of the tileset's height at which the density starts to falloff.
|
Ellipsoid |
ellipsoid
The ellipsoid determining the size and shape of the globe.
|
double |
foveatedConeSize
Optimization option.
|
Cesium3DTileset.FoveatedInterpolationCallback |
foveatedInterpolationCallback
Optimization option.
|
double |
foveatedMinimumScreenSpaceErrorRelaxation
Optimization option.
|
boolean |
foveatedScreenSpaceError
Optimization option.
|
double |
foveatedTimeDelay
Optimization option.
|
Cartesian2 |
imageBasedLightingFactor
Scales the diffuse and specular image-based lighting from the earth, sky, atmosphere and star skybox.
|
boolean |
immediatelyLoadDesiredLevelOfDetail
When skipLevelOfDetail is true, only tiles that meet the maximum screen space error will ever be downloaded.
|
Cartesian3 |
lightColor
The color and intensity of the sunlight used to shade models.
|
boolean |
loadSiblings
When skipLevelOfDetail is true, determines whether siblings of visible tiles are always downloaded during traversal.
|
double |
luminanceAtZenith
The sun's luminance at the zenith in kilo candela per meter squared to use for this model's procedural environment map.
|
double |
maximumMemoryUsage
The maximum amount of memory in MB that can be used by the tileset.
|
double |
maximumScreenSpaceError
The maximum screen space error used to drive level of detail refinement.
|
Matrix4 |
modelMatrix
A 4x4 transformation matrix that transforms the tileset's root tile.
|
PointCloudShading |
pointCloudShading
Options for constructing a PointCloudShading object to control point attenuation based on geometric error and lighting.
|
boolean |
preferLeaves
Optimization option.
|
boolean |
preloadFlightDestinations
Preload tiles at the camera's flight destination while the camera is in flight.
|
boolean |
preloadWhenHidden
Preload tiles when tileset.show is false.
|
double |
progressiveResolutionHeightFraction
Optimization option.
|
Promise<?,?> |
promise |
Resource |
resource |
Number |
shadows
Determines whether the tileset casts or receives shadows from each light source.
|
boolean |
show
Determines if the tileset will be shown.
|
boolean |
skipLevelOfDetail
Optimization option.
|
double |
skipLevels
When skipLevelOfDetail is true, a constant defining the minimum number of levels to skip when loading tiles.
|
double |
skipScreenSpaceErrorFactor
When skipLevelOfDetail is true, a multiplier defining the minimum screen space error to skip.
|
String |
specularEnvironmentMaps
A URL to a KTX file that contains a cube map of the specular lighting and the convoluted specular mipmaps.
|
Cartesian3[] |
sphericalHarmonicCoefficients
The third order spherical harmonic coefficients used for the diffuse color of image-based lighting.
|
String |
url
The url to a tileset.json file or to a directory containing a tileset.json file.
|
Modifier and Type | Method and Description |
---|---|
static Cesium3DTilesetOptions |
create(Promise<?,?> url) |
static Cesium3DTilesetOptions |
create(Resource url) |
static Cesium3DTilesetOptions |
create(String url) |
@JsProperty public String url
@JsProperty(name="url") public Resource resource
@JsProperty(name="url") public Promise<?,?> promise
@JsProperty public boolean show
@JsProperty public Matrix4 modelMatrix
Matrix4.IDENTITY()
@JsProperty public Number shadows
ShadowMode.ENABLED()
@JsProperty public double maximumScreenSpaceError
@JsProperty public double maximumMemoryUsage
@JsProperty public boolean cullWithChildrenBounds
@JsProperty public boolean cullRequestsWhileMoving
@JsProperty public double cullRequestsWhileMovingMultiplier
@JsProperty public boolean preloadWhenHidden
@JsProperty public boolean preloadFlightDestinations
@JsProperty public boolean preferLeaves
@JsProperty public boolean dynamicScreenSpaceError
@JsProperty public double dynamicScreenSpaceErrorDensity
@JsProperty public double dynamicScreenSpaceErrorFactor
@JsProperty public double dynamicScreenSpaceErrorHeightFalloff
@JsProperty public double progressiveResolutionHeightFraction
@JsProperty public boolean foveatedScreenSpaceError
Cesium3DTileset.foveatedConeSize
are loaded.
Default: true@JsProperty public double foveatedConeSize
Cesium3DTileset.foveatedScreenSpaceError
is true to control the cone size that
determines which tiles are deferred. Tiles that are inside this cone are loaded immediately. Tiles outside the
cone are potentially deferred based on how far outside the cone they are and their screen space error.
This is controlled by Cesium3DTileset.foveatedInterpolationCallback
and Cesium3DTileset.foveatedMinimumScreenSpaceErrorRelaxation
.
Setting this to 0.0 means the cone will be the line formed by the camera position and its view direction.
Setting this to 1.0 means the cone encompasses the entire field of view of the camera, disabling the effect.
Default: 0.1@JsProperty public double foveatedMinimumScreenSpaceErrorRelaxation
Cesium3DTileset.foveatedScreenSpaceError
is true to control the starting screen
space error relaxation for tiles outside the foveated cone. The screen space error will be raised starting with
tileset value up to Cesium3DTileset.maximumScreenSpaceError
based on the provided Cesium3DTileset.foveatedInterpolationCallback
.
Default: 0.0@JsProperty public Cesium3DTileset.FoveatedInterpolationCallback foveatedInterpolationCallback
Cesium3DTileset.foveatedScreenSpaceError
is true to control how much to
raise the screen space error for tiles outside the foveated cone, interpolating
between Cesium3DTileset.foveatedMinimumScreenSpaceErrorRelaxation
and Cesium3DTileset.maximumScreenSpaceError
@JsProperty public double foveatedTimeDelay
Cesium3DTileset.foveatedScreenSpaceError
is true to control how long in seconds
to wait after the camera stops moving before deferred tiles start loading in. This time delay prevents requesting
tiles around the edges of the screen when the camera is moving.
Setting this to 0.0 will immediately request all tiles in any given view.
Default: 0.2@JsProperty public boolean skipLevelOfDetail
@JsProperty public double baseScreenSpaceError
@JsProperty public double skipScreenSpaceErrorFactor
@JsProperty public double skipLevels
@JsProperty public boolean immediatelyLoadDesiredLevelOfDetail
@JsProperty public boolean loadSiblings
@JsProperty public ClippingPlaneCollection clippingPlanes
ClippingPlaneCollection
used to selectively disable rendering the tileset.
Clipping planes are not currently supported in Internet Explorer.@JsProperty public ClassificationType classificationType
Cesium3DTileset.classificationType()
for details about restrictions and limitations.@JsProperty public Ellipsoid ellipsoid
Ellipsoid.WGS84()
@JsProperty public PointCloudShading pointCloudShading
@JsProperty public Cartesian2 imageBasedLightingFactor
@JsProperty public Cartesian3 lightColor
@JsProperty public double luminanceAtZenith
@JsProperty public Cartesian3[] sphericalHarmonicCoefficients
@JsProperty public String specularEnvironmentMaps
@JsProperty public boolean debugFreezeFrame
@JsProperty public boolean debugColorizeTiles
@JsProperty public boolean debugWireframe
@JsProperty public boolean debugShowBoundingVolume
@JsProperty public boolean debugShowContentBoundingVolume
@JsProperty public boolean debugShowViewerRequestVolume
@JsProperty public boolean debugShowGeometricError
@JsProperty public boolean debugShowRenderingStatistics
@JsProperty public boolean debugShowMemoryUsage
@JsOverlay public static Cesium3DTilesetOptions create(String url)
@JsOverlay public static Cesium3DTilesetOptions create(Resource url)
@JsOverlay public static Cesium3DTilesetOptions create(Promise<?,?> url)
Copyright © 2019. All rights reserved.