Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface P3dEmbedApiClick

Hierarchy

Index

Properties

button

button: 0 | 1 | 2

Button of the click event

Optional coordinates

coordinates: { x: number; y: number; z: number }

Hit coordinates in model space

Type declaration

  • x: number
  • y: number
  • z: number

Optional material

material: P3dMaterial

Material instance that cursor was on

Optional materialIndex

materialIndex: number

Index of the material that cursor was on

Optional object

object: P3dObject

P3dObject instance that cursor was on

Optional objectIndex

objectIndex: number

Index of the P3dObject that cursor was on

status

status: "hit" | "miss"

Determines if cursor event was over the model or not

Generated using TypeDoc