Class Volume
A generic Volume component holding a VolumeProfile.
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 |
---|---|
blendDistance | 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. |
sharedProfile | 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 isGlobal is false |
isGlobal | Specifies whether to apply the Volume to the entire Scene or not. |
profile | Gets the first instantiated VolumeProfile assigned to the Volume.
Modifying |
Methods
Name | Description |
---|---|
HasInstantiatedProfile() | Checks if the Volume has an instantiated Profile or if it uses a shared Profile. |