docs.unity3d.com
    Show / Hide Table of Contents

    Class ComponentUtility

    Utility class for HDRP specific components.

    Inheritance
    Object
    ComponentUtility
    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

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023