CameraFaderQuad.FadeOutAsync(Single, Color, IEnumerable<Camera>) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
public System.Threading.Tasks.Task FadeOutAsync (float fadeOutTime, UnityEngine.Color color, System.Collections.Generic.IEnumerable<UnityEngine.Camera> targets);
abstract member FadeOutAsync : single * UnityEngine.Color * seq<UnityEngine.Camera> -> System.Threading.Tasks.Task
override this.FadeOutAsync : single * UnityEngine.Color * seq<UnityEngine.Camera> -> System.Threading.Tasks.Task
Public Function FadeOutAsync (fadeOutTime As Single, color As Color, targets As IEnumerable(Of Camera)) As Task
- 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
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 |