docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Has

    Has<T>()

    Checks if this Volume Profile contains the VolumeComponent you pass in.

    Declaration
    public bool Has<T>() where T : VolumeComponent
    Returns
    Type Description
    bool

    true if the VolumeComponent exists in the Volume Profile, false otherwise.

    Type Parameters
    Name Description
    T

    A type of VolumeComponent.

    See Also
    Has(Type)
    HasSubclassOf(Type)

    Has(Type)

    Checks if this Volume Profile contains the VolumeComponent you pass in.

    Declaration
    public bool Has(Type type)
    Parameters
    Type Name Description
    Type type

    A type that inherits from VolumeComponent.

    Returns
    Type Description
    bool

    true if the VolumeComponent exists in the Volume Profile, false otherwise.

    See Also
    Has<T>()
    HasSubclassOf(Type)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)