RescaleNormalAttrib
from panda3d.core import RescaleNormalAttrib
- class RescaleNormalAttrib
Bases:
RenderAttrib
Specifies how polygons are to be drawn.
Inheritance diagram
- MAuto = 3
- MNone = 0
- MNormalize = 2
- MRescale = 1
- M_auto = 3
- M_none = 0
- M_normalize = 2
- M_rescale = 1
- __init__(*args, **kwargs)
- class_slot = 22
- getClassSlot()
C++ Interface: get_class_slot()
- getClassType()
C++ Interface: get_class_type()
- get_class_slot()
C++ Interface: get_class_slot()
- get_class_type()
C++ Interface: get_class_type()
- make()
C++ Interface: make(int mode)
- /**
Constructs a new RescaleNormalAttrib object that specifies whether to
rescale normals to compensate for transform scales or incorrectly defined
normals.
*/
- makeDefault()
C++ Interface: make_default()
- /**
Constructs a RescaleNormalAttrib 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.
*/
- make_default()
C++ Interface: make_default()
- /**
Constructs a RescaleNormalAttrib 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.
*/
- mode