Class ComponentUtility
Namespace: UnityEngine.Rendering.Universal
Syntax
public static class ComponentUtility : object
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 |
---|---|
Boolean | 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 |
---|---|
Boolean | True if it is compatible, false otherwise |