Class ProbeVolume
A marker to determine what area of the scene is considered by the Probe Volumes system
Inherited Members
UnityEngine.Component.GetComponentInParent(System.Type, System.Boolean)
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Experimental.Rendering
Syntax
[ExecuteAlways]
[AddComponentMenu("Light/Probe Volume (Experimental)")]
public class ProbeVolume : MonoBehaviour
Fields
geometryDistanceOffset
Declaration
[HideInInspector]
[Range(0F, 2F)]
public float geometryDistanceOffset
Field Value
Type | Description |
---|---|
Single |
globalVolume
Declaration
public bool globalVolume
Field Value
Type | Description |
---|---|
Boolean |
highestSubdivLevelOverride
Declaration
[HideInInspector]
public int highestSubdivLevelOverride
Field Value
Type | Description |
---|---|
Int32 |
lowestSubdivLevelOverride
Declaration
[HideInInspector]
public int lowestSubdivLevelOverride
Field Value
Type | Description |
---|---|
Int32 |
objectLayerMask
Declaration
public LayerMask objectLayerMask
Field Value
Type | Description |
---|---|
LayerMask |
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. |