PathEngine home previous: iMesh::loadPath()next: iMesh::loadUnobstructedSpaceFor()
Contents, API Reference, Interfaces, iMesh, loadPathfindPreprocessFor



Loads pathfind preprocess from persistent storage.


void loadPathfindPreprocessFor(const iShape* shape, char const * data_Buffer, uint32_t data_BufferEntries);


shape The shape for which preprocess should be loaded.
data_Buffer, data_BufferEntries (See Passing Arrays.) The data buffer to load from.


The shape must be identical to the shape for which the preprocess was originally saved.

Unobstructed space data must be present for this shape, and identical to the unobstructed space data against which the preprocess was originally generated.

Pathfind preprocess must not already be present for this shape on this mesh.


The buffer passed in must contain data previously saved out by iMesh::savePathfindPreprocessFor().

This method can be called where you would previously have called iMesh::generatePathfindPreprocessFor(), to save time generating preprocess.

The structure of PathEngine's pathfind preproces may be changed between releases.
iPathEngine::pathfindPreprocessVersionIsCompatible() can be used to check whether preprocess saved out of an older release can be loaded into the current release.

C# Mapping

void loadPathfindPreprocessFor(Shape shape, byte[] data);

Java Mapping

void loadPathfindPreprocessFor(Shape shape, byte[] data);

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iMesh::loadUnobstructedSpaceFor()