public class GdxModelRenderer
extends org.oscim.renderer.LayerRenderer
| Modifier and Type | Field and Description |
|---|---|
MapCamera |
cam |
com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.ModelInstance> |
instances |
com.badlogic.gdx.graphics.g3d.Environment |
lights |
com.badlogic.gdx.graphics.g3d.Model |
model |
com.badlogic.gdx.graphics.g3d.utils.RenderContext |
renderContext |
com.badlogic.gdx.graphics.g3d.Shader |
shader |
| Constructor and Description |
|---|
GdxModelRenderer(org.oscim.map.Map map) |
| Modifier and Type | Method and Description |
|---|---|
void |
render(org.oscim.renderer.GLViewport v) |
boolean |
setup() |
void |
update(org.oscim.renderer.GLViewport v) |
public MapCamera cam
public com.badlogic.gdx.graphics.g3d.Environment lights
public com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.ModelInstance> instances
public com.badlogic.gdx.graphics.g3d.Shader shader
public com.badlogic.gdx.graphics.g3d.utils.RenderContext renderContext
public com.badlogic.gdx.graphics.g3d.Model model
public boolean setup()
setup in class org.oscim.renderer.LayerRendererpublic void update(org.oscim.renderer.GLViewport v)
update in class org.oscim.renderer.LayerRendererpublic void render(org.oscim.renderer.GLViewport v)
render in class org.oscim.renderer.LayerRenderer