docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Update

    Update(Transform, LayerMask)

    Updates the global state of the Volume manager. Unity usually calls this once per Camera in the Update loop before rendering happens.

    Declaration
    public void Update(Transform trigger, LayerMask layerMask)
    Parameters
    Type Name Description
    Transform trigger

    A reference Transform to consider for positional Volume blending

    LayerMask layerMask

    The LayerMask that the Volume manager uses to filter Volumes that it should consider for blending.

    Update(VolumeStack, Transform, LayerMask)

    Updates the Volume manager and stores the result in a custom VolumeStack.

    Declaration
    public void Update(VolumeStack stack, Transform trigger, LayerMask layerMask)
    Parameters
    Type Name Description
    VolumeStack stack

    The stack to store the blending result into.

    Transform trigger

    A reference Transform to consider for positional Volume blending.

    LayerMask layerMask

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

    See Also
    VolumeStack
    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)