class GeometryNode
Description
This class defines methods and data common to all geometry
nodes.
Proxy class hierarchy
GeometryNode
: DrawableNode
: Traversable
Methods
A number of methods are defined which can be used by derived
geometry nodes to access their Material2D and
Properties2D attributes. These methods are as
follows:
Color3f GetColor3f() const
float GetTransparency() const
Bool GetFilled() const
Bool GetShadow() const
int GetWidth() const
The GeometryNode also provides a default implementation
for the following methods which are inherited from the base classes:
BOOL NeedsDrawing() const
BOOL IsTransparent() const
void FindTouchSensor(EventInfo const* pEvent)
BOOL IsFinished() const
There are also more methods which the parent Shape2D node uses
to set the associated Appearance2D node, and to also store a
pointer to the Shape2DProxy node. These methods are as follows:
void SetAppearance(Appearance2D* pNode)
Appearance2D* GetAppearance() const
void SetShape2DProxy(class Shape2DProxy* pShape2DProxy)
Shape2DProxy* GetShape2DProxy() const