XREquirectLayerInit constructor

XREquirectLayerInit({
  1. XRTextureType? textureType,
  2. XRRigidTransform? transform,
  3. double? radius,
  4. double? centralHorizontalAngle,
  5. double? upperVerticalAngle,
  6. double? lowerVerticalAngle,
})

Implementation

factory XREquirectLayerInit(
        {XRTextureType? textureType,
        XRRigidTransform? transform,
        double? radius,
        double? centralHorizontalAngle,
        double? upperVerticalAngle,
        double? lowerVerticalAngle}) =>
    XREquirectLayerInit._(
        textureType: textureType?.value ?? XRTextureType.texture.value,
        transform: transform ?? undefined,
        radius: radius ?? 0,
        centralHorizontalAngle: centralHorizontalAngle ?? 6.28318,
        upperVerticalAngle: upperVerticalAngle ?? 1.570795,
        lowerVerticalAngle: lowerVerticalAngle ?? -1.570795);