PathEngine home previous: iTestBed::finishGeneratingPreprocess()next: iTestBed::getCommandLineArgument()
Contents, API Reference, Interfaces, iTestBed, getActiveMeshSlot



Helper method to retrieve the currently active 'mesh slot' (when mesh slots are being used).


int32_t getActiveMeshSlot() const;

Return Value

The mesh slot currently set as active.


Note that this method (and the 'mesh slot' mechanism in general) is provided specifically for cases where the current mesh needs to be changed frequently.
In most situations iTestBed::setMesh() and iTestBed::getMesh() should be sufficient.
(See the remarks for iTestBed::setMesh().)

When the testbed starts up slot
is set as active, so this value will be returned if the application has not made any calls to iTestBed::setActiveMeshSlot().
Otherwise this method returns the most recent value set with iTestBed::setActiveMeshSlot().

Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEnginenext: iTestBed::getCommandLineArgument()