Class ComponentUtility
Utility class for component checks.
Inherited Members
Namespace: UnityEngine.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public static class ComponentUtility
  Methods
IsUniversalCamera(Camera)
Check if the provided camera is compatible with Universal Render Pipeline
Declaration
public static bool IsUniversalCamera(Camera camera)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Camera | camera | The Camera to check  | 
      
Returns
| Type | Description | 
|---|---|
| bool | True if it is compatible, false otherwise  | 
      
IsUniversalLight(Light)
Check if the provided light is compatible with Universal Render Pipeline
Declaration
public static bool IsUniversalLight(Light light)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Light | light | The Light to check  | 
      
Returns
| Type | Description | 
|---|---|
| bool | True if it is compatible, false otherwise  |