gwnavgeneration/navmesh/dynamicnavcellheightfield.h Source File
Go to the documentation of this file.
9 #ifndef GwNavGen_DynamicHeightFieldCell_H
10 #define GwNavGen_DynamicHeightFieldCell_H
19 class GeneratorSystem;
20 class DynamicNavRasterCell;
23 class DynamicPointGraphCell;
28 class DynamicNavCellHeightField
33 DynamicNavCellHeightField(GeneratorSystem* sys) : m_sys(sys) {}
34 ~DynamicNavCellHeightField();
36 KyResult ExtractHeightFieldFromDynamicNavRasterCell(
const DynamicNavRasterCell* navRasterCell,
KyUInt32 stride);
38 DynamicNavFloorHeightField* GetNavFloorHeightFieldFromColor(
KyUInt32 color)
40 if (color >= m_heightfieldFloors.GetCount() || m_heightfieldFloors[color] ==
KY_NULL)
44 return m_heightfieldFloors[color];
49 GeneratorSystem* m_sys;
50 KyArrayTLS_POD<DynamicNavFloorHeightField*> m_heightfieldFloors;
56 #endif //GwNavGen_DynamicNavFloor_H
KyInt32 KyResult
Defines a type that can be returned by methods or functions in the Gameware Navigation SDK to indicat...
Definition: types.h:254
#define KY_NULL
Null value.
Definition: types.h:247
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36