Interface ViewerInteractionEvent

Interaction events forward original canvas events and retrieves product and model ID

Hierarchy

  • ViewerInteractionEvent

Properties

Properties

event: MouseEvent | TouchEvent | PointerEvent | DragEvent

The original canvas event

id: number

Product ID, might be null if there is no product selected

model: number

Model ID, might be null if no product is selected

xyz: vec3

Location in real 3D space of the model (excluding WCS)

Generated using TypeDoc