One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

PhotogrammetrySession.Limits

struct · iOS 17.0+ · SDK 27.1

struct Limits

Data structure to observe hardware limits for reconstruction. Note that these are specific to the device on which the `PhotogrammetrySession` is run.

Members (2)

get · iOS 17.0+

maximumInputImageDimension

TypeScript
get maximumInputImageDimension(): number
Swift declaration
var maximumInputImageDimension: Int { get }

The maximum allowed dimension (either height or width) of input images that can be ingested by the reconstruction session. If images larger than this are provided, they will be ignored and an `.invalidSample` message will be output.

get · iOS 17.0+

maximumNumberOfInputImages

TypeScript
get maximumNumberOfInputImages(): number
Swift declaration
var maximumNumberOfInputImages: Int { get }

Returns the maximum number of input images or samples that the session can use for reconstruction. If more than this number are provided, any in excess of the limit will be ignored and an `.invalidSample` message for the sample will be output.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →