Specifies how polygons are to be drawn. More...
Public Types | |
enum | Mode { MNone = 0, MRescale = 1, MNormalize = 2, MAuto = 3 } |
Public Member Functions | |
Mode | getMode () |
Returns the render mode. | |
Static Public Member Functions | |
static int | getClassSlot () |
static TypeHandle | getClassType () |
static RenderAttrib const | make (Mode mode) |
Constructs a new RescaleNormalAttrib object that specifies whether to rescale normals to compensate for transform scales or incorrectly defined normals. | |
static RenderAttrib const | makeDefault () |
Constructs a RescaleNoramlAttrib object that's suitable for putting at the top of a scene graph. |
Specifies how polygons are to be drawn.
enum Mode |
static int getClassSlot | ( | ) | [static] |
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from RenderAttrib.
static RenderAttrib const make | ( | Mode | mode | ) | [static] |
Constructs a new RescaleNormalAttrib object that specifies whether to rescale normals to compensate for transform scales or incorrectly defined normals.
static RenderAttrib const makeDefault | ( | ) | [static] |
Constructs a RescaleNoramlAttrib object that's suitable for putting at the top of a scene graph.
This will contain whatever attrib was suggested by the user's rescale-normals Config variable.