SceneTransitionService.FadeOut 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.
FadeOut(Single) |
Fades target cameras out to color. Can be used independently of scene transitions provided no transition is taking place. |
FadeOut() |
Fades target cameras out to color. Can be used independently of scene transitions provided no transition is taking place. Uses default FadeOutTime. |
Fades target cameras out to color. Can be used independently of scene transitions provided no transition is taking place.
public:
virtual System::Threading::Tasks::Task ^ FadeOut(float fadeOutTime);
public System.Threading.Tasks.Task FadeOut (float fadeOutTime);
abstract member FadeOut : single -> System.Threading.Tasks.Task
override this.FadeOut : single -> System.Threading.Tasks.Task
Public Function FadeOut (fadeOutTime As Single) As Task
Parameters
- fadeOutTime
- Single
Returns
Implements
Applies to
MRTK2 Unity 2018 2.7.0 and other versions
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 |
Fades target cameras out to color. Can be used independently of scene transitions provided no transition is taking place. Uses default FadeOutTime.
public:
virtual System::Threading::Tasks::Task ^ FadeOut();
public System.Threading.Tasks.Task FadeOut ();
abstract member FadeOut : unit -> System.Threading.Tasks.Task
override this.FadeOut : unit -> System.Threading.Tasks.Task
Public Function FadeOut () As Task
Returns
Implements
Applies to
MRTK2 Unity 2018 2.7.0 and other versions
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 |