<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: 26.4.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ImmersiveMediaSupport",
  "identifier" : "/documentation/ImmersiveMediaSupport/ImmersiveCameraCalibration/init(name:type:mask:positionable:origin:textureMapping:environmentFilename:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Immersive Media Support"
    ],
    "preciseIdentifier" : "s:21ImmersiveMediaSupport0A17CameraCalibrationV4name4type4mask12positionable6origin14textureMapping19environmentFilenameACSS_AC0E4TypeOAA0aD4MaskOSgSbAC0D6OriginVAC0d7TextureL0VSSSgtcfc"
  },
  "title" : "init(name:type:mask:positionable:origin:textureMapping:environmentFilename:)"
}
-->

# init(name:type:mask:positionable:origin:textureMapping:environmentFilename:)

Creates a mesh based calibration from USDZ data and a image-based mask.

```
init(name: String, type: ImmersiveCameraCalibration.CalibrationType, mask: ImmersiveCameraMask? = nil, positionable: Bool = false, origin: ImmersiveCameraCalibration.CameraOrigin = .zero, textureMapping: ImmersiveCameraCalibration.CameraTextureMapping = .identity, environmentFilename: String? = nil)
```

## Parameters

`name`

The name to identify the calibration.

`type`

The calibration type providing data to be used as the camera calibration for each eye.

`mask`

Optional override mask definition describing the mask to be used for this calibration. If no mask is provided, the one inside LensParameters will be used.

`positionable`

A flag that indicates whether to anchor this calibration in mixed reality 3D space rather than centering it on the person’s eye position.

`origin`

The position information, in meters, that represents the origin from which to render the calibration in 3D space relative to the person’s eye.

`textureMapping`

The texture mapping that describes how each section of the video frame maps into the calibration.

`environmentFilename`

The USDZ filename for calibrations with a backdrop.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)