|
|
|
Specifies how polygons are to be drawn.
More...
#include "renderModeAttrib.h"
List of all members.
Detailed Description
Specifies how polygons are to be drawn.
Definition at line 29 of file renderModeAttrib.h.
Member Function Documentation
Intended to be overridden by derived RenderModeAttrib types to return a unique number indicating whether this RenderModeAttrib is equivalent to the other one.
This should return 0 if the two RenderModeAttrib objects are equivalent, a number less than zero if this one should be sorted before the other one, and a number greater than zero otherwise.
This will only be called with two RenderModeAttrib objects whose get_type() functions return the same.
Reimplemented from RenderAttrib.
Definition at line 121 of file renderModeAttrib.cxx.
Returns the perspective flag.
When this is true, the point thickness represented by get_thickness() is actually a width in 3-d units, and the points should scale according to perspective. When it is false, the default, the point thickness is actually a width in pixels, and points are a uniform size regardless of distance from the camera.
Definition at line 67 of file renderModeAttrib.I.
Referenced by NodePath::get_render_mode_perspective().
Returns the line width or point thickness.
This is only relevant when rendering points or lines, such as when the mode is M_wireframe or M_point (or when rendering actual points or lines primitives in M_polygon mode).
Definition at line 51 of file renderModeAttrib.I.
Referenced by NodePath::get_render_mode_thickness().
The documentation for this class was generated from the following files:
| | |