Class: CyclicPickController

CyclicPickController(wwd, events, cb)

The CyclicPickController highlights picked renderables in top to bottom order. After a full pass all the renderables are highlighted.

Constructor

new CyclicPickController(wwd, events, cb)

Constructs a CyclicPickController.
Parameters:
Name Type Description
wwd WorldWindow The WorldWindow instance.
events Array.<String> An array with the events that this controller will react to.
cb function A callback function to call with the current highlighted renderables.
Source:

Methods

setNextHighlightStage(renderables) → {Array.<Renderable>}

Sets the highlight of the picked renderables.
Parameters:
Name Type Description
renderables Array.<Renderable> An array of renderables.
Source:
Returns:
An array with the highlighted renderables.
Type
Array.<Renderable>