One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

PhotogrammetrySession.Request.Geometry

struct · iOS 17.0+ · SDK 27.1

struct Geometry

An object that holds a bounding box and transformation data for a request.

Members (8)

init · iOS 17.0+

init

TypeScript
static initOrientedBoundsTransform(orientedBounds: OrientedBoundingBox, transform?: Transform): PhotogrammetrySession_Request_Geometry
Swift declaration
init(orientedBounds: OrientedBoundingBox, transform: Transform = Transform.identity)

Creates an instance from an oriented bounding box and transform.

get · iOS 17.0+

orientedBounds

TypeScript
get orientedBounds(): OrientedBoundingBox
Swift declaration
var orientedBounds: OrientedBoundingBox { get set }
set · iOS 17.0+

orientedBounds

TypeScript
set orientedBounds(value: OrientedBoundingBox)
Swift declaration
var orientedBounds: OrientedBoundingBox { get set }
init · iOS 17.0+

init

TypeScript
static initBoundsTransform(bounds?: BoundingBox, transform?: Transform): PhotogrammetrySession_Request_Geometry
Swift declaration
init(bounds: BoundingBox = BoundingBox.empty, transform: Transform = Transform.identity)

Creates an instance with an optional bounding box and transform. - Parameters: - bounds: An optional bounding box to specify the size of the generated 3D model. If you don’t pass a value, the initializer sets the bounding box to .empty, which tells RealityKit to calculate the object’s size. - transform: An optional ``Transform`` that RealityKit applies to the object after it’s created. Use this to scale, rotate, or move the object before the session publishes the ``PhotogrammetrySession/Output-swift.enum/requestComplete(_:_:)``

get · iOS 17.0+

bounds

TypeScript
get bounds(): BoundingBox
Swift declaration
var bounds: BoundingBox { get set }

The bounding box for the created entity.

set · iOS 17.0+

bounds

TypeScript
set bounds(value: BoundingBox)
Swift declaration
var bounds: BoundingBox { get set }

The bounding box for the created entity.

get · iOS 17.0+

transform

TypeScript
get transform(): Transform
Swift declaration
var transform: Transform

A transform applied to the created entity.

set · iOS 17.0+

transform

TypeScript
set transform(value: Transform)
Swift declaration
var transform: Transform

A transform applied to the created entity.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →