Search Results for

    Show / Hide Table of Contents

    Class PathUtils

    Inheritance
    object
    PathUtils
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: ProjectDawn.Navigation
    Assembly: ProjectDawn.Navigation.dll
    Syntax
    public class PathUtils

    Methods

    | Improve this Doc View Source

    FindStraightPath(NavMeshQuery, Vector3, Vector3, NativeSlice<PolygonId>, int, ref NativeArray<NavMeshLocation>, ref NativeArray<StraightPathFlags>, ref NativeArray<float>, ref int, int)

    Declaration
    public static PathQueryStatus FindStraightPath(NavMeshQuery query, Vector3 startPos, Vector3 endPos, NativeSlice<PolygonId> path, int pathSize, ref NativeArray<NavMeshLocation> straightPath, ref NativeArray<StraightPathFlags> straightPathFlags, ref NativeArray<float> vertexSide, ref int straightPathCount, int maxStraightPath)
    Parameters
    Type Name Description
    NavMeshQuery query
    Vector3 startPos
    Vector3 endPos
    NativeSlice<PolygonId> path
    int pathSize
    NativeArray<NavMeshLocation> straightPath
    NativeArray<StraightPathFlags> straightPathFlags
    NativeArray<float> vertexSide
    int straightPathCount
    int maxStraightPath
    Returns
    Type Description
    PathQueryStatus
    | Improve this Doc View Source

    Perp2D(Vector3, Vector3)

    Declaration
    public static float Perp2D(Vector3 u, Vector3 v)
    Parameters
    Type Name Description
    Vector3 u
    Vector3 v
    Returns
    Type Description
    float
    | Improve this Doc View Source

    RetracePortals(NavMeshQuery, int, int, NativeSlice<PolygonId>, int, Vector3, ref NativeArray<NavMeshLocation>, ref NativeArray<StraightPathFlags>, int)

    Declaration
    public static int RetracePortals(NavMeshQuery query, int startIndex, int endIndex, NativeSlice<PolygonId> path, int n, Vector3 termPos, ref NativeArray<NavMeshLocation> straightPath, ref NativeArray<StraightPathFlags> straightPathFlags, int maxStraightPath)
    Parameters
    Type Name Description
    NavMeshQuery query
    int startIndex
    int endIndex
    NativeSlice<PolygonId> path
    int n
    Vector3 termPos
    NativeArray<NavMeshLocation> straightPath
    NativeArray<StraightPathFlags> straightPathFlags
    int maxStraightPath
    Returns
    Type Description
    int
    | Improve this Doc View Source

    Swap(ref Vector3, ref Vector3)

    Declaration
    public static void Swap(ref Vector3 a, ref Vector3 b)
    Parameters
    Type Name Description
    Vector3 a
    Vector3 b
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © ProjectDawn.
    Generated by DocFX