docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsComponentActiveInMask

    IsComponentActiveInMask<T>(LayerMask)

    Checks if a VolumeComponent is active in a given LayerMask.

    Declaration
    public bool IsComponentActiveInMask<T>(LayerMask layerMask) where T : VolumeComponent
    Parameters
    Type Name Description
    LayerMask layerMask

    The LayerMask to check against

    Returns
    Type Description
    bool

    true if the component is active in the LayerMask, false otherwise.

    Type Parameters
    Name Description
    T

    A type derived from VolumeComponent

    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)