docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetVolumes

    GetVolumes(LayerMask)

    Get all volumes on a given layer mask sorted by influence.

    Declaration
    public Volume[] GetVolumes(LayerMask layerMask)
    Parameters
    Type Name Description
    LayerMask layerMask

    The LayerMask that Unity uses to filter Volumes that it should consider.

    Returns
    Type Description
    Volume[]

    An array of volume.

    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)