Strata - v1.4.10
    Preparing search index...

    Interface YukaNavMeshRef

    Ref interface for YukaNavMesh imperative control.

    interface YukaNavMeshRef {
        findPath: (from: Vector3, to: Vector3) => Vector3[];
        getClosestRegion: (point: Vector3) => Polygon | null;
        getRandomRegion: () => Polygon | null;
        navMesh: NavMesh;
    }
    Index

    Properties

    findPath: (from: Vector3, to: Vector3) => Vector3[]

    Find a path between two world positions.

    getClosestRegion: (point: Vector3) => Polygon | null

    Get the closest region to a point.

    getRandomRegion: () => Polygon | null

    Get a random walkable region.

    navMesh: NavMesh

    The underlying Yuka NavMesh instance.