This type holds the ILPD lens configuration parameters to generate camera calibration type instance.
This initializer method creates these types from ILPD data (JSON contents) reads from ILPD files.
These lens definition metadata types are also used for STMap generation to transform AIV video frames of one lens projection type to another during content previews.
func generateSTMap(device: any MTLDevice, cameraEye: ImmersiveCameraLensDefinition.Eye, stmapType: ImmersiveCameraLensDefinition.STMapType, into texture: any MTLTexture) async throws
Generates an STMap for the given projection type and for the given camera eye into the provided texture asynchronously.
- Parameters:
- device: The metal device to use during the STMap generation.
- cameraEye: The camera side to use for generating the STMap.
- stmapType: The type of STMap output: Equirectangular or Equidistant are the current options.
- texture: The output texture where the STMap will be stored.
get · iOS 26.4+
cameraID
TypeScript
get cameraID(): string
Swift declaration
var cameraID: String
The unique identifier of the immersive camera associated with this lens definition instance.
set · iOS 26.4+
cameraID
TypeScript
set cameraID(value: string)
Swift declaration
var cameraID: String
The unique identifier of the immersive camera associated with this lens definition instance.