One Logo Pool Ball
CoreMedia · IOS API REFERENCE

CMCameraIntrinsicMatrix

struct · iOS 27.0+ · SDK 27.1

struct CMCameraIntrinsicMatrix

A matrix that describes the camera's intrinsic properties. This matrix has the following content ``` fx 0 ox 0 fy oy 0 0 1 ``` fx and fy are the focal length in pixels. For square pixels, they will have the same value. ox and oy are the coordinates of the principal point. The origin is the upper left of the frame.

Members (4)

static · iOS 27.0+

makeFromRawAttachmentValue

TypeScript
static makeFromRawAttachmentValue(repr: _CoreVideo_CVAttachmentRawValue): (CMCameraIntrinsicMatrix) | null
Swift declaration
static func makeFromRawAttachmentValue(_ repr: CMAttachmentRawValue) -> CMCameraIntrinsicMatrix?
get · iOS 27.0+

rawAttachmentValueRepresentation

TypeScript
get rawAttachmentValueRepresentation(): _CoreVideo_CVAttachmentRawValue
Swift declaration
var rawAttachmentValueRepresentation: CMAttachmentRawValue { get }
get · iOS 27.0+

matrix

TypeScript
get matrix(): SDKHandle
Swift declaration
var matrix: simd_float3x3
set · iOS 27.0+

matrix

TypeScript
set matrix(value: SDKHandle)
Swift declaration
var matrix: simd_float3x3

Skipped declarations

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

CMCameraIntrinsicMatrix.init(matrix:)

The iOS SDK compiler rejected this binding: cannot find type 'simd_float3x3' in scope

All CoreMedia types →