RemodelARLib

This object is how you create new instances of Remodel-AR views.

Declaration

class RemodelARLib

Topics

Methods

func makeARView(model: ARStateModel, arMethod: ARMethod?) -> ARView View for working with SwiftUI based apps Parameters: - model: an instance of ARStateModel that should be created in your SwiftUI code. - arMethod: determines which AR method is used for geometry creation and display/

func makeLidarARController(with sceneView: ARSCNView) -> ARController Creates an ARController that uses lidar to compute geometry and occlusions. Supports newer devices. Parameters: - sceneView: The ARSCNView that you want to render the AR content in.

func makeLegacyARController(with sceneView: ARSCNView) -> ARController Creates an ARController that uses a user placed rectangle to color walls. Supports older devices. Parameters: - sceneView: The ARSCNView that you want to render the AR content in.

func makeFloorplanARController(with sceneView: ARSCNView) -> ARController Creates an ARController that allows wall creation based on drawing floorplan corners. Supports older devices. Parameters: - sceneView: The ARSCNView that you want to render the AR content in.

func makeShaderARController(with sceneView: ARSCNView) -> ARController Creates an ARController that uses colors to mask room walls for painting instead of geometry. Can be used with any device. Parameters: - sceneView: The ARSCNView that you want to render the AR content in.

func makeAbnormalitiesARController(with sceneView: ARSCNView) -> ARController Creates an ARController that allows scanned abnormalities to be placed on walls to track locations of abnormalities. Parameters: - sceneView: The ARSCNView that you want to render the AR content in.

If at any point you need help from the Passio team, please reach out to us at support@passiolife.com

Last updated