5#ifndef DCPP_I_SCENE_NODE_FACTORY_HPP_INCLUDED
6#define DCPP_I_SCENE_NODE_FACTORY_HPP_INCLUDED
8#include <duckcpp/core/engine/IReferenceCounted.hpp>
9#include <duckcpp/core/engine/ESceneNodeTypes.hpp>
Base class of most objects of the Duckcpp Engine.
Definition IReferenceCounted.hpp:46
Interface for dynamic creation of scene nodes.
Definition ISceneNodeFactory.hpp:28
virtual ISceneNode * addSceneNode(const dcpp::char_kt *typeName, ISceneNode *parent=0)=0
adds a scene node to the scene graph based on its type name
virtual const dcpp::char_kt * getCreateableSceneNodeTypeName(dcpp::uint32_kt idx) const =0
returns type name of a creatable scene node type by index
virtual dcpp::uint32_kt getCreatableSceneNodeTypeCount() const =0
returns amount of scene node types this factory is able to create
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 const dcpp::char_kt * getCreateableSceneNodeTypeName(ESCENE_NODE_TYPE type) const =0
returns type name of a creatable scene node type
virtual ESCENE_NODE_TYPE getCreateableSceneNodeType(dcpp::uint32_kt idx) const =0
returns type of a creatable scene node type
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 Duckcpp 1.6, position2d is a synonym for vector2d.
Definition shared_device.hpp:34
char char_kt
8 bit character variable.
Definition irrTypes.hpp:37
unsigned int uint32_kt
32 bit unsigned variable.
Definition irrTypes.hpp:64