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

    maxIterations

    Number of iterations of the search algorithm.

    Declaration
    public int maxIterations
    Field Value
    Type Description
    Int32

    startPosition

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

    Declaration
    public float3 startPosition
    Field Value
    Type Description
    float3

    targetPosition

    Target position that the search needs to evaluate the height at.

    Declaration
    public float3 targetPosition
    Field Value
    Type Description
    float3
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 July 2023