XRProjectionLayerInit constructor

XRProjectionLayerInit({
  1. XRTextureType? textureType,
  2. int? colorFormat,
  3. int? depthFormat,
  4. 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);