Setup Point Cloud

Setup Point Cloud Mode

To enable point cloud mode in AR experience, simply add pointCloudMode: true when you init service. An AR session will be switched to the point cloud mode for you. In this mode, users have to initialize the session by scanning the environment first before they can interact with the AR experience.

let graffityARCloud = GraffityARCloud(
    accessToken: "YOUR_ACCESS_TOKEN", 
    pointCloudMode: true
)
 
let arCloudUIView = ARCloudUIView(service: self.graffityARCloud)