Class ProbeReferenceVolumeProfile
An Asset which holds a set of settings to use with a
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Experimental.Rendering
Syntax
public sealed class ProbeReferenceVolumeProfile : ScriptableObject
Fields
minDistanceBetweenProbes
The minimum distance between two probes in meters.
Declaration
[Min(0.1F)]
public float minDistanceBetweenProbes
Field Value
Type | Description |
---|---|
Single |
simplificationLevels
How many levels contains the probes hierarchical structure.
Declaration
[Range(2F, 5F)]
public int simplificationLevels
Field Value
Type | Description |
---|---|
Int32 |
Properties
cellSizeInBricks
The size of a Cell in number of bricks.
Declaration
public int cellSizeInBricks { get; }
Property Value
Type | Description |
---|---|
Int32 |
cellSizeInMeters
Size of the cell in meters.
Declaration
public float cellSizeInMeters { get; }
Property Value
Type | Description |
---|---|
Single |
maxSubdivision
Maximum subdivision in the structure.
Declaration
public int maxSubdivision { get; }
Property Value
Type | Description |
---|---|
Int32 |
minBrickSize
Minimum size of a brick in meters.
Declaration
public float minBrickSize { get; }
Property Value
Type | Description |
---|---|
Single |
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 |
---|---|
Boolean | Whether the Probe Reference Volume Profile is equivalent to another one. |