Class ProbeReferenceVolumeProfile
An Asset which holds a set of settings to use with a Probe Reference Volume.
Inherited Members
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Scene)
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.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public sealed class ProbeReferenceVolumeProfile : ScriptableObject
Fields
minDistanceBetweenProbes
The minimum distance between two probes in meters.
Declaration
[Min(0.1)]
public float minDistanceBetweenProbes
Field Value
Type | Description |
---|---|
float |
minRendererVolumeSize
Specifies the minimum bounding box volume of renderers to consider placing probes around.
Declaration
[Min(0)]
public float minRendererVolumeSize
Field Value
Type | Description |
---|---|
float |
renderersLayerMask
Layer mask filter for all renderers.
Declaration
public LayerMask renderersLayerMask
Field Value
Type | Description |
---|---|
LayerMask |
simplificationLevels
How many levels contains the probes hierarchical structure.
Declaration
[Range(2, 5)]
public int simplificationLevels
Field Value
Type | Description |
---|---|
int |
Properties
cellSizeInBricks
The size of a Cell in number of bricks.
Declaration
public int cellSizeInBricks { get; }
Property Value
Type | Description |
---|---|
int |
cellSizeInMeters
Size of the cell in meters.
Declaration
public float cellSizeInMeters { get; }
Property Value
Type | Description |
---|---|
float |
maxSubdivision
Maximum subdivision in the structure.
Declaration
public int maxSubdivision { get; }
Property Value
Type | Description |
---|---|
int |
minBrickSize
Minimum size of a brick in meters.
Declaration
public float minBrickSize { get; }
Property Value
Type | Description |
---|---|
float |
Methods
IsEquivalent(ProbeReferenceVolumeProfile)
Determines if the Probe Reference Volume Profile is equivalent to another one.
Declaration
public bool IsEquivalent(ProbeReferenceVolumeProfile otherProfile)
Parameters
Type | Name | Description |
---|---|---|
ProbeReferenceVolumeProfile | otherProfile | The profile to compare with. |
Returns
Type | Description |
---|---|
bool | Whether the Probe Reference Volume Profile is equivalent to another one. |