Variable: XRCylinderLayer
constXRCylinderLayer:Component<{aspectRatio: {default:number;type:Float32; };centralAngle: {default:number;type:Float32; };pixelHeight: {default:number;type:Int16; };pixelWidth: {default:number;type:Int16; };radius: {default:number;type:Float32; };renderCallback: {default:any;type:Object; };stencil: {default:false;type:Boolean; }; }>
Defined in: packages/core/src/layers/xr-cylinder-layer.ts:23
XRCylinderLayer - Component for WebXR cylinder composition layers.
A cylinder layer renders content onto a curved rectangular surface. The viewer sees the inside of the cylinder. The entity's transform controls the layer's world position and orientation. In XR, the content is composited by the device's native compositor.
Outside XR, the layer content is displayed on a textured cylinder mesh as a fallback.