<Pyramid|User's Guide|Sphere>

Quad

See Javadoc

Quad defines a two dimensional four sided shape. By default the z width is always 0, where X corresponds to the width and Y corresponds to the height.

Example 1 - Create a Quad and Place in the Scene

Quad q = new Quad("quad", 800, 600);
rootNode.attachChild(q);

Tips

  • Quad can be useful for UI type elements. If the Quad is placed in the ORTHO RenderQueue the width and height will be pixel sizes. Translating along the X and Y (NOT Z) will position the quad on the screen.

<Pyramid|User's Guide|Sphere>


/var/www/wiki/data/pages/quad.txt · Last modified: 2009/07/28 18:44 (external edit)  
Recent changes · Show pagesource · Login

Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki

subscribe to jME latest jme headlines


site design by bleedcrimson designs © 2008