One Logo Pool Ball
CoreMedia · IOS API REFERENCE

CMFormatDescription.Extensions.Value.ProjectionKind

struct · iOS 26.0+ · SDK 27.1

struct ProjectionKind

Members (8)

init · iOS 26.0+

init

TypeScript
init(rawValue: _CoreFoundation_CFString): CMFormatDescription_Extensions_Value_ProjectionKind
Swift declaration
init(rawValue: CFString)

Creates a new instance with the specified raw value. If there is no value of the type that corresponds with the specified raw value, this initializer returns `nil`. For example: enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional(PaperSize.Legal)" print(PaperSize(rawValue: "Tabloid")) // Prints "nil" - Parameter rawValue: The raw value to use for the new instance.

get · iOS 26.0+

rawValue

TypeScript
getRawValue($self: CMFormatDescription_Extensions_Value_ProjectionKind): _CoreFoundation_CFString
Swift declaration
var rawValue: CFString

The corresponding value of the raw type. A new instance initialized with `rawValue` will be equivalent to this instance. For example: enum PaperSize: String { case A4, A5, Letter, Legal } let selectedSize = PaperSize.Letter print(selectedSize.rawValue) // Prints "Letter" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!) // Prints "true"

set · iOS 26.0+

rawValue

TypeScript
setRawValue($self: CMFormatDescription_Extensions_Value_ProjectionKind, value: _CoreFoundation_CFString): void
Swift declaration
var rawValue: CFString

The corresponding value of the raw type. A new instance initialized with `rawValue` will be equivalent to this instance. For example: enum PaperSize: String { case A4, A5, Letter, Legal } let selectedSize = PaperSize.Letter print(selectedSize.rawValue) // Prints "Letter" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!) // Prints "true"

get · iOS 26.0+

rectilinear

TypeScript
get rectilinear(): CMFormatDescription_Extensions_Value_ProjectionKind
Swift declaration
static let rectilinear: CMFormatDescription.Extensions.Value.ProjectionKind

Indicates rectilinear projection. Generally less than 90 degree field of view with no barrel distortion.

get · iOS 26.0+

equirectangular

TypeScript
get equirectangular(): CMFormatDescription_Extensions_Value_ProjectionKind
Swift declaration
static let equirectangular: CMFormatDescription.Extensions.Value.ProjectionKind

Indicates equirectangular projection of a 360 degree sphere to a rectangular plane, where longitude and latitude of the sphere are mapped linearly to the x,y axes of the plane.

get · iOS 26.0+

appleImmersiveVideo

TypeScript
get appleImmersiveVideo(): CMFormatDescription_Extensions_Value_ProjectionKind
Swift declaration
static let appleImmersiveVideo: CMFormatDescription.Extensions.Value.ProjectionKind

Indicates a proprietary projection used for Apple Immersive Video.

get · iOS 26.0+

halfEquirectangular

TypeScript
get halfEquirectangular(): CMFormatDescription_Extensions_Value_ProjectionKind
Swift declaration
static let halfEquirectangular: CMFormatDescription.Extensions.Value.ProjectionKind

Indicates half equirectangular projection of a 180 degree hemisphere to a rectangular plane, where longitude and latitude of the sphere are mapped linearly to the x,y axes of the plane

get · iOS 26.0+

parametricImmersive

TypeScript
get parametricImmersive(): CMFormatDescription_Extensions_Value_ProjectionKind
Swift declaration
static let parametricImmersive: CMFormatDescription.Extensions.Value.ProjectionKind

Indicates a projection described mathematically by a model of camera lens calibration parameters. Parameters may be found in lens calibration metadata in ``Key/cameraCalibrationDataLensCollection`` with algorithmKind being ``CameraCalibrationDataLensCollection/AlgorithmKind/parametric``.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

CMFormatDescription.Extensions.Value.ProjectionKind

The iOS SDK compiler rejected this binding: type 'CMFormatDescription.Extensions.Value.ProjectionKind' does not conform to protocol 'OneSDKNamedConstants'

All CoreMedia types →