OpenVRExpansion Plugin > Open VRExpansion Function Library > Fade HMDTo Color

Fade HMDTo Color

Fades the view on the HMD to the specified color. The fade will take fSeconds, and the color values are between
0.0 and 1.0. This color is faded on top of the scene based on the alpha parameter. Removing the fade color instantly
would be FadeToColor( 0.0, 0.0, 0.0, 0.0, 0.0 ). Values are in un-premultiplied alpha space.

Inputs

In
Exec

F Seconds
Float

Color
Color Structure

Background
Boolean

Outputs

Out
Exec

Return Value
Boolean

Fades the view on the HMD to the specified color. The fade will take fSeconds, and the color values are between
0.0 and 1.0. This color is faded on top of the scene based on the alpha parameter. Removing the fade color instantly
would be FadeToColor( 0.0, 0.0, 0.0, 0.0, 0.0 ). Values are in un-premultiplied alpha space.