Method GetHashCode
GetHashCode(Camera)
Returns the hash code of the sky parameters.
Declaration
public virtual int GetHashCode(Camera camera)
Parameters
| Type | Name | Description |
|---|---|---|
| Camera | camera | The camera we want to use to compute the hash of the sky. |
Returns
| Type | Description |
|---|---|
| int | The hash code of the sky parameters. |
GetHashCode()
Returns the hash code of the sky parameters. When used with PBR Sky please use the GetHashCode variant that takes a camera as parameter.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | The hash code of the sky parameters. |
Overrides
UnityEngine.Rendering.VolumeComponent.GetHashCode()