Class ComponentUtility
Utility class for HDRP specific components.
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
public static class ComponentUtility
Methods
IsHDCamera(Camera)
Check if the provided camera is compatible with High-Definition Render Pipeline
Declaration
public static bool IsHDCamera(Camera camera)
Parameters
Type | Name | Description |
---|---|---|
Camera | camera | The Camera to check |
Returns
Type | Description |
---|---|
Boolean | True if it is compatible, false otherwise |
IsHDLight(Light)
Check if the provided light is compatible with High-Definition Render Pipeline
Declaration
public static bool IsHDLight(Light light)
Parameters
Type | Name | Description |
---|---|---|
Light | light | The Light to check |
Returns
Type | Description |
---|---|
Boolean | True if it is compatible, false otherwise |
IsHDReflectionProbe(ReflectionProbe)
Check if the provided reflection probe is compatible with High-Definition Render Pipeline
Declaration
public static bool IsHDReflectionProbe(ReflectionProbe reflectionProbe)
Parameters
Type | Name | Description |
---|---|---|
ReflectionProbe | reflectionProbe | The ReflectionProbe to check |
Returns
Type | Description |
---|---|
Boolean | True if it is compatible, false otherwise |