Panda3D
 All Classes Functions Variables Enumerations
Public Member Functions | List of all members
GeomNode::Geoms Class Reference

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. More...
 
int get_num_geoms () const
 Returns the number of geoms of the node. More...
 
void operator= (const Geoms &copy)
 

Detailed Description

Definition at line 165 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 382 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 352 of file geomNode.I.

Referenced by GeomNode::add_for_draw().


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