5#ifndef NIRT_I_SCENE_NODE_FACTORY_HPP_INCLUDED
6#define NIRT_I_SCENE_NODE_FACTORY_HPP_INCLUDED
8#include <nirtcpp/core/engine/IReferenceCounted.hpp>
9#include <nirtcpp/core/engine/ESceneNodeTypes.hpp>
Base class of most objects of the Nirtcpp Engine.
Definition IReferenceCounted.hpp:46
Interface for dynamic creation of scene nodes.
Definition ISceneNodeFactory.hpp:28
virtual ESCENE_NODE_TYPE getCreateableSceneNodeType(u32 idx) const =0
returns type of a creatable scene node type
virtual ISceneNode * addSceneNode(ESCENE_NODE_TYPE type, ISceneNode *parent=0)=0
adds a scene node to the scene graph based on its type id
virtual ISceneNode * addSceneNode(const c8 *typeName, ISceneNode *parent=0)=0
adds a scene node to the scene graph based on its type name
virtual const c8 * getCreateableSceneNodeTypeName(ESCENE_NODE_TYPE type) const =0
returns type name of a creatable scene node type
virtual const c8 * getCreateableSceneNodeTypeName(u32 idx) const =0
returns type name of a creatable scene node type by index
virtual u32 getCreatableSceneNodeTypeCount() const =0
returns amount of scene node types this factory is able to create
Scene node interface.
Definition ISceneNode.hpp:43
ESCENE_NODE_TYPE
An enumeration for all types of built-in scene nodes.
Definition ESceneNodeTypes.hpp:20
As of Nirtcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.hpp:64
char c8
8 bit character variable.
Definition irrTypes.hpp:37