MinieExamples/src/main/java/jme3utilities/minie/test/TestRbc.java
/**
     * Toggle rendering of the test/missile spatial(s).
     */
Toggle rendering of the test/missile spatial(s).
Toggle rendering of the test / missile spatial ( s ) .
private void toggleMeshes() {
        Spatial.CullHint hint = meshesNode.getLocalCullHint();
        if (hint == Spatial.CullHint.Inherit
                || hint == Spatial.CullHint.Never) {
            hint = Spatial.CullHint.Always;
        } else if (hint == Spatial.CullHint.Always) {
            hint = Spatial.CullHint.Never;
        }
        meshesNode.setCullHint(hint);
    }
private void toggleMeshes ( ) { Spatial . CullHint hint = meshesNode . getLocalCullHint ( ) ; if ( hint == Spatial . CullHint . Inherit || hint == Spatial . CullHint . Never ) { hint = Spatial . CullHint . Always ; } else if ( hint == Spatial . CullHint . Always ) { hint = Spatial . CullHint . Never ; } meshesNode . setCullHint ( hint ) ; }
Toggle rendering of the test/missile spatial(s).
Toggle rendering of the test / missile spatial ( s ) .