docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct WaterSimSearchData

    Structure that holds the water surface data used for height requests.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)