MaxstARSDK  3.5.0
Class Methods | Protected Attributes | List of all members
MasMaxstAR Class Reference
Inheritance diagram for MasMaxstAR:

Class Methods

(void) + init:
 Initialize AR engine. More...
 
(void) + deinit
 Deinitialize AR Engine.
 
(bool) + isInitialized
 Check AR engine has been initialized.
 
(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
 

Detailed Description

Definition at line 12 of file MasMaxstAR.h.

Method Documentation

◆ init:()

+ (void) init: (NSString*)  appKey

Initialize AR engine.

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

Definition at line 13 of file MasMaxstAR.mm.

◆ 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)

Definition at line 26 of file MasMaxstAR.mm.

◆ setScreenOrientation:()

+ (void) setScreenOrientation: (MasScreenOrientation)  orientation

Set device orientation.

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

Definition at line 30 of file MasMaxstAR.mm.

Member Data Documentation

◆ LANDSCAPE_RIGHT

- LANDSCAPE_RIGHT
protected
Initial value:
= 4
}

Definition at line 21 of file MasMaxstAR.h.


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