Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface P3dEmbedApiClick

Hierarchy

Index

Properties

button: 0 | 2 | 1

Button of the click event

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

Hit coordinates in model space

Type declaration

  • x: number
  • y: number
  • z: number
material?: P3dMaterial

Material instance that cursor was on

materialIndex?: number

Index of the material that cursor was on

object?: P3dObject

P3dObject instance that cursor was on

objectIndex?: number

Index of the P3dObject that cursor was on

status: "hit" | "miss"

Determines if cursor event was over the model or not

Generated using TypeDoc