Extends
Members
-
_defaultActive{number}
-
A bitmask representing the default events to listen to
vcs.vcm.interaction.EventType, default is NONE -
_defaultModificationKey{number}
-
The default bitmask for modification keys to listen to,
vcs.vcm.interaction.ModificationKeyTypedefault is NONE -
active{number}
-
The current active bitmask for
vcs.vcm.interaction.EventType -
excludedPickPositionEvents{number}
-
Bitmask of
vcs.vcm.interaction.EventTypefor which to never pick positions. In IE11 defaults toEventType.MOVE|EventType.DRAG
-
hitTolerance{number}
-
The number of pixels to take into account for picking features
- Default Value:
- 10
-
modificationKey{number}
-
The current active
vcs.vcm.interaction.ModificationKeyType -
pickPosition{number}
-
Bitmask of
vcs.vcm.interaction.EventTypefor which events to pick the position -
pickTranslucent{boolean}
-
whether to pick translucent depth or not, defaults to true
-
pullPickedPosition{number}
-
Pulls the picked position towards the camera position by this number
- Default Value:
- 0
Methods
-
handleMapChange(map) inherited
-
Actions to perform on map change
Name Type Description mapvcs.vcm.maps.Map -
pipe(event){Promise.<vcs.vcm.interaction.Event>} inherited
-
Main function, called when an event is raised for this interaction
Name Type Description eventvcs.vcm.interaction.Event -
setActive(active) inherited
-
Sets the interaction active. Use boolean (true|false) to toggle default behavior. Pass it a bitmask of
vcs.vcm.interaction.EventTypeto change the active state. Call without arguments to reset the default active, modification key and pointer Key behaviorName Type Description activeboolean | number -
setModification(mod) inherited
-
Sets the modification key to listen to
Name Type Description modnumber -
setPointer(pointer) inherited
-
Sets the pointer key for this interaction$
Name Type Description pointernumber
virtualcityMAP 3.6