KudanAR - iOS  1.6.0
ARCameraViewController Class Reference

#import <ARCameraViewController.h>

Inherits UIViewController.

Instance Methods

(void) - setupContent
 
(void) - doInitialContentSetup
 

Properties

ARCameraViewcameraView
 

Detailed Description

The ARCameraViewController is a subclass of the UIViewController, used for displaying AR content. It handles the initialisation and setup of the camera and viewports. Make sure any View Controllers in your storyboard used to display AR content are a subclass of ARCameraViewController.

Method Documentation

◆ doInitialContentSetup

- (void) doInitialContentSetup

Method called when the camera starts. Calls setupContent if it hasn't all ready been called.

◆ setupContent

- (void) setupContent

Empty method called when an ARCameraViewController is loaded. This must be overriden in any user-defined subclass. This method is mainly used to setup AR content when a view is loaded. It runs on the render thread so can be used to setup graphics content.

Property Documentation

◆ cameraView

- (ARCameraView*) cameraView
readwritenonatomicassign

The ARCameraView associated with this view controller.


The documentation for this class was generated from the following files: