Class ExtrudeInteraction

A class to handle events on a TransformationHandler. Should be used with TransformationHandler created for mode TransformationMode.EXTRUDE. If the Z handler is dragged, the extruded event will be raised with a delta in Z direction. This interaction only works if a CesiumMap is the active map.

Hierarchy

Constructors

Methods

  • Sets the interaction active. Use boolean (true|false) to toggle default behavior. Pass it a bitmask of EventType to change the active state. Call without arguments to reset the default active, modification key and pointer Key behavior

    Parameters

    • Optional active: number | boolean

    Returns void

Properties

_getExtrudeEvent: null | ((coord, windowPosition) => number) = null

Type declaration

    • (coord, windowPosition): number
    • Parameters

      • coord: Coordinate
      • windowPosition: Cartesian2

      Returns number

_transformationHandler: null | TransformationHandler
active: number

The current active bitmask for EventType

extruded: VcsEvent<number> = ...

Event raised with the extrusion delta to the last event fired.

id: string

A unique identifier for this interaction

modificationKey: ModificationKeyType

The current active ModificationKeyType

pointerKey: PointerKeyType

The currently active PointerKeyType

Generated using TypeDoc