Method GetHighestPriorityVolume
GetHighestPriorityVolume(PostProcessLayer)
Gets the highest priority volume affecting a given layer.
Declaration
public PostProcessVolume GetHighestPriorityVolume(PostProcessLayer layer)
Parameters
Type | Name | Description |
---|---|---|
PostProcessLayer | layer | The layer to look for |
Returns
Type | Description |
---|---|
PostProcessVolume | The highest priority volume affecting the layer |
GetHighestPriorityVolume(LayerMask)
Gets the highest priority volume affecting PostProcessLayer in a given LayerMask.
Declaration
public PostProcessVolume GetHighestPriorityVolume(LayerMask mask)
Parameters
Type | Name | Description |
---|---|---|
LayerMask | mask | The layer mask to look for |
Returns
Type | Description |
---|---|
PostProcessVolume | The highest priority volume affecting the layer mask |