![]() |
Verse 1.0
A multi-platform multiplayer Virtual Reality experience developed with Unity
|
Parent class for IO8CAppFocusState MonoBehaviour implementations. More...
Public Member Functions | |
abstract void | AddOnXRChangeObserver (Action< IO8CAppFocusState.XRState > observer) |
abstract IO8CAppFocusState.VisibilityState | GetCurrentVisibilityState () |
abstract IO8CAppFocusState.XRState | GetCurrentXRState () |
abstract void | RemoveOnXRChangeObserver (Action< IO8CAppFocusState.XRState > observer) |
![]() | |
void | AddOnXRChangeObserver (Action< XRState > observer) |
Add an observer to the "XR change" event. | |
void | RemoveOnXRChangeObserver (Action< XRState > observer) |
Remmoves an observer to the "XR change" event. | |
XRState | GetCurrentXRState () |
Returns the current XR state. | |
VisibilityState | GetCurrentVisibilityState () |
Returns the current visibility state. | |
Additional Inherited Members | |
![]() | |
enum | VisibilityState { visible , hidden , visibleBlurred , unknown } |
App visibility states. | |
enum | XRState { normal , VR , AR , unknown } |
XR states. | |
Parent class for IO8CAppFocusState MonoBehaviour implementations.
This class only contains abstract implementations of the interface and is intended to allow implementors of the interface to be used in the inspector.
|
pure virtual |
{}
Implemented in O8C.O8CAppFocusStateDefault.
|
pure virtual |
{Returns the current visibility state.
Implements O8C.IO8CAppFocusState.
Implemented in O8C.O8CAppFocusStateDefault.
|
pure virtual |
{Returns the current XR state.
Implements O8C.IO8CAppFocusState.
Implemented in O8C.O8CAppFocusStateDefault.
|
pure virtual |
{}
Implemented in O8C.O8CAppFocusStateDefault.