public NavMeshDataResult CreateNavMeshData(RcConfig config, PolyMeshDetail polyMeshDetail, PolyMesh polyMesh, InputGeom geom, int tx, int ty, float agentHeight, float agentRadius, float agentMaxClimb) { return(RecastLibrary.navmesh_data_create( _context.DangerousGetHandle(), ref config, polyMeshDetail.DangerousGetHandle(), polyMesh.DangerousGetHandle(), geom.DangerousGetHandle(), tx, ty, agentHeight, agentRadius, agentMaxClimb)); }
public PolyMeshDetail CreatePolyMeshDetail(RcConfig config, PolyMesh polyMesh, CompactHeightfield chf) { var handle = RecastLibrary.polymesh_detail_create(_context.DangerousGetHandle(), ref config, polyMesh.DangerousGetHandle(), chf.DangerousGetHandle()); return(new PolyMeshDetail(handle)); }