◆ createObjectFromType()
SB::Core::Object * SB::Engine::Factory::createObjectFromType |
( |
rttr::type |
objectType, |
|
|
SB_ID |
id = 0 |
|
) |
| |
|
static |
Create an object from its type.
- Parameters
-
objectType | rttr::type of the object to create |
id | optional id of the object |
- Returns
- the created object represented as the base SB::Core::Object type
The documentation for this class was generated from the following files:
- /var/www/soundbakery/sound-bakery/src/sound_bakery/factory.h
- /var/www/soundbakery/sound-bakery/src/sound_bakery/factory.cpp