UxrCameraFade.CheckAddToCamera Method

Checks if the given camera has a UxrCameraFade component. If not it is added to the camera.

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

Syntax

C#

public static UxrCameraFade CheckAddToCamera(
	Camera camera
)

Parameters

 

camera
Type: Camera
Camera to check

Return Value

Type: UxrCameraFade
The UxrCameraFade component which may have been added or was already present

See Also

Reference

UxrCameraFade Class
UltimateXR.CameraUtils Namespace