@JsType(isNative=true, namespace="<global>", name="Object") public class GroundPrimitiveOptions extends Object
GroundPrimitive
Modifier and Type | Field and Description |
---|---|
boolean |
allowPicking
When true, each geometry instance will only be pickable with Scene#pick.
|
boolean |
asynchronous
Determines if the primitive will be created asynchronously or block until ready.
|
Number |
classificationType
Determines whether terrain, 3D Tiles or both will be classified.
|
boolean |
compressVertices
When true, the geometry vertices are compressed, which will save memory.
|
boolean |
debugShowBoundingVolume
For debugging only.
|
boolean |
debugShowShadowVolume
For debugging only.
|
GeometryInstance[] |
geometryInstances
The geometry instances to render.
|
boolean |
interleave
When true, geometry vertex attributes are interleaved, which can slightly improve rendering performance but increases load time.
|
boolean |
releaseGeometryInstances
When true, the primitive does not keep a reference to the input geometryInstances to save memory.
|
boolean |
show
Determines if this primitive will be shown.
|
boolean |
vertexCacheOptimize
When true, geometry vertices are optimized for the pre and post-vertex-shader caches.
|
Constructor and Description |
---|
GroundPrimitiveOptions() |
@JsProperty public GeometryInstance[] geometryInstances
@JsProperty public boolean show
@JsProperty public boolean vertexCacheOptimize
@JsProperty public boolean interleave
@JsProperty public boolean compressVertices
@JsProperty public boolean releaseGeometryInstances
@JsProperty public boolean allowPicking
@JsProperty public boolean asynchronous
@JsProperty public Number classificationType
ClassificationType.BOTH()
@JsProperty public boolean debugShowBoundingVolume
@JsProperty public boolean debugShowShadowVolume
Copyright © 2019. All rights reserved.