|
|
| UNKNOWN = 0 |
| |
|
| PORTRAIT = 1 |
| |
|
| PORTRAIT_UP = 1 |
| |
|
| PORTRAIT_DOWN = 2 |
| |
|
| LANDSCAPE = 3 |
| |
|
| LANDSCAPE_LEFT = 3 |
| |
| | LANDSCAPE_RIGHT |
| |
◆ init:()
| + (void) init: |
|
(NSString*) |
appKey |
|
Initialize AR engine.
- Parameters
-
| appKey | app key for this app generated from "developer.maxst.com" (Mobile only) |
◆ 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_RIGHT
The documentation for this class was generated from the following files: