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

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

Introduction

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

Prototype

public <T extends RenderableProvider> void render(final Iterable<T> renderableProviders) 

Source Link

Document

Calls RenderableProvider#getRenderables(Array,Pool) and adds all returned Renderable instances to the current batch to be rendered.

Usage

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();
}