CrystalSpace

Public API Reference

iSceneNode Struct Reference
[Crystal Space 3D Engine]

This interface represents a node in the scene graph. More...

#include <iengine/scenenode.h>

Inheritance diagram for iSceneNode:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual const csRefArray<
iSceneNode > & 
GetChildren () const =0
 The children of this scene node.
virtual csPtr< iSceneNodeArrayGetChildrenArray () const =0
 The children of this scene node.
virtual iMovableGetMovable () const =0
 Get the movable for this scene node.
virtual iSceneNodeGetParent () const =0
 Get the parent scene node.
virtual iCameraQueryCamera ()=0
 Get the corresponding camera.
virtual iLightQueryLight ()=0
 Get the corresponding light.
virtual iMeshWrapperQueryMesh ()=0
 Get the corresponding mesh.
virtual void SetParent (iSceneNode *parent)=0
 Set the parent scene node.

Detailed Description

This interface represents a node in the scene graph.

It basically represents an object, light, or camera. The scene graph is build out of scene nodes and movables.

Main ways to get pointers to this interface:

Main users of this interface:

Definition at line 63 of file scenenode.h.


Member Function Documentation

virtual const csRefArray<iSceneNode>& iSceneNode::GetChildren (  )  const [pure virtual]

The children of this scene node.

virtual csPtr<iSceneNodeArray> iSceneNode::GetChildrenArray (  )  const [pure virtual]

The children of this scene node.

virtual iMovable* iSceneNode::GetMovable (  )  const [pure virtual]

Get the movable for this scene node.

virtual iSceneNode* iSceneNode::GetParent (  )  const [pure virtual]

Get the parent scene node.

virtual iCamera* iSceneNode::QueryCamera (  )  [pure virtual]

Get the corresponding camera.

Returns 0 if this is not a node for a camera.

virtual iLight* iSceneNode::QueryLight (  )  [pure virtual]

Get the corresponding light.

Returns 0 if this is not a node for a light.

virtual iMeshWrapper* iSceneNode::QueryMesh (  )  [pure virtual]

Get the corresponding mesh.

Returns 0 if this is not a node for a mesh.

virtual void iSceneNode::SetParent ( iSceneNode parent  )  [pure virtual]

Set the parent scene node.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.4.7