Events fired by ViewController that users can subscribe to for custom behavior.

Properties

Event fired when a ViewObject is double-picked.

Event fired when empty space is double-picked.

Event fired when a surface is double-picked.

Event fired when the pointer moves while over a ViewObject.

Event fired when the pointer moves onto a ViewObject.

Event fired when the pointer moves while over empty space.

Event fired when the pointer moves off a ViewObject.

onHoverSnapOrSurface: EventEmitter<ViewController, any>

Event fired when snapping onto a surface, vertex, or edge.

onHoverSnapOrSurfaceOff: EventEmitter<ViewController, any>

Event fired when snapping off a surface, vertex, or edge.

Event fired when a ViewObject is picked.

onPickedNothing: EventEmitter<ViewController, null>

Event fired when empty space is picked.

Event fired when a surface is picked (pick result has a world position).

onRayMove: EventEmitter<ViewController, any>

Event fired when ray moves.

onRightClick: EventEmitter<ViewController, any>

Event fired when we right-click.