PathEngine home previous: iMesh::retrieveNamedObstacleByIndex()next: iMesh::saveGround()
Contents, API Reference, Interfaces, iMesh, saveCollisionPreprocessFor

iMesh::saveCollisionPreprocessFor()

Description

Saves collision preprocess to persistent storage.

Syntax

void saveCollisionPreprocessFor(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

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

Remarks

Use this method in conjunction with iMesh::loadCollisionPreprocessFor() 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::generateCollisionPreprocessFor()
Documentation for PathEngine release 5.16 - Copyright © 2002-2008 PathEnginenext: iMesh::saveGround()