Struct WaterSimSearchData
Structure that holds the water surface data used for height requests.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
public struct WaterSimSearchData
Fields
activeBandCount
Number of bands that the CPU simulation needs to evaluates.
Declaration
public int activeBandCount
Field Value
Type | Description |
---|---|
int |
displacementData
Native array that holds the displacement data for all bands.
Declaration
[ReadOnly]
public NativeArray<float4> displacementData
Field Value
Type | Description |
---|---|
NativeArray<float4> |
rendering
Rendering data
Declaration
public WaterRenderingParameters rendering
Field Value
Type | Description |
---|---|
WaterRenderingParameters |
simulationRes
Resolution that the CPU simulation runs at.
Declaration
public int simulationRes
Field Value
Type | Description |
---|---|
int |
spectrum
Spectrum data
Declaration
public WaterSpectrumParameters spectrum
Field Value
Type | Description |
---|---|
WaterSpectrumParameters |
waterSurfaceElevation
Elevation of the surface (Y axis coordinate).
Declaration
public float waterSurfaceElevation
Field Value
Type | Description |
---|---|
float |