XRMediaEquirectLayerInit constructor

XRMediaEquirectLayerInit({
  1. XRRigidTransform? transform,
  2. double? radius,
  3. double? centralHorizontalAngle,
  4. double? upperVerticalAngle,
  5. double? lowerVerticalAngle,
})

Implementation

factory XRMediaEquirectLayerInit(
        {XRRigidTransform? transform,
        double? radius,
        double? centralHorizontalAngle,
        double? upperVerticalAngle,
        double? lowerVerticalAngle}) =>
    XRMediaEquirectLayerInit._(
        transform: transform ?? undefined,
        radius: radius ?? 0.0,
        centralHorizontalAngle: centralHorizontalAngle ?? 6.28318,
        upperVerticalAngle: upperVerticalAngle ?? 1.570795,
        lowerVerticalAngle: lowerVerticalAngle ?? -1.570795);