UxrCameraFade.EnableFadeColor Method

Enables the camera fade color. It will draw an overlay with the given color until DisableFadeColor() is called.

Namespace: UltimateXR.CameraUtils
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public void EnableFadeColor(
	Color color,
	float quantity
)

Parameters

 

color
Type: Color
The color to draw the overlay with
quantity
Type: System.Single
The quantity [0.0, 1.0] of the fade

See Also

Reference

UxrCameraFade Class
UltimateXR.CameraUtils Namespace