PixelLightAPI  .
Public Member Functions
PLScene::SceneHierarchyNodeItem Class Reference

Scene hierarchy node item class. More...

#include <SceneHierarchyNodeItem.h>

List of all members.

Public Member Functions

PLS_API SceneNodeGetSceneNode () const
 Returns the scene node this scene hierarchy node item is linked to.
PLS_API SceneHierarchyNodeGetHierarchyNode () const
 Returns the scene hierarchy node this scene hierarchy node item is attached to.
PLS_API SceneHierarchyNodeItemGetPreviousItem () const
 Returns the previous scene hierarchy node item.
PLS_API SceneHierarchyNodeItemGetNextItem () const
 Returns the next scene hierarchy node item.
PLS_API SceneHierarchyNodeItem ()
 Constructor.
PLS_API ~SceneHierarchyNodeItem ()
 Destructor.
PLS_API bool Link (SceneNode &cSceneNode)
 Links this scene hierarchy node item with a scene node.
PLS_API bool Unlink ()
 Unlinks this scene hierarchy node item from the scene node.
PLS_API bool Attach (SceneHierarchyNode &cSceneHierarchyNode)
 Attaches this scene hierarchy node item to a scene hierarchy node.
PLS_API bool Detach ()
 Detaches this scene hierarchy node item from it's scene hierarchy node.
PLS_API SceneHierarchyNodeItemClone () const
 Returns a clone of this scene hierarchy node item.

Detailed Description

Scene hierarchy node item class.

Remarks:
A scene hierarchy node item connects scene nodes and hierarchy nodes. One scene node can have multiple hierarchy node items linking them to different hierarchy nodes and one hierarchy node can have multiple hierarchy node items within it linking to different scene nodes.

Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

Returns the scene node this scene hierarchy node item is linked to.

Returns:
The scene node this scene hierarchy node item is linked to, a null pointer on error (currently not linked to a scene node?)

Returns the scene hierarchy node this scene hierarchy node item is attached to.

Returns:
The scene hierarchy node this scene hierarchy node item is attached to, a null pointer on error (currently not attached to a scene hierarchy node?)

Returns the previous scene hierarchy node item.

Returns:
The previous scene hierarchy node item, a null pointer if there's no previous item

Returns the next scene hierarchy node item.

Returns:
The next scene hierarchy node item, a null pointer if there's no next item
PLS_API bool PLScene::SceneHierarchyNodeItem::Link ( SceneNode cSceneNode)

Links this scene hierarchy node item with a scene node.

Parameters:
[in]cSceneNodeScene node where link this scene hierarchy node item to
Returns:
'true' if all went fine, else 'false' (currently already linked?)

Unlinks this scene hierarchy node item from the scene node.

Returns:
'true' if all went fine, else 'false' (currently not linked?)
PLS_API bool PLScene::SceneHierarchyNodeItem::Attach ( SceneHierarchyNode cSceneHierarchyNode)

Attaches this scene hierarchy node item to a scene hierarchy node.

Parameters:
[in]cSceneHierarchyNodeScene hierarchy node where to attach this scene hierarchy node item
Returns:
'true' if all went fine, else 'false' (currently already attached?)

Detaches this scene hierarchy node item from it's scene hierarchy node.

Returns:
'true' if all went fine, else 'false' (currently not attached?)

Returns a clone of this scene hierarchy node item.

Returns:
A clone of this scene hierarchy node item
Note:
  • The clone is already linked to the same scene node, but not attached to any scene hierarchy node

The documentation for this class was generated from the following file:


PixelLight PixelLight 0.9.11-R1
Copyright (C) 2002-2012 by The PixelLight Team
Last modified Thu Feb 23 2012 14:09:40
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported