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

iTestBed::getActiveMeshSlot()

Description

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

Syntax

int32_t getActiveMeshSlot() const;
        

Return Value

The mesh slot currently set as active.

Remarks

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
0
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.00 - Copyright © 2002-2016 PathEnginenext: iTestBed::getCommandLineArgument()