#include <X3DAppearanceNode.h>
Inheritance diagram for H3D::X3DAppearanceNode:

Public Member Functions | |
| X3DAppearanceNode (Inst< DisplayList > _displayList=0, Inst< SFNode > _metadata=0) | |
| Constructor. | |
| virtual void | preRender () |
| This function will be called by the X3DShapeNode before any rendering of geometry and before the call to the render function. | |
| virtual void | postRender () |
| This function will be called by the X3DShapeNode after the geometry has been rendered to restore the states to what it was before the call to preRender(). | |
| virtual bool | isTransparent () |
| This function checks the transparency field to determine if the material requires that the geometry is rendered with transparency. | |
| virtual string | defaultXMLContainerField () |
| Returns the default xml containerField attribute value. | |
Static Public Attributes | |
| static H3DNodeDatabase | database |
| The H3DNodeDatabase for this node. | |
|
|
Returns the default xml containerField attribute value. For this node it is "appearance". Reimplemented from H3D::Node. |
|
|
This function will be called by the X3DShapeNode before any rendering of geometry and before the call to the render function. So this is the place to save the states that are going to be changed in render() in order to restore it in postRender(). Reimplemented in H3D::Appearance. |
1.4.5