Constructors

Methods

  • Parameters

    Returns boolean

  • Parameters

    • targetObject: Target
    • distance: number

    Returns TriggerModel

  • Trigger that fires when an object has been tapped/clicked.

    Parameters

    • targetObject: Target

      The object or list of objects that can be interacted with.

    • inputMode: {
          direct: boolean;
          indirect: boolean;
      } = ...

      Input Mode (direct and/or indirect). Only available for USDObject targets. Only supported on Vision OS at the moment.

      • direct: boolean
      • indirect: boolean

    Returns TriggerModel