ICameraFader.FadeOutAsync(Single, Color, IEnumerable<Camera>) Method
Definition
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.
public:
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
Public Function FadeOutAsync (fadeOutTime As Single, color As Color, targets As IEnumerable(Of Camera)) As Task
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