class
PostProcessVolume
public class PostProcessVolume : VolumeComponent A volume that defines a region in the scene where post processing effects will be applied.
Constructors
PostProcessVolume() Properties
| Name | Type | Description |
|---|---|---|
Priority | Int32 | Higher priority volumes override lower priority ones. The default priority is 0. |
BlendWeight | Single | Allows fading in and out |
BlendDistance | Single | Distance from the edge of the volume where blending starts. 0 means hard edge, higher values create softer transitions. |
EditorPreview | Boolean | Preview the post processing when this object is selected in the editor, or when the editor camera is inside the volume. |
Methods
Single GetWeight(Vector3 pos) Get weight based on position