PathEngine home previous: iPathEngine::newContentChunk()next: iPathEngine::newShape()
Contents, API Reference, Interfaces, iPathEngine, newMesh

iPathEngine::newMesh()

Description

Constructs an iMesh object for a given ground surface.

Syntax

std::unique_ptr<iMesh> newMesh(const iGround& ground, const char *const* options)

Parameters

ground The underlying ground surface for the constructed mesh. This ground object is immutable, and can be shared with other iMeshes (e.g. in the case of a mesh 'federation').
options See mesh loading options.

Return Value

A newly created Interface iMesh object.

Remarks

Placed obstacles can be added to the constructed mesh, as well as other mutable state, collision and pathfinding preprocess, and so on.

C# Mapping

Mesh newMesh(Ground ground, string[] options);

Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEnginenext: iPathEngine::newShape()