Engine API Reference - v2.6.1
    Preparing search index...

    Type Alias XrHitTestStartCallback

    XrHitTestStartCallback: (
        err: Error | null,
        hitTestSource: XrHitTestSource | null,
    ) => any

    Type declaration

      • (err: Error | null, hitTestSource: XrHitTestSource | null): any
      • Parameters

        • err: Error | null

          The Error object if failed to create hit test source or null.

        • hitTestSource: XrHitTestSource | null

          Object that provides access to hit results against real world geometry.

        Returns any