MAXSTAR_API void setScreenOrientation(ScreenOrientation orientation)
Set device orientation.
MAXSTAR_API void onSurfaceChanged(int viewWidth, int viewHeight)
Called when rendering surface's size changed (i.e. orientation change, resizing rendering surface) ...
Definition: BackgroundRenderer.h:11
ScreenOrientation
Screen orientation. (unity screen orientation order) UNKNOWN : PORTRAIT : PORTRAIT_UP : PORTRAIT_DOWN...
Definition: Types.h:43
MAXSTAR_API bool isInitialized()
Check AR engine has been initialized.
MAXSTAR_API void onSurfaceDestroyed()
Called when rendering surface about to destroyed.
MAXSTAR_API void deinit()
Deinitialize AR Engine.
MAXSTAR_API void onSurfaceCreated()
Called when surface created on rendering thread.
#define MAXSTAR_API
Definition: Types.h:11
MAXSTAR_API void init(string appKey)
Initialize AR engine.