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

iMesh::saveGround()

Description

Saves the underlying ground for this iMesh (backward compatibility version).

Syntax

void saveGround(const char* format, bool includeMapping, iOutputStream* outputStream) const;

Parameters

format A C string specifying the format in which data should be output. Currently this can be "xml" or "tok" (lower case).
This format string is not retained after the call and can subsequently be safely deleted.
includeMapping Specifies whether the mapping to 2D should be saved out with the mesh.
Storing this mapping with the mesh ensures that cPositions stored for this mesh will remain valid if the PathEngine generates this mapping changes with a new release.
outputStream The mesh will be saved to this output stream.

Remarks

This method is included for backward compatibility, and effectively just calls on to iMesh::saveGroundEx() with the includeTranslationTo2D and include3DPartitioning parameters both set to false.


Documentation for PathEngine release 5.29 - Copyright © 2002-2012 PathEnginenext: iMesh::saveGroundEx()