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. |