XRMediaLayerInit constructor

XRMediaLayerInit({
  1. required XRSpace space,
  2. XRLayerLayout? layout,
  3. bool? invertStereo,
})

Implementation

factory XRMediaLayerInit(
        {required XRSpace space,
        XRLayerLayout? layout,
        bool? invertStereo}) =>
    XRMediaLayerInit._(
        space: space,
        layout: layout?.value ?? XRLayerLayout.mono.value,
        invertStereo: invertStereo ?? false);