XRMediaCylinderLayerInit constructor

XRMediaCylinderLayerInit({
  1. XRRigidTransform? transform,
  2. double? radius,
  3. double? centralAngle,
  4. double? aspectRatio,
})

Implementation

factory XRMediaCylinderLayerInit(
        {XRRigidTransform? transform,
        double? radius,
        double? centralAngle,
        double? aspectRatio}) =>
    XRMediaCylinderLayerInit._(
        transform: transform ?? undefined,
        radius: radius ?? 2.0,
        centralAngle: centralAngle ?? 0.78539,
        aspectRatio: aspectRatio ?? undefined);