API reference
API reference
Select your platform
No SDKs available
No versions available

OVRScreenFade Class

Extends MonoBehaviour
Fades the screen from black after a new scene is loaded.
Fade can also be controlled mid-scene using SetUIFade and SetFadeLevel

Properties

static OVRScreenFade instance[Get]
Renders the current alpha value being used to fade the screen.

Fields

float fadeTime[Get]
Color fadeColor[Get]
bool fadeOnStart[Get]
The render queue used by the fade mesh.
Reduce this if you need to render on top of it.

Member Functions

Start a fade in.
Start a fade out.
Set the UI fade level - fade due to UI in foreground.
Override current fade level.
Parameters
level
Did you find this page helpful?
Thumbs up icon
Thumbs down icon