docs.unity.cn
    Show / Hide Table of Contents

    Struct WaterSearchResult

    Structure that holds the output 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 WaterSearchResult

    Fields

    candidateLocationWS

    Location of the 3D world space point that has been displaced to the target positions

    Declaration
    public float3 candidateLocationWS
    Field Value
    Type Description
    float3

    currentDirectionWS

    Vector that gives the local current orientation (if any).

    Declaration
    public float3 currentDirectionWS
    Field Value
    Type Description
    float3

    error

    Horizontal error value of the search algorithm.

    Declaration
    public float error
    Field Value
    Type Description
    Single

    numIterations

    Number of iterations of the search algorithm to find the height value.

    Declaration
    public int numIterations
    Field Value
    Type Description
    Int32

    projectedPositionWS

    Returns the world space position projected on the water surface along the up vector of the water surface.

    Declaration
    public float3 projectedPositionWS
    Field Value
    Type Description
    float3
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023