Skip to content

Function: resolveReferenceSpaceType() ​

resolveReferenceSpaceType(session, preferred, fallbacks): Promise<ReferenceSpaceType>

Defined in: packages/core/src/init/xr.ts:277

Copyright (c) Meta Platforms, Inc. and affiliates.

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

Parameters ​

session ​

XRSession

preferred ​

ReferenceSpaceType

fallbacks ​

ReferenceSpaceType[]

Returns ​

Promise<ReferenceSpaceType>

Privacy | Terms