Struct WaterSpectrumParameters
Structure that holds all the data that allows us to define the water spectrum.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
public struct WaterSpectrumParameters
Methods
Equals(object)
Returns true if the WaterSpectrumParameters is equal to a given WaterSpectrumParameters, false otherwise.
Declaration
public override bool Equals(object o)
Parameters
Type | Name | Description |
---|---|---|
object | o | Right hand side argument to compare equality with. |
Returns
Type | Description |
---|---|
bool | The result of the equality comparison. |
Overrides
GetHashCode()
Get an appropriate hash value for this NPath.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash value for this NPath. |
Overrides
Operators
operator ==(WaterSpectrumParameters, WaterSpectrumParameters)
Compare two WaterSpectrumParameters for equality.
Declaration
public static bool operator ==(WaterSpectrumParameters a, WaterSpectrumParameters b)
Parameters
Type | Name | Description |
---|---|---|
WaterSpectrumParameters | a | The first WaterSpectrumParameters to compare. |
WaterSpectrumParameters | b | The second WaterSpectrumParameters to compare. |
Returns
Type | Description |
---|---|
bool | True if the WaterSpectrumParameters are both equal (or both null), false otherwise. |
operator !=(WaterSpectrumParameters, WaterSpectrumParameters)
Compare two WaterSpectrumParameters for inequality.
Declaration
public static bool operator !=(WaterSpectrumParameters a, WaterSpectrumParameters b)
Parameters
Type | Name | Description |
---|---|---|
WaterSpectrumParameters | a | The first WaterSpectrumParameters to compare. |
WaterSpectrumParameters | b | The second WaterSpectrumParameters to compare. |
Returns
Type | Description |
---|---|
bool | True if the WaterSpectrumParameters are not equal, false otherwise. |