C# Class SharpNav.Examples.ExampleWindow

Example window
Inheritance: OpenTK.GameWindow
ファイルを表示 Open project: Robmaister/SharpNav Class Usage Examples

Public Methods

Method Description
ExampleWindow ( )

Protected Methods

Method Description
OnKeyboardKeyDown ( object sender, KeyboardKeyEventArgs e ) : void
OnKeyboardKeyUp ( object sender, KeyboardKeyEventArgs e ) : void
OnLoad ( EventArgs e ) : void
OnMouseButtonDown ( object sender, MouseButtonEventArgs e ) : void
OnMouseButtonUp ( object sender, MouseButtonEventArgs e ) : void
OnMouseMove ( object sender, MouseMoveEventArgs e ) : void
OnMouseWheel ( object sender, MouseWheelEventArgs e ) : void
OnRenderFrame ( FrameEventArgs e ) : void
OnResize ( EventArgs e ) : void
OnUnload ( EventArgs e ) : void
OnUpdateFrame ( FrameEventArgs e ) : void

Private Methods

Method Description
DrawCompactHeightfield ( ) : void
DrawContours ( ) : void
DrawCrowd ( ) : void
DrawDistanceField ( ) : void
DrawHeightfield ( ) : void
DrawLevel ( ) : void
DrawNavMesh ( ) : void
DrawPathfinding ( ) : void
DrawPolyMesh ( ) : void
DrawPolyMeshDetail ( ) : void
DrawRegions ( ) : void
DrawUI ( ) : void
GenerateCrowd ( ) : void
GenerateNavMesh ( ) : void
GeneratePathfinding ( ) : void
GetSteerTarget ( SharpNav.NavMeshQuery navMeshQuery, SharpNav.Geometry.Vector3 startPos, SharpNav.Geometry.Vector3 endPos, float minTargetDist, SharpNav path, SharpNav.Geometry.Vector3 &steerPos, StraightPathFlags &steerPosFlag, NavPolyId &steerPosRef ) : bool
InRange ( SharpNav.Geometry.Vector3 v1, SharpNav.Geometry.Vector3 v2, float r, float h ) : bool
InitializeOpenGL ( ) : void
LoadDebugMeshes ( ) : void
LoadLevel ( ) : void
LoadNavMeshFromFile ( string path ) : void
SaveNavMeshToFile ( string path ) : void
UnloadDebugMeshes ( ) : void
UnloadLevel ( ) : void
VMad ( SharpNav.Geometry.Vector3 &dest, SharpNav.Geometry.Vector3 v1, SharpNav.Geometry.Vector3 v2, float s ) : void

Scaled vector addition

Method Details

ExampleWindow() public method

public ExampleWindow ( )

OnKeyboardKeyDown() protected method

protected OnKeyboardKeyDown ( object sender, KeyboardKeyEventArgs e ) : void
sender object
e OpenTK.Input.KeyboardKeyEventArgs
return void

OnKeyboardKeyUp() protected method

protected OnKeyboardKeyUp ( object sender, KeyboardKeyEventArgs e ) : void
sender object
e OpenTK.Input.KeyboardKeyEventArgs
return void

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseButtonDown() protected method

protected OnMouseButtonDown ( object sender, MouseButtonEventArgs e ) : void
sender object
e OpenTK.Input.MouseButtonEventArgs
return void

OnMouseButtonUp() protected method

protected OnMouseButtonUp ( object sender, MouseButtonEventArgs e ) : void
sender object
e OpenTK.Input.MouseButtonEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( object sender, MouseMoveEventArgs e ) : void
sender object
e OpenTK.Input.MouseMoveEventArgs
return void

OnMouseWheel() protected method

protected OnMouseWheel ( object sender, MouseWheelEventArgs e ) : void
sender object
e OpenTK.Input.MouseWheelEventArgs
return void

OnRenderFrame() protected method

protected OnRenderFrame ( FrameEventArgs e ) : void
e FrameEventArgs
return void

OnResize() protected method

protected OnResize ( EventArgs e ) : void
e System.EventArgs
return void

OnUnload() protected method

protected OnUnload ( EventArgs e ) : void
e System.EventArgs
return void

OnUpdateFrame() protected method

protected OnUpdateFrame ( FrameEventArgs e ) : void
e FrameEventArgs
return void