docs.unity3d.com

High Definition RP 17.0.3

Search Results for

    Show / Hide Table of Contents

    Struct WaterSearchParameters

    Structure that holds the input parameters of the search.

    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 WaterSearchParameters

    Fields

    error

    Target error value at which the algorithm should stop.

    Declaration
    public float error
    Field Value
    Type Description
    float

    excludeSimulation

    Specifies if the search should ignore the simulation.

    Declaration
    public bool excludeSimulation
    Field Value
    Type Description
    bool

    includeDeformation

    Specifies if the search should include deformation.

    Declaration
    public bool includeDeformation
    Field Value
    Type Description
    bool

    maxIterations

    Number of iterations of the search algorithm.

    Declaration
    public int maxIterations
    Field Value
    Type Description
    int

    outputNormal

    Specifies if the search should compute the normal of the water surface at the projected position.

    Declaration
    public bool outputNormal
    Field Value
    Type Description
    bool

    startPositionWS

    World Space Position that the search starts from. Can be used as a hint for the search algorithm.

    Declaration
    public float3 startPositionWS
    Field Value
    Type Description
    float3

    targetPositionWS

    Target position in world space that the search needs to evaluate the height at.

    Declaration
    public float3 targetPositionWS
    Field Value
    Type Description
    float3
    In This Article
    • Fields
      • error
      • excludeSimulation
      • includeDeformation
      • maxIterations
      • outputNormal
      • startPositionWS
      • targetPositionWS
    Back to top
    Copyright © 2024 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)