This class publicly exposes native methods that are related to surface management. These methods are used by the Unity Extension and usually should not be used in application code. More...
Static Public Member Functions | |
static ScreenOrientation | GetSurfaceOrientation () |
Gets the current orientation More... | |
static bool | HasSurfaceBeenRecreated () |
Checks if the GLSurface has been recreated More... | |
static void | OnSurfaceChanged (int screenWidth, int screenHeight) |
Signals native that the screen size has changed (device rotation) More... | |
static void | OnSurfaceCreated () |
Signals native that the rendering surface has been created by Unity More... | |
static void | OnSurfaceDeinit () |
Signals native that the rendering surface should be deinitialized More... | |
static void | SetSurfaceOrientation (ScreenOrientation screenOrientation) |
Sets a new orientation More... | |
This class publicly exposes native methods that are related to surface management. These methods are used by the Unity Extension and usually should not be used in application code.
|
static |
Gets the current orientation
|
static |
Checks if the GLSurface has been recreated
|
static |
Signals native that the screen size has changed (device rotation)
|
static |
Signals native that the rendering surface has been created by Unity
|
static |
Signals native that the rendering surface should be deinitialized
|
static |
Sets a new orientation