docs.unity3d.com
Search Results for

    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.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    public struct WaterSearchResult

    Fields

    Name Description
    candidateLocationWS

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

    currentDirectionWS

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

    error

    Horizontal error value of the search algorithm.

    numIterations

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

    projectedPositionWS

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

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)