Global

Members

boundingVolume : Object

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: undefined
See:
  • DrawCommand#debugShowBoundingVolume

castShadows : Boolean

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 its DrawCommand#boundingVolume. If the command was already culled, set this to false for a performance improvement.
Default Value: true

debugShowBoundingVolume : Boolean

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: false
See:
  • DrawCommand#boundingVolume

enablePickFeatures : Boolean

Gets or sets a value indicating whether feature picking is enabled. If true, WebMapServiceImageryProvider#pickFeatures will invoke the GetFeatureInfo 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

executeInClosestFrustum : Boolean

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
The framebuffer to draw to.
Default Value: undefined

instanceCount : Number

The number of instances to draw.
Default Value: 0
Gets the comma-separated list of layer IDs to show.
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

offset : Number

The offset to start drawing in the vertex array.
Default Value: 0
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: undefined
See:
  • DrawCommand#debugShowBoundingVolume
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

readonlypickFeaturesUrl : String

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 the UrlTemplateImageryProvider#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 the GetFeatureInfoFormat.
The type of geometry in the vertex array.
Default Value: PrimitiveType.TRIANGLES

receiveShadows : Boolean

Whether this command should receive shadows when shadowing is enabled.
Default Value: false

renderState : RenderState

The render state.
Default Value: undefined
The shader program to apply.
Default Value: undefined

uniformMap : Object

An object with functions whose names match the uniforms in the shader program and return values to set those uniforms.
Default Value: undefined

vertexArray : VertexArray

The vertex array.
Default Value: undefined