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

    Type Alias XrAnchorCreateCallback

    XrAnchorCreateCallback: (err: Error | null, anchor: XrAnchor | null) => void

    Callback used by XrAnchors#create.

    Type declaration

      • (err: Error | null, anchor: XrAnchor | null): void
      • Parameters

        • err: Error | null

          The Error object if failed to create an anchor or null.

        • anchor: XrAnchor | null

          The anchor that is tracked against real world geometry.

        Returns void