XRCylinderLayerInit constructor
XRCylinderLayerInit({
- XRTextureType? textureType,
- XRRigidTransform? transform,
- double? radius,
- double? centralAngle,
- 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);