Inherits VLWorkerReferenceBehaviour.
◆ FindInstance()
◆ GetOrientation() [1/2]
static ScreenOrientation VLDetectScreenChangeBehaviour.GetOrientation |
( |
GameObject |
go | ) |
|
|
inlinestatic |
◆ GetOrientation() [2/2]
ScreenOrientation VLDetectScreenChangeBehaviour.GetOrientation |
( |
| ) |
|
|
inline |
Returns the current screen orientation considering the overwrite setting.
- Returns
- Screen.orientation or overwrite.orientation depending on the overwrite.active value.
◆ OrientationChangeAction()
delegate void VLDetectScreenChangeBehaviour.OrientationChangeAction |
( |
ScreenOrientation |
orientation | ) |
|
◆ SizeChangeAction()
delegate void VLDetectScreenChangeBehaviour.SizeChangeAction |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
◆ overwrite
Overwrite VLDetectScreenChangeBehaviour.overwrite |
Settings for overwriting the screen orientation.
On systems without a screen orientation sensor, Unity will always report a portrait screen orientation. By activating the orientation overwrite, it's possible to simulate a different screen orientation. This allows the proper playback of iOS and Android image sequences captured in landscape mode with an "imageRecorder" configuration.
◆ OnOrientationChange
◆ OnSizeChange