Class Volume
A generic Volume component holding a Volume
Implements
Inherited Members
Namespace: UnityEngine .Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[CoreRPHelpURL("Volumes", "com.unity.render-pipelines.high-definition")]
[ExecuteAlways]
[AddComponentMenu("Miscellaneous/Volume")]
public class Volume : MonoBehaviour, IVolume
Fields
Name | Description |
---|---|
blend |
The outer distance to start blending from. A value of 0 means no blending and Unity applies the Volume overrides immediately upon entry. |
priority | A value which determines which Volume is being used when Volumes have an equal amount of influence on the Scene. Volumes with a higher priority will override lower ones. |
shared |
The shared Profile that this Volume uses.
Modifying |
weight | The total weight of this volume in the Scene. 0 means no effect and 1 means full effect. |
Properties
Name | Description |
---|---|
colliders | The colliders of the volume if is |
is |
Specifies whether to apply the Volume to the entire Scene or not. |
profile | Gets the first instantiated Volume |
Methods
Name | Description |
---|---|
Has |
Checks if the Volume has an instantiated Profile or if it uses a shared Profile. |