PathEngine home previous: iMesh::savePath()next: iMesh::setTerrainCallBack()
Contents, API Reference, Interfaces, iMesh, savePathfindPreprocessFor

iMesh::savePathfindPreprocessFor()

Description

Saves pathfinding preprocess to persistent storage.

Syntax

void savePathfindPreprocessFor(const iShape* shape, iOutputStream* os) const;

Parameters

shape The shape for which preprocess should be saved.
os An output stream to save the preprocess to.

Requirements

Pathfinding preprocess must be present for this shape on this mesh.

Remarks

Use this method in conjunction with iMesh::loadPathfindPreprocessFor() to avoid spending time generating preprocess each time a mesh is loaded.

This method may not be called after iMesh::preprocessGenerationCompleted() has been called for this mesh.

See Also

Interface iOutputStream, iMesh::generatePathfindPreprocessFor()
Documentation for PathEngine release 5.24 - Copyright © 2002-2010 PathEnginenext: iMesh::setTerrainCallBack()