99

Controlling appearance
PolygonAttributes Class Methods

Method Default
PolygonAttributes( ) -
void setCullFace( int cullface ) CULL_BACK
void setPolygonMode( int mode ) POLYGON_FILL
void setPolygonOffset( float offset ) 0.0

  • Face culling modes include: CULL_NONE, CULL_BACK, and CULL_FRONT
  • Polygon modes include: POLYGON_POINT, POLYGON_LINE, and POLYGON_FILL