{}!Google Tag Manager end}} Class ComponentUtility | Universal RP | 14.0.9
docs.unity3d.com
    목차 표시/숨기기

    Class ComponentUtility

    Utility class for component checks.

    Inheritance
    Object
    ComponentUtility
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Rendering.Universal
    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
    Boolean

    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
    Boolean

    True if it is compatible, false otherwise

    맨 위로
    Copyright © 2023 Unity Technologies —
    • Your Privacy Choices (Cookie Settings)