XRProjectionLayerInit constructor
XRProjectionLayerInit({
- XRTextureType? textureType,
- int? colorFormat,
- int? depthFormat,
- double? scaleFactor,
Implementation
factory XRProjectionLayerInit(
{XRTextureType? textureType,
int? colorFormat,
int? depthFormat,
double? scaleFactor}) =>
XRProjectionLayerInit._(
textureType: textureType?.value ?? XRTextureType.texture.value,
colorFormat: colorFormat ?? 0x1908,
depthFormat: depthFormat ?? 0x1902,
scaleFactor: scaleFactor ?? 1.0);