< Zurück | Inhalt | Weiter >


Four separate calls must be made to the setCapability method—it is not possible to OR together the various capabilities. ORing together capability bits will lead to very unpredictable behavior.

Public accessor methods to access the member variable are defined as:

app.setMaterial( new Material() ); app.setPolygonAttributes( new PolygonAttributes() );

PolygonAttributes polyAttribs = app.getPolygonAttributes(); Material material = app.getMaterial();