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 static extern ref NavMeshDataResult navmesh_data_create(IntPtr context, ref RcConfig config, IntPtr polyMeshDetail, IntPtr polyMesh, IntPtr geom, int tx, int ty, float agentHeight, float agentRadius, float agentMaxClimb);
public static extern IntPtr polymesh_detail_create(IntPtr context, ref RcConfig config, IntPtr polyMesh, IntPtr chf);
public static extern IntPtr compact_heightfield_create(IntPtr context, ref RcConfig config, IntPtr geom);
public static extern void rcConfig_calc_grid_size(ref RcConfig config, IntPtr geom);
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)); }
public PolyMesh CreatePolyMesh(RcConfig config, CompactHeightfield chf) { var handle = RecastLibrary.polymesh_create(_context.DangerousGetHandle(), ref config, chf.DangerousGetHandle()); return(new PolyMesh(handle)); }
public CompactHeightfield CreateCompactHeightfield(RcConfig config, InputGeom geom) { var handle = RecastLibrary.compact_heightfield_create(_context.DangerousGetHandle(), ref config, geom.DangerousGetHandle()); return(new CompactHeightfield(handle)); }
public void CalcGridSize(ref RcConfig config, InputGeom geom) { RecastLibrary.rcConfig_calc_grid_size(ref config, geom.DangerousGetHandle()); }