API

Interface IWebXRLayersOptions

Configuration options of the layers feature

interface IWebXRLayersOptions {
    preferMultiviewOnInit?: boolean;
    projectionLayerInit?: any;
}
Index
preferMultiviewOnInit?: boolean

Whether to try initializing the base projection layer as a multiview render target, if multiview is supported. Defaults to false.

projectionLayerInit?: any

Optional configuration for the base projection layer.