CameraFaderQuad Class

Definition

Quad-based implementation if ICameraFader. Instantiates quads in front of cameras to achieve fade out / in effect.

C++
public ref class CameraFaderQuad : Microsoft::MixedReality::Toolkit::Extensions::SceneTransitions::ICameraFader
Inheritance
CameraFaderQuad
Implements

Constructors

Properties

State System.Object.State

Methods

FadeInAsync(Single)

Applies a fade-in effect over time. Must be called after FadeOutAsync has completed.

FadeOutAsync(Single, Color, IEnumerable<Camera>)

Applies a fade-out effect over time.

Initialize(SceneTransitionServiceProfile)

Initializes the camera fader class with a transition profile.

OnDestroy()

Used to destroy any assets created. May be called in middle of a transition.

Applies to

Product Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0