MinieExamples/src/main/java/jme3utilities/minie/test/TestSoftBody.java
/**
     * Attach a Node to display hotkey help/hints.
     */
Attach a Node to display hotkey help/hints.
Attach a Node to display hotkey help / hints .
private void addHelp() {
        float margin = 10f; 
        float width = cam.getWidth() - 2f * margin;
        float height = cam.getHeight() - (2f * margin + numStatusLines * 20f);
        float leftX = margin;
        float topY = height + margin;
        Rectangle rectangle = new Rectangle(leftX, topY, width, height);
        attachHelpNode(rectangle);
    }
private void addHelp ( ) { float margin = 10f ; float width = cam . getWidth ( ) - 2f * margin ; float height = cam . getHeight ( ) - ( 2f * margin + numStatusLines * 20f ) ; float leftX = margin ; float topY = height + margin ; Rectangle rectangle = new Rectangle ( leftX , topY , width , height ) ; attachHelpNode ( rectangle ) ; }
Attach a Node to display hotkey help/hints.
Attach a Node to display hotkey help / hints .
// pixels
