positionable
TypeScriptget positionable(): booleanSwift declarationvar positionable: BoolA Boolean value that indicates whether to anchor this calibration in mixed reality 3D space rather than centering it on the person's eye position.
struct · iOS 26.4+ · SDK 27.1
struct ImmersiveCameraCalibrationMesh geometry for AIV can be generated using different camera lens calibration types. An enumeration 'CalibrationType' represents camera calibration type for video geometry. The type 'usdzMesh' is used for calibration performed by camera lens provider using usdz. The type 'meiRives' is used for calibration performed using MeiRives lens calibration algorithm. This data includes calibration type, calibration name, calibration file name, lens definition, mask data, camera origin, and other relevant data.
get positionable(): booleanSwift declarationvar positionable: BoolA Boolean value that indicates whether to anchor this calibration in mixed reality 3D space rather than centering it on the person's eye position.
set positionable(value: boolean)Swift declarationvar positionable: BoolA Boolean value that indicates whether to anchor this calibration in mixed reality 3D space rather than centering it on the person's eye position.
get textureMapping(): ImmersiveCameraCalibration_CameraTextureMappingSwift declarationvar textureMapping: ImmersiveCameraCalibration.CameraTextureMappingTexture mapping that describes how each section of the video frame maps into the calibration.
set textureMapping(value: ImmersiveCameraCalibration_CameraTextureMapping)Swift declarationvar textureMapping: ImmersiveCameraCalibration.CameraTextureMappingTexture mapping that describes how each section of the video frame maps into the calibration.
get environmentFilename(): (string) | nullSwift declarationvar environmentFilename: String?The USDZ filename of a backdrop to use for this calibration.
set environmentFilename(value: (string) | null)Swift declarationvar environmentFilename: String?The USDZ filename of a backdrop to use for this calibration.
get mask(): (ImmersiveCameraMask) | nullSwift declarationvar mask: ImmersiveCameraMask?Immersive camera mask that needs to be used for this calibration.
set mask(value: (ImmersiveCameraMask) | null)Swift declarationvar mask: ImmersiveCameraMask?Immersive camera mask that needs to be used for this calibration.
static init(name: string, type: ImmersiveCameraCalibration_CalibrationType, mask?: (ImmersiveCameraMask) | null, positionable?: boolean, origin?: ImmersiveCameraCalibration_CameraOrigin, textureMapping?: ImmersiveCameraCalibration_CameraTextureMapping, environmentFilename?: (string) | null): ImmersiveCameraCalibrationSwift declarationinit(name: String, type: ImmersiveCameraCalibration.CalibrationType, mask: ImmersiveCameraMask? = nil, positionable: Bool = false, origin: ImmersiveCameraCalibration.CameraOrigin = .zero, textureMapping: ImmersiveCameraCalibration.CameraTextureMapping = .identity, environmentFilename: String? = nil)Creates a mesh based calibration from USDZ data and a image-based mask. - 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.
get name(): stringSwift declarationvar name: StringA string identifying this calibration.
set name(value: string)Swift declarationvar name: StringA string identifying this calibration.
get type(): ImmersiveCameraCalibration_CalibrationTypeSwift declarationvar type: ImmersiveCameraCalibration.CalibrationType { get }The type of this calibration.
get origin(): ImmersiveCameraCalibration_CameraOriginSwift declarationvar origin: ImmersiveCameraCalibration.CameraOriginPosition information, in meters, that represents the origin from which to render the calibration in 3D space relative to the person's eye.
set origin(value: ImmersiveCameraCalibration_CameraOrigin)Swift declarationvar origin: ImmersiveCameraCalibration.CameraOriginPosition information, in meters, that represents the origin from which to render the calibration in 3D space relative to the person's eye.
No declarations were skipped in this snapshot.