Navigation
API > API/Runtime > API/Runtime/Navmesh
Modified version of Recast/Detour's source file Copyright (c) 2009-2010 Mikko Mononen [email protected]
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
This notice may not be removed or altered from any source distribution.
| Name | dtProximityGrid |
| Type | class |
| Header File | /Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourProximityGrid.h |
| Include Path | #include "DetourCrowd/DetourProximityGrid.h" |
Syntax
class dtProximityGrid
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
dtProximityGrid() |
DetourCrowd/DetourProximityGrid.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~dtProximityGrid() |
DetourCrowd/DetourProximityGrid.h |
Structs
| Name | Remarks |
|---|---|
| Item |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| m_bounds | int | DetourCrowd/DetourProximityGrid.h | ||
| m_buckets | unsigned short * | DetourCrowd/DetourProximityGrid.h | ||
| m_bucketsSize | int | DetourCrowd/DetourProximityGrid.h | ||
| m_cellSize | dtReal | DetourCrowd/DetourProximityGrid.h | ||
| m_invCellSize | dtReal | DetourCrowd/DetourProximityGrid.h | ||
| m_pool | Item * | DetourCrowd/DetourProximityGrid.h | ||
| m_poolHead | int | DetourCrowd/DetourProximityGrid.h | ||
| m_poolSize | int | DetourCrowd/DetourProximityGrid.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void addItem
(
const unsigned short id, |
DetourCrowd/DetourProximityGrid.h | ||
void clear() |
DetourCrowd/DetourProximityGrid.h | ||
const int * getBounds() |
DetourCrowd/DetourProximityGrid.h | ||
const dtReal getCellSize() |
DetourCrowd/DetourProximityGrid.h | ||
int getItemCountAt
(
const int x, |
DetourCrowd/DetourProximityGrid.h | ||
bool init
(
const int maxItems, |
DetourCrowd/DetourProximityGrid.h | ||
int queryItems
(
const dtReal minx, |
DetourCrowd/DetourProximityGrid.h |