UxrCameraFade.HasCameraFadeActive Method

Checks if the given camera has a UxrCameraFade component and a fade is currently active.

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

Syntax

C#

public static bool HasCameraFadeActive(
	Camera camera
)

Parameters

 

camera
Type: Camera
Camera to check

Return Value

Type: Boolean
True if the camera has a UxrCameraFade component attached AND a fade currently running, false otherwise

See Also

Reference

UxrCameraFade Class
UltimateXR.CameraUtils Namespace