Class ComponentUtility
Utility class for HDRP specific components.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
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 |
---|---|
bool | 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 |
---|---|
bool | 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 |
---|---|
bool | True if it is compatible, false otherwise |