MaxstAR Native iOS
5.0.2
|
MasMaxstAR class handles the lifecycle of MAXST AR.
MasMaxstAR class handles the lifecycle of MAXST AR such as initilization, release, resume and pause.
Inherits NSObject typedef public enum MasScreenOrientation.
Class Methods | |
(void) | + setLicenseKey |
Set a license key for MAXST AR engine. More... | |
(void) | + deinit |
Release the MAXST AR engine. Called at the end of an iOS app. More... | |
(bool) | + isInitialized |
Check whether the MAXST AR engine has been initialized successfully. More... | |
(void) | + onSurfaceChanged |
Called when the rendering surface's size changed (i.e. orientation change, resizing rendering surface) More... | |
(void) | + setScreenOrientation |
Set the screen orientation. More... | |
Protected Attributes | |
UNKNOWN = 0 | |
PORTRAIT = 1 | |
PORTRAIT_UP = 1 | |
PORTRAIT_DOWN = 2 | |
LANDSCAPE = 3 | |
LANDSCAPE_LEFT = 3 | |
LANDSCAPE_RIGHT | |
+ (void) deinit |
Release the MAXST AR engine. Called at the end of an iOS app.
+ (bool) isInitialized |
Check whether the MAXST AR engine has been initialized successfully.
+ (void) onSurfaceChanged: | (int) | viewWidth | |
height: | (int) | viewHeight | |
Called when the rendering surface's size changed (i.e. orientation change, resizing rendering surface)
viewWidth | surface width size in pixel unit. The value should |
viewHeight | surface height size in pixel unit. |
+ (void) setLicenseKey: | (NSString*) | appKey |
Set a license key for MAXST AR engine.
appKey | the license key of the current app (this key is generated from developer.maxst.com) |
+ (void) setScreenOrientation: | (MasScreenOrientation) | orientation |
Set the screen orientation.
orientation | Screen orientation. |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |