iOS reference / RealityFoundation / PhotogrammetrySession.Request.GeometryRealityFoundation · IOS API REFERENCE
PhotogrammetrySession.Request.Geometry struct · iOS 17.0+ · SDK 27.1
struct GeometryAn 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_GeometrySwift 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(): OrientedBoundingBoxSwift 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_GeometrySwift 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(): BoundingBoxSwift 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(): TransformSwift declaration var transform: TransformA transform applied to the created entity.
set · iOS 17.0+ transform TypeScript set transform(value: Transform)Swift declaration var transform: TransformA transform applied to the created entity.
Skipped declarations No declarations were skipped in this snapshot.
All RealityFoundation types →