CapturedRoom.ModelProvider
A structure that assigns detailed 3D models to captured objects for an export.
Declaration
struct ModelProviderOverview
This structure provides a way for your app to assign detailed shape to specific areas within a captured room.
RoomPlan approximates the size and shape of objects it observes in a scan by using bounding boxes. In iOS 17 and later, the framework categorizes those objects that it recognizes by tagging them with specific attributes (Captured Object Attributes).
ModelProvider enables your app to export the categorized objects with unique 3D models. For example, you can assign a specific 3D model to a combination of attributes, such as all .stool objects with a .star base.
Topics
Creating a model provider
Managing models
modelFileURLsmodelFileURL(for:)modelFileURL(for:)modelFileURL(for:)setModelFileURL(_:for:)setModelFileURL(_:for:)