Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface P3dEmbedApiOptions

Hierarchy

  • P3dEmbedApiOptions

Index

Properties

hoverRate?: number

Maximum rate in milliseconds that hover events are fired. Default: 100 ms

Methods

  • Callback that triggers when user clicks inside the embed

    Parameters

    Returns void

  • Callback that triggers when user moves (or "hovers") the pointer inside the embed. Fires at maximum 10 times per second

    Parameters

    Returns void

  • onload(): void
  • Callback that triggers whe model is finished loading and is displayed to the user

    Returns void

  • onready(): void
  • Callback that triggers when embed api is ready to start communicating with the embed iframe. This however does not mean that the model has finished loading.

    Returns void

Generated using TypeDoc