docs.unity3d.com
    显示 / 隐藏目录

    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

    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)