|PathEngine home||previous: ||next: |
Sets the testbed's current mesh (at a given 'mesh slot').
void setMeshAtSlot(int32_t slot, iMesh* mesh);
|slot||The slot at which current mesh should be set. Must be greater than or equal to 0.|
|mesh||The mesh to set at this slot.|
The testbed has a current mesh which can be set and released.
This mesh will be drawn by
Positions passed into the testbed must be positions on this mesh.
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
Using 'mesh slots' then enables the effective current mesh to be changed,
without invalidating internal render preprocess.
When mesh slots are being used, the current mesh at the currently active slot is then the effective current mesh for rendering.
|Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEngine||next: |