OpenGLContext.scenegraph.shape

Renderable geometry composed of a geometry object with applied appearance

Classes

class Shape( Shape ):
Defines renderable objects by binding Appearance to a geometry node
The Shape node defines a renderable geometric object. Basically it is a binding of a particular geometry node to a particular appearance node. The Shape node coordinates the rendering of the appearance and geometry such that the appearance is applied only to the appropriate geometry.
Attributes of note within the Shape object:
geometry
pointer to the geometry object, often an arraygeometry object, although potentially a Nurb object, or similar geometric primitive.
appearance
pointer to the appearance object. This must be an actual Appearance object or None to the default appearance.