Members
-
The bounding volume of the geometry in world space. This is used for culling and frustum selection.
For best rendering performance, use the tightest possible bounding volume. Although
undefined
is allowed, always try to provide a bounding volume to allow the tightest possible near and far planes to be computed for the scene, and minimize the number of frustums needed.-
Default Value:
- DrawCommand#debugShowBoundingVolume
undefined
See:
-
Whether this command should cast shadows when shadowing is enabled.
-
Default Value:
false
-
clockTrackedDataSource : DataSource
-
Gets or sets the data source to track with the viewer's clock.
-
The number of vertices to draw in the vertex array.
-
Default Value:
undefined
-
When
true
, the renderer frustum and horizon culls the command based on itsDrawCommand#boundingVolume
. If the command was already culled, set this tofalse
for a performance improvement.-
Default Value:
true
-
This property is for debugging only; it is not for production use nor is it optimized.
Draws the
DrawCommand#boundingVolume
for this command, assuming it is a sphere, when the command executes.-
Default Value:
- DrawCommand#boundingVolume
false
See:
-
Gets or sets a value indicating whether feature picking is enabled. If true,
WebMapServiceImageryProvider#pickFeatures
will invoke theGetFeatureInfo
service on the WMS server and attempt to interpret the features included in the response. If false,WebMapServiceImageryProvider#pickFeatures
will immediately return undefined (indicating no pickable features) without communicating with the server. Set this property to false if you know your data source does not support picking features or if you don't want this provider's features to be pickable.-
Default Value:
true
-
Specifies if this command is only to be executed in the frustum closest to the eye containing the bounding volume. Defaults to
false
.-
Default Value:
false
-
framebuffer : Framebuffer
-
The framebuffer to draw to.
-
Default Value:
undefined
-
The number of instances to draw.
-
Default Value:
0
-
Gets the comma-separated list of layer IDs to show.
-
modelMatrix : Matrix4
-
The transformation from the geometry in model space to world space.
When
undefined
, the geometry is assumed to be defined in world space.-
Default Value:
undefined
-
The offset to start drawing in the vertex array.
-
Default Value:
0
-
orientedBoundingBox : OrientedBoundingBox
-
The oriented bounding box of the geometry in world space. If this is defined, it is used instead of
DrawCommand#boundingVolume
for plane intersection testing.-
Default Value:
- DrawCommand#debugShowBoundingVolume
undefined
See:
-
The object who created this command. This is useful for debugging command execution; it allows us to see who created a command when we only have a reference to the command, and can be used to selectively execute commands with
Scene#debugCommandFilter
.-
Default Value:
undefined
See:
-
The pass when to render.
-
Default Value:
undefined
-
Gets the URL template to use to use to pick features. If this property is not specified,
UrlTemplateImageryProvider#pickFeatures
will immediately returned undefined, indicating no features picked. The URL template supports all of the keywords supported by theUrlTemplateImageryProvider#url
property, plus the following:{i}
: The pixel column (horizontal coordinate) of the picked position, where the Westernmost pixel is 0.{j}
: The pixel row (vertical coordinate) of the picked position, where the Northernmost pixel is 0.{reverseI}
: The pixel column (horizontal coordinate) of the picked position, where the Easternmost pixel is 0.{reverseJ}
: The pixel row (vertical coordinate) of the picked position, where the Southernmost pixel is 0.{longitudeDegrees}
: The longitude of the picked position in degrees.{latitudeDegrees}
: The latitude of the picked position in degrees.{longitudeProjected}
: The longitude of the picked position in the projected coordinates of the tiling scheme.{latitudeProjected}
: The latitude of the picked position in the projected coordinates of the tiling scheme.{format}
: The format in which to get feature information, as specified in theGetFeatureInfoFormat
.
-
primitiveType : PrimitiveType
-
The type of geometry in the vertex array.
-
Default Value:
PrimitiveType.TRIANGLES
-
Whether this command should receive shadows when shadowing is enabled.
-
Default Value:
false
-
The render state.
-
Default Value:
undefined
-
shaderProgram : ShaderProgram
-
The shader program to apply.
-
Default Value:
undefined
-
An object with functions whose names match the uniforms in the shader program and return values to set those uniforms.
-
Default Value:
undefined
-
The vertex array.
-
Default Value:
undefined