From 7028cbe09c688437910a25623098762bf0fa592d Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 28 Mar 2016 22:28:34 +1000 Subject: Move Irrlicht to src/others. --- ...classirr_1_1scene_1_1_i_scene_node_factory.html | 329 +++++++++++++++++++++ 1 file changed, 329 insertions(+) create mode 100644 src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_scene_node_factory.html (limited to 'src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_scene_node_factory.html') diff --git a/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_scene_node_factory.html b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_scene_node_factory.html new file mode 100644 index 0000000..6e415c9 --- /dev/null +++ b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_scene_node_factory.html @@ -0,0 +1,329 @@ + + + + +Irrlicht 3D Engine: irr::scene::ISceneNodeFactory Class Reference + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + +
+
Irrlicht 3D Engine + +
+ +
+ + + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+
+ +
+
irr::scene::ISceneNodeFactory Class Reference
+
+
+ +

Interface for dynamic creation of scene nodes. + More...

+ +

#include <ISceneNodeFactory.h>

+
+ + Inheritance diagram for irr::scene::ISceneNodeFactory:
+
+
+ + +

List of all members.

+

+Public Member Functions

+ +

Detailed Description

+

Interface for dynamic creation of scene nodes.

+

To be able to add custom scene nodes to Irrlicht and to make it possible for the scene manager to save and load those external scene nodes, simply implement this interface and register it in you scene manager via ISceneManager::registerSceneNodeFactory. Note: When implementing your own scene node factory, don't call ISceneNodeManager::grab() to increase the reference counter of the scene node manager. This is not necessary because the scene node manager will grab() the factory anyway, and otherwise cyclic references will be created and the scene manager and all its nodes won't get deallocated.

+ +

Definition at line 27 of file ISceneNodeFactory.h.

+

Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
virtual ISceneNode* irr::scene::ISceneNodeFactory::addSceneNode (ESCENE_NODE_TYPE type,
ISceneNodeparent = 0 
) [pure virtual]
+
+
+ +

adds a scene node to the scene graph based on its type id

+
Parameters:
+ + + +
type,:Type of the scene node to add.
parent,:Parent scene node of the new node, can be null to add the scene node to the root.
+
+
+
Returns:
Returns pointer to the new scene node or null if not successful. This pointer should not be dropped. See IReferenceCounted::drop() for more information.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
virtual ISceneNode* irr::scene::ISceneNodeFactory::addSceneNode (const c8typeName,
ISceneNodeparent = 0 
) [pure virtual]
+
+
+ +

adds a scene node to the scene graph based on its type name

+
Parameters:
+ + + +
typeName,:Type name of the scene node to add.
parent,:Parent scene node of the new node, can be null to add the scene node to the root.
+
+
+
Returns:
Returns pointer to the new scene node or null if not successful. This pointer should not be dropped. See IReferenceCounted::drop() for more information.
+ +
+
+ +
+
+ + + + + + + +
virtual u32 irr::scene::ISceneNodeFactory::getCreatableSceneNodeTypeCount () const [pure virtual]
+
+
+ +

returns amount of scene node types this factory is able to create

+ +
+
+ +
+
+ + + + + + + + +
virtual ESCENE_NODE_TYPE irr::scene::ISceneNodeFactory::getCreateableSceneNodeType (u32 idx) const [pure virtual]
+
+
+ +

returns type of a createable scene node type

+
Parameters:
+ + +
idx,:Index of scene node type in this factory. Must be a value between 0 and getCreatableSceneNodeTypeCount()
+
+
+ +
+
+ +
+
+ + + + + + + + +
virtual const c8* irr::scene::ISceneNodeFactory::getCreateableSceneNodeTypeName (u32 idx) const [pure virtual]
+
+
+ +

returns type name of a createable scene node type by index

+
Parameters:
+ + +
idx,:Index of scene node type in this factory. Must be a value between 0 and getCreatableSceneNodeTypeCount()
+
+
+ +
+
+ +
+
+ + + + + + + + +
virtual const c8* irr::scene::ISceneNodeFactory::getCreateableSceneNodeTypeName (ESCENE_NODE_TYPE type) const [pure virtual]
+
+
+ +

returns type name of a createable scene node type

+
Parameters:
+ + +
type,:Type of scene node.
+
+
+
Returns:
: Returns name of scene node type if this factory can create the type, otherwise 0.
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + + -- cgit v1.1