Class ProbeVolume
A marker to determine what area of the scene is considered by the Probe Volumes system
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.Experimental.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[ExecuteAlways]
[AddComponentMenu("Light/Probe Volume (Experimental)")]
public class ProbeVolume : MonoBehaviour
Fields
geometryDistanceOffset
Geometry distance offset
Declaration
[HideInInspector]
[Range(0, 2)]
public float geometryDistanceOffset
Field Value
Type | Description |
---|---|
float |
globalVolume
If is a global bolume
Declaration
public bool globalVolume
Field Value
Type | Description |
---|---|
bool |
highestSubdivLevelOverride
The highest subdivision level override
Declaration
[HideInInspector]
public int highestSubdivLevelOverride
Field Value
Type | Description |
---|---|
int |
lowestSubdivLevelOverride
The lowest subdivision level override
Declaration
[HideInInspector]
public int lowestSubdivLevelOverride
Field Value
Type | Description |
---|---|
int |
objectLayerMask
The LayerMask
Declaration
public LayerMask objectLayerMask
Field Value
Type | Description |
---|---|
LayerMask |
overridesSubdivLevels
If the subdivision levels need to be overriden
Declaration
[HideInInspector]
public bool overridesSubdivLevels
Field Value
Type | Description |
---|---|
bool |
size
The size
Declaration
public Vector3 size
Field Value
Type | Description |
---|---|
Vector3 |
Methods
GetExtents()
Returns the extents of the volume.
Declaration
public Vector3 GetExtents()
Returns
Type | Description |
---|---|
Vector3 | The extents of the ProbeVolume. |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |