docs.unity.cn
    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.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    public struct WaterSearchParameters

    Fields

    error

    Target error value at which the algorithm should stop.

    Declaration
    public float error
    Field Value
    Type Description
    Single

    excludeSimulation

    Specifies if the search should ignore the simulation.

    Declaration
    public bool excludeSimulation
    Field Value
    Type Description
    Boolean

    includeDeformation

    Specifies if the search should include deformation.

    Declaration
    public bool includeDeformation
    Field Value
    Type Description
    Boolean

    maxIterations

    Number of iterations of the search algorithm.

    Declaration
    public int maxIterations
    Field Value
    Type Description
    Int32

    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
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 31 July 2023