C# Class TerrainDisplay.Recast.RecastAPI

ファイルを表示 Open project: WCell/WCell-Terrain Class Usage Examples

Public Properties

Property Type Description
Dlls string[]

Private Properties

Property Type Description
AddInputMeshGenerator void
DoAddHooks void
GenerateInputMesh void
GetMaxVertsPerPolygon int
OnNavMeshDone void
OnNavMeshGenerated void
OnNavMeshTileGenerated void
RemoveMeshGenerator void
RunRecast void
SetNavMeshDoneCallback void
SetNavMeshGeneratedCallback void
SetNavMeshTileAddedCallback void
SetNavSpeed void
Test void

Public Methods

Method Description
GenerateInputMesh ( IntPtr geom, System.Vector3 vertices, int _triangles, string name ) : void

Generate a mesh using the input mesh parameters, within the given InputGeometry object "geom"

InitAPI ( ) : void

Private Methods

Method Description
AddInputMeshGenerator ( [ name, [ callback ) : void
DoAddHooks ( ) : void
GenerateInputMesh ( IntPtr geom, float vertices, int vcount, int triangles, int tcount, [ name ) : void
GetMaxVertsPerPolygon ( ) : int
OnNavMeshDone ( long navMeshId ) : void
OnNavMeshGenerated ( long navMeshId, int w, int h, float origin, float tileW, float tileH, int maxTiles ) : void
OnNavMeshTileGenerated ( long navMeshId, int x, int y, int nextX, int nextY, uint flags, int vertCount, float vertices, int pCount, int pVCount, uint pFlinks, ushort pVerts, ushort pNeighbors, ushort pFlags, ushort pvCounts, byte pAreas, byte pTypes, int lCount, uint lRefs, uint lNextLinks, byte lEdges, byte lSides, byte lBMins, byte lBMaxs, int dCount, ushort dVBases, ushort dVCounts, ushort dTBases, ushort dTCounts, int dVCount, float dVerts, int dTCount, byte dTris, int omCount, float omPos, float omRads, ushort omPolys, byte omFlags, byte omSides ) : void
RemoveMeshGenerator ( [ name ) : void
RunRecast ( ) : void
SetNavMeshDoneCallback ( _NavMeshDoneHandler cb ) : void
SetNavMeshGeneratedCallback ( _NavMeshGeneratedHandler cb ) : void
SetNavMeshTileAddedCallback ( _NavMeshTileGeneratedHandler cb ) : void
SetNavSpeed ( float speed ) : void
Test ( [ cb ) : void

Method Details

GenerateInputMesh() public static method

Generate a mesh using the input mesh parameters, within the given InputGeometry object "geom"
public static GenerateInputMesh ( IntPtr geom, System.Vector3 vertices, int _triangles, string name ) : void
geom System.IntPtr
vertices System.Vector3
_triangles int
name string
return void

InitAPI() public static method

public static InitAPI ( ) : void
return void

Property Details

Dlls public_oe static_oe property

public static string[] Dlls
return string[]