#include <u_instance_group.h>
Nevrax France
Definition at line 77 of file u_instance_group.h.
Public Member Functions | |
virtual std::string | transformName (uint index, const std::string &instanceName, const std::string &shapeName)=0 |
|
transformName is called at the addToScene(Async) moment to transform the name of an instance to another name. This should be useful to replace various shapes by others like in a shape-template. The function is called with the name of the shape and the user must return the new name of the shape. NB: This is called after the 'startAddingIG' calls in the IIGAddBegin callback
Referenced by NL3D::CInstanceGroup::addToSceneAsync(), NL3D::CInstanceGroup::getShapeName(), and NL3D::CInstanceGroup::stopAddToSceneAsync(). |