#import <MasMaxstAR.h>
◆ deinit()
◆ init:()
+ (void) init: |
|
(NSString *) |
appKey |
|
Initialize AR engine.
- Parameters
-
appKey | app key for this app generated from "developer.maxst.com" (Mobile only) |
◆ 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
-
viewWidth | width size (pixel unit) |
viewHeight | height size (pixel unit) |
◆ setScreenOrientation:()
+ (void) setScreenOrientation: |
|
(MasScreenOrientation) |
orientation |
|
Set device orientation.
- Parameters
-
orientation | Screen orientation. 2 is Configuration.ORIENTATION_LANDSCAPE, 1 is Configuration.ORIENTATION_PORTRAIT |
◆ LANDSCAPE
◆ LANDSCAPE_LEFT
◆ LANDSCAPE_RIGHT
◆ PORTRAIT
◆ PORTRAIT_DOWN
◆ PORTRAIT_UP
◆ UNKNOWN
The documentation for this class was generated from the following file:
- /Users/keane/Work/MaxstARSDK/MaxstARSDK_master/MaxstAR/MaxstARiOS/MasMaxstAR.h