CameraFaderQuad.FadeOutAsync(Single, Color, IEnumerable<Camera>) Method

Definition

Applies a fade-out effect over time.

C++
public:
 virtual System::Threading::Tasks::Task ^ FadeOutAsync(float fadeOutTime, UnityEngine::Color color, System::Collections::Generic::IEnumerable<UnityEngine::Camera ^> ^ targets);

Parameters

fadeOutTime
Single

The duration of the fade

color
UnityEngine.Color

The color of the fade

targets
IEnumerable<UnityEngine.Camera>

Which cameras will receive the effect

Returns

Implements

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