pickImageryLayers

Determines the imagery layers that are intersected by a pick ray. To compute a pick ray from a location on the screen, use Camera.getPickRay.

Return

An array that includes all of the layers that are intersected by a given pick ray. Undefined if no layers are selected.

Parameters

ray

The ray to test for intersection.

scene

The scene.

See also