Recast Navigation
Navigation-mesh Toolset for Games
SampleTool Struct Referenceabstract

#include <Sample.h>

Inheritance diagram for SampleTool:
ConvexVolumeTool CrowdTool NavMeshPruneTool NavMeshTesterTool NavMeshTileTool OffMeshConnectionTool TempObstacleCreateTool TempObstacleHilightTool

Public Member Functions

virtual ~SampleTool ()
 
virtual int type ()=0
 
virtual void init (class Sample *sample)=0
 
virtual void reset ()=0
 
virtual void handleMenu ()=0
 
virtual void handleClick (const float *s, const float *p, bool shift)=0
 
virtual void handleRender ()=0
 
virtual void handleRenderOverlay (double *proj, double *model, int *view)=0
 
virtual void handleToggle ()=0
 
virtual void handleStep ()=0
 
virtual void handleUpdate (const float dt)=0
 

Constructor & Destructor Documentation

◆ ~SampleTool()

SampleTool::~SampleTool ( )
virtual

Member Function Documentation

◆ handleClick()

virtual void SampleTool::handleClick ( const float *  s,
const float *  p,
bool  shift 
)
pure virtual

◆ handleMenu()

◆ handleRender()

◆ handleRenderOverlay()

virtual void SampleTool::handleRenderOverlay ( double *  proj,
double *  model,
int *  view 
)
pure virtual

◆ handleStep()

◆ handleToggle()

◆ handleUpdate()

virtual void SampleTool::handleUpdate ( const float  dt)
pure virtual

◆ init()

virtual void SampleTool::init ( class Sample sample)
pure virtual

◆ reset()

◆ type()


The documentation for this struct was generated from the following files: