Variable: XRQuadLayer
constXRQuadLayer:Component<{height: {default:number;type:Float32; };pixelHeight: {default:number;type:Int16; };pixelWidth: {default:number;type:Int16; };renderCallback: {default:any;type:Object; };stencil: {default:false;type:Boolean; };width: {default:number;type:Float32; }; }>
Defined in: packages/core/src/layers/xr-quad-layer.ts:23
XRQuadLayer - Component for WebXR quad composition layers.
A quad layer renders content onto a flat rectangular surface positioned in 3D space. The entity's transform controls the layer's world position and orientation. In XR, the content is composited by the device's native compositor for sharper rendering and lower latency.
Outside XR, the layer content is displayed on a textured plane mesh as a fallback.