Recast Navigation
Navigation-mesh Toolset for Games
Sample.h File Reference
#include "Recast.h"
#include "SampleInterfaces.h"

Go to the source code of this file.

Classes

class  SampleDebugDraw
 
struct  SampleTool
 
struct  SampleToolState
 
class  Sample
 

Enumerations

enum  SampleToolType {
  TOOL_NONE = 0 , TOOL_TILE_EDIT , TOOL_TILE_HIGHLIGHT , TOOL_TEMP_OBSTACLE ,
  TOOL_NAVMESH_TESTER , TOOL_NAVMESH_PRUNE , TOOL_OFFMESH_CONNECTION , TOOL_CONVEX_VOLUME ,
  TOOL_CROWD , MAX_TOOLS
}
 Tool types. More...
 
enum  SamplePolyAreas {
  SAMPLE_POLYAREA_GROUND , SAMPLE_POLYAREA_WATER , SAMPLE_POLYAREA_ROAD , SAMPLE_POLYAREA_DOOR ,
  SAMPLE_POLYAREA_GRASS , SAMPLE_POLYAREA_JUMP
}
 These are just sample areas to use consistent values across the samples. More...
 
enum  SamplePolyFlags {
  SAMPLE_POLYFLAGS_WALK = 0x01 , SAMPLE_POLYFLAGS_SWIM = 0x02 , SAMPLE_POLYFLAGS_DOOR = 0x04 , SAMPLE_POLYFLAGS_JUMP = 0x08 ,
  SAMPLE_POLYFLAGS_DISABLED = 0x10 , SAMPLE_POLYFLAGS_ALL = 0xffff
}
 
enum  SamplePartitionType { SAMPLE_PARTITION_WATERSHED , SAMPLE_PARTITION_MONOTONE , SAMPLE_PARTITION_LAYERS }
 

Enumeration Type Documentation

◆ SamplePartitionType

Enumerator
SAMPLE_PARTITION_WATERSHED 
SAMPLE_PARTITION_MONOTONE 
SAMPLE_PARTITION_LAYERS 

◆ SamplePolyAreas

These are just sample areas to use consistent values across the samples.

The use should specify these base on his needs.

Enumerator
SAMPLE_POLYAREA_GROUND 
SAMPLE_POLYAREA_WATER 
SAMPLE_POLYAREA_ROAD 
SAMPLE_POLYAREA_DOOR 
SAMPLE_POLYAREA_GRASS 
SAMPLE_POLYAREA_JUMP 

◆ SamplePolyFlags

Enumerator
SAMPLE_POLYFLAGS_WALK 
SAMPLE_POLYFLAGS_SWIM 
SAMPLE_POLYFLAGS_DOOR 
SAMPLE_POLYFLAGS_JUMP 
SAMPLE_POLYFLAGS_DISABLED 
SAMPLE_POLYFLAGS_ALL 

◆ SampleToolType

Tool types.

Enumerator
TOOL_NONE 
TOOL_TILE_EDIT 
TOOL_TILE_HIGHLIGHT 
TOOL_TEMP_OBSTACLE 
TOOL_NAVMESH_TESTER 
TOOL_NAVMESH_PRUNE 
TOOL_OFFMESH_CONNECTION 
TOOL_CONVEX_VOLUME 
TOOL_CROWD 
MAX_TOOLS