XRCylinderLayerInit constructor

XRCylinderLayerInit({
  1. XRTextureType? textureType,
  2. XRRigidTransform? transform,
  3. double? radius,
  4. double? centralAngle,
  5. double? aspectRatio,
})

Implementation

factory XRCylinderLayerInit(
        {XRTextureType? textureType,
        XRRigidTransform? transform,
        double? radius,
        double? centralAngle,
        double? aspectRatio}) =>
    XRCylinderLayerInit._(
        textureType: textureType?.value ?? XRTextureType.texture.value,
        transform: transform ?? undefined,
        radius: radius ?? 2.0,
        centralAngle: centralAngle ?? 0.78539,
        aspectRatio: aspectRatio ?? 2.0);