Class ProbeReferenceVolumeProfile
An Asset which holds a set of settings to use with a Probe Reference Volume.
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
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 |
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. |