registerController
fun registerController(controller: Controller, element: HTMLElement, priority: Double? = definedExternally)(source)
Registers a controller implementation with this host.
Parameters
controller
An implementation of the Controller interface to register with this host.
element
The DOM element containing the Cesium scene.
priority
An index, less than or equal to the current count of registed controllers, that defines the precedence of the new controller relative to those previously registered. A priority of 0 would mean the new controller would apply its updates before any other controller. As subsequent controllers are updated, their effects are applied on top of any previous update effects. If omitted, the new controller becomes the highest priority, i.e., its updates are applied after all other controllers. Default value - 0