One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

PhotogrammetrySample.Camera

struct · iOS 18.0+ · SDK 27.1

struct Camera

A read-only data structure representing metadata about the camera used to capture the RGB `image`. All transforms are tagged by the `sessionID` and are only commensurate between samples with the same `sessionID`.

Members (8)

get · iOS 18.0+

intrinsics

TypeScript
get intrinsics(): SDKHandle
Swift declaration
var intrinsics: simd_float3x3

A matrix that converts between the 2D camera plane and the 3D world coordinate space defined by the `sessionID`.

set · iOS 18.0+

intrinsics

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

A matrix that converts between the 2D camera plane and the 3D world coordinate space defined by the `sessionID`.

get · iOS 18.0+

calibrationData

TypeScript
get calibrationData(): (_AVFoundation_AVCameraCalibrationData) | null
Swift declaration
var calibrationData: AVCameraCalibrationData?

The calibration data (distortion parameters, etc) for this camera if available.

set · iOS 18.0+

calibrationData

TypeScript
set calibrationData(value: (_AVFoundation_AVCameraCalibrationData) | null)
Swift declaration
var calibrationData: AVCameraCalibrationData?

The calibration data (distortion parameters, etc) for this camera if available.

get · iOS 18.0+

id

TypeScript
get id(): number
Swift declaration
var id: UInt32

Value identifying the capture device within the `sessionID` in case there are more than 1.

set · iOS 18.0+

id

TypeScript
set id(value: number)
Swift declaration
var id: UInt32

Value identifying the capture device within the `sessionID` in case there are more than 1.

get · iOS 18.0+

transform

TypeScript
get transform(): SDKHandle
Swift declaration
var transform: simd_float4x4

The 4x4 homogeneous transform matrix consisting of rotation and translation factors that maps the local camera device coordinate system position and orientation into the world coordinate space tagged by `sessionID`.

set · iOS 18.0+

transform

TypeScript
set transform(value: SDKHandle)
Swift declaration
var transform: simd_float4x4

The 4x4 homogeneous transform matrix consisting of rotation and translation factors that maps the local camera device coordinate system position and orientation into the world coordinate space tagged by `sessionID`.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →