Panda3D
Public Member Functions

GeomNode::Geoms Class Reference

List of all members.

Public Member Functions

 Geoms (const CData *cdata)
 Geoms (const Geoms &copy)
 CPT (Geom) get_geom(int n) const
const RenderStateget_geom_state (int n) const
 Returns the RenderState associated with the nth geom of the node.
int get_num_geoms () const
 Returns the number of geoms of the node.
void operator= (const Geoms &copy)

Detailed Description

Definition at line 164 of file geomNode.h.


Member Function Documentation

const RenderState * GeomNode::Geoms::get_geom_state ( int  n) const [inline]

Returns the RenderState associated with the nth geom of the node.

This is just the RenderState directly associated with the Geom; the actual state in which the Geom is rendered will also be affected by RenderStates that appear on the scene graph in nodes above this GeomNode.

Definition at line 359 of file geomNode.I.

Referenced by GeomNode::add_for_draw().

int GeomNode::Geoms::get_num_geoms ( ) const [inline]

Returns the number of geoms of the node.

Definition at line 329 of file geomNode.I.

Referenced by GeomNode::add_for_draw().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations