Interface IVolumeDebugSettings
Volume debug settings.
This variant is obsolete and kept only for not breaking user code. Use IVolume
Namespace: UnityEngine .Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public interface IVolumeDebugSettings
Properties
cameras
Returns the collection of registered cameras.
Declaration
IEnumerable<Camera> cameras { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Camera> |
selectedCamera
Current camera to debug.
Declaration
Camera selectedCamera { get; }
Property Value
Type | Description |
---|---|
Camera |
selectedCameraIndex
Selected camera index.
Declaration
int selectedCameraIndex { get; set; }
Property Value
Type | Description |
---|---|
int |
selectedCameraLayerMask
Selected camera volume layer mask.
Declaration
LayerMask selectedCameraLayerMask { get; }
Property Value
Type | Description |
---|---|
Layer |
selectedCameraPosition
Selected camera volume position.
Declaration
Vector3 selectedCameraPosition { get; }
Property Value
Type | Description |
---|---|
Vector3 |
selectedCameraVolumeStack
Selected camera volume stack.
Declaration
VolumeStack selectedCameraVolumeStack { get; }
Property Value
Type | Description |
---|---|
Volume |
selectedComponent
Selected component.
Declaration
int selectedComponent { get; set; }
Property Value
Type | Description |
---|---|
int |
selectedComponentType
Type of the current component to debug.
Declaration
Type selectedComponentType { get; set; }
Property Value
Type | Description |
---|---|
Type |
Methods
GetVolumeWeight(Volume)
Obtains the volume weight
Declaration
float GetVolumeWeight(Volume volume)
Parameters
Returns
Type | Description |
---|---|
float | The weight of the volume |
GetVolumes()
Obtains the Volumes
Declaration
Volume[] GetVolumes()
Returns
RefreshVolumes(Volume[])
Refreshes the volumes, fetches the stored volumes on the panel
Declaration
bool RefreshVolumes(Volume[] newVolumes)
Parameters
Returns
Type | Description |
---|---|
bool | If the volumes have been refreshed |
VolumeHasInfluence(Volume)
Return if the Volume has influence
Declaration
bool VolumeHasInfluence(Volume volume)
Parameters
Returns
Type | Description |
---|---|
bool | If the volume has influence |