MaxstARSDK
MasMaxstAR Class Reference

#import <MasMaxstAR.h>

Inheritance diagram for MasMaxstAR:
Inheritance graph
Collaboration diagram for MasMaxstAR:
Collaboration graph

Class Methods

(void) + setLicenseKey:
 set LicenseKey for AR engine More...
 
(void) + deinit
 Deinitialize AR Engine. More...
 
(bool) + isInitialized
 Check AR engine has been initialized. More...
 
(void) + onSurfaceChanged:height:
 Called when rendering surface's size changed (i.e. orientation change, resizing rendering surface) More...
 
(void) + setScreenOrientation:
 Set device orientation. More...
 

Protected Attributes

 UNKNOWN = 0
 
 PORTRAIT = 1
 
 PORTRAIT_UP = 1
 
 PORTRAIT_DOWN = 2
 
 LANDSCAPE = 3
 
 LANDSCAPE_LEFT = 3
 
 LANDSCAPE_RIGHT
 

Method Documentation

◆ deinit

+ (void) deinit

Deinitialize AR Engine.

◆ isInitialized

+ (bool) isInitialized

Check AR engine has been initialized.

◆ onSurfaceChanged:height:

+ (void) onSurfaceChanged: (int)  viewWidth
height: (int)  viewHeight 

Called when rendering surface's size changed (i.e. orientation change, resizing rendering surface)

Parameters
viewWidthwidth size (pixel unit)
viewHeightheight size (pixel unit)

◆ setLicenseKey:

+ (void) setLicenseKey: (NSString *)  appKey

set LicenseKey for AR engine

Parameters
appKeyapp key for this app generated from "developer.maxst.com" (Mobile only)

◆ setScreenOrientation:

+ (void) setScreenOrientation: (MasScreenOrientation)  orientation

Set device orientation.

Parameters
orientationScreen orientation. 2 is Configuration.ORIENTATION_LANDSCAPE, 1 is Configuration.ORIENTATION_PORTRAIT

Member Data Documentation

◆ LANDSCAPE

- LANDSCAPE = 3
protected

◆ LANDSCAPE_LEFT

- LANDSCAPE_LEFT = 3
protected

◆ LANDSCAPE_RIGHT

- LANDSCAPE_RIGHT
protected
Initial value:
= 4
}

◆ PORTRAIT

- PORTRAIT = 1
protected

◆ PORTRAIT_DOWN

- PORTRAIT_DOWN = 2
protected

◆ PORTRAIT_UP

- PORTRAIT_UP = 1
protected

◆ UNKNOWN

- UNKNOWN = 0
protected

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