The JS DOM 'screen orientation' object.
Public Member Functions | |
JSScreenOrientation (string t) | |
JSScreenOrientation () | |
void | unlock () |
Unlocks the orientation. More... | |
bool | Lock () |
Locks the orientation. More... | |
override string | ToString () |
Used by === in JS. More... | |
Static Public Member Functions | |
static string | FromUnity (UnityEngine.DeviceOrientation so) |
Converts from a Unity type. More... | |
static ScreenOrientation | ToUnity (string type) |
Converts to a Unity type. More... | |
Public Attributes | |
string | type |
Properties | |
ScreenOrientation | unityType [get] |
The unity orientation type. More... | |
float | angle [get] |
Orientation angle. More... | |
|
inline |
|
inline |
|
inlinestatic |
Converts from a Unity type.
|
inline |
Locks the orientation.
|
inline |
Used by === in JS.
|
inlinestatic |
Converts to a Unity type.
|
inline |
Unlocks the orientation.
string PowerUI.JSScreenOrientation.type |
|
get |
Orientation angle.
|
get |
The unity orientation type.