Package com.prineside.luaj.mapping.parts
Class LJ_GDX.MapRenderer_BL.LIP
java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX.MapRenderer_BL.LIP
- All Implemented Interfaces:
com.badlogic.gdx.maps.MapRenderer
,com.esotericsoftware.kryo.KryoSerializable
- Enclosing class:
- LJ_GDX.MapRenderer_BL
public static class LJ_GDX.MapRenderer_BL.LIP
extends InterfaceProxy
implements com.badlogic.gdx.maps.MapRenderer
-
Field Summary
Fields inherited from class com.prineside.luaj.mapping.InterfaceProxy
luaObj
-
Method Summary
Modifier and TypeMethodDescriptionvoid
render()
Renders all the layers of a map.void
render
(int[] p1) Renders the given layers of a map.void
setView
(com.badlogic.gdx.graphics.OrthographicCamera p1) Sets the projection matrix and viewbounds from the given camera.void
setView
(com.badlogic.gdx.math.Matrix4 p1, float p2, float p3, float p4, float p5) Sets the projection matrix for rendering, as well as the bounds of the map which should be rendered.Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy
getLuaObj, read, write
-
Method Details
-
render
public void render()Description copied from interface:com.badlogic.gdx.maps.MapRenderer
Renders all the layers of a map.- Specified by:
render
in interfacecom.badlogic.gdx.maps.MapRenderer
-
render
public void render(int[] p1) Description copied from interface:com.badlogic.gdx.maps.MapRenderer
Renders the given layers of a map.- Specified by:
render
in interfacecom.badlogic.gdx.maps.MapRenderer
- Parameters:
p1
- the layers to render.
-
setView
public void setView(com.badlogic.gdx.graphics.OrthographicCamera p1) Description copied from interface:com.badlogic.gdx.maps.MapRenderer
Sets the projection matrix and viewbounds from the given camera. If the camera changes, you have to call this method again. The viewbounds are taken from the camera's position and viewport size as well as the scale. This method will only work if the camera's direction vector is (0,0,-1) and its up vector is (0, 1, 0), which are the defaults.- Specified by:
setView
in interfacecom.badlogic.gdx.maps.MapRenderer
- Parameters:
p1
- theOrthographicCamera
-
setView
public void setView(com.badlogic.gdx.math.Matrix4 p1, float p2, float p3, float p4, float p5) Description copied from interface:com.badlogic.gdx.maps.MapRenderer
Sets the projection matrix for rendering, as well as the bounds of the map which should be rendered. Make sure that the frustum spanned by the projection matrix coincides with the viewbounds.- Specified by:
setView
in interfacecom.badlogic.gdx.maps.MapRenderer
-