PathEngine home previous: iTestBed::saveCameraPosition()next: iTestBed::setAdditiveBlendingAlpha()
Contents, API Reference, Interfaces, iTestBed, setActiveMeshSlot

iTestBed::setActiveMeshSlot()

Description

Sets the active 'mesh slot' (when mesh slots are being used).

Syntax

void setActiveMeshSlot(int32_t slot);
        

Parameters

slot The slot to be set as active. Must be greater than or equal to 0.

Remarks

Enables the effective current mesh to be changed, without invalidating internal render preprocess, see iTestBed::setMeshAtSlot().

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.


Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iTestBed::setAdditiveBlendingAlpha()