docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ComponentUtility

    Utility class for component checks.

    Inheritance
    object
    ComponentUtility
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.Universal
    Assembly: Unity.RenderPipelines.Universal.Runtime.dll
    Syntax
    public static class ComponentUtility

    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
    bool

    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
    bool

    True if it is compatible, false otherwise

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)