Method GetActiveVolumes
GetActiveVolumes(PostProcessLayer, List<PostProcessVolume>, bool, bool)
Gets a list of all volumes currently affecting the given layer. Results aren't sorted and the list isn't cleared.
Declaration
public void GetActiveVolumes(PostProcessLayer layer, List<PostProcessVolume> results, bool skipDisabled = true, bool skipZeroWeight = true)
Parameters
Type | Name | Description |
---|---|---|
PostProcessLayer | layer | The layer to look for |
List<PostProcessVolume> | results | A list to store the volumes found |
bool | skipDisabled | Should we skip disabled volumes? |
bool | skipZeroWeight | Should we skip 0-weight volumes? |