XRQuadLayerInit constructor

XRQuadLayerInit({
  1. XRTextureType? textureType,
  2. XRRigidTransform? transform,
  3. double? width,
  4. double? height,
})

Implementation

factory XRQuadLayerInit(
        {XRTextureType? textureType,
        XRRigidTransform? transform,
        double? width,
        double? height}) =>
    XRQuadLayerInit._(
        textureType: textureType?.value ?? XRTextureType.texture.value,
        transform: transform ?? undefined,
        width: width ?? 1.0,
        height: height ?? 1.0);