GenericModelclass represents a generic model node in a world.
class GenericModel final : public Model, public ListElement<GenericModel>
||Returns the model resource name.|
GenericModel(const char *name);
||The name of the model resource.|
GenericModelclass serves as the root node for a generic model in a world. An instance of
GenericModelshould be constructed to explicitly create a model that does not have a type that was previously registered through the
GenericModelnode is created, the model resource specified by the
nameparameter is loaded as a subtree of the
GenericModelnode. If another
GenericModelnode already exists for the same name, then the resource is not reloaded, but a clone of the existing model is created to share the same object data.
If no model resource matching the
nameparameter can be found, then no subnodes are created beneath the
||Used internally by the World Manager.|