OpenGLContext.scenegraph.box

Box node for use in geometry attribute of Shapes

Functions

Classes

class Box( Box ):
Simple Box object of given size centered about local origin
The Box geometry node can be used in the geometry field of a Shape node to be displayed. Use Transform nodes to position the box within the world.
The Box includes texture coordinates and normals.
Attributes of note within the Box object:
size
x,y,z tuple giving the size of the box
listID
used internally to store the display list used to display the box during rendering