Example usage for com.badlogic.gdx.graphics.g3d ModelBatch end

List of usage examples for com.badlogic.gdx.graphics.g3d ModelBatch end

Introduction

In this page you can find the example usage for com.badlogic.gdx.graphics.g3d ModelBatch end.

Prototype

public void end() 

Source Link

Document

End rendering one or more Renderable s.

Usage

From source file:com.mbrlabs.mundus.editor.tools.picker.ToolHandlePicker.java

License:Apache License

private void renderPickableScene(ToolHandle[] handles, ModelBatch batch, PerspectiveCamera cam) {
    batch.begin(cam);/*from  w  w w  .j  a va 2s  . c o  m*/
    for (ToolHandle handle : handles) {
        handle.renderPick(batch);
    }
    batch.end();
}

From source file:com.mbrlabs.mundus.utils.Compass.java

License:Apache License

public void render(ModelBatch batch) {
    update();
    batch.begin(ownCam);
    batch.render(compassInstance);
    batch.end();
}