Mallet Engine  2
Entity-Component based game engine, written in Java.
 All Classes Namespaces Files Functions Variables
Public Member Functions
com.linxonline.mallet.renderer.RenderInfo Class Reference
Inheritance diagram for com.linxonline.mallet.renderer.RenderInfo:
Inheritance graph
[legend]
Collaboration diagram for com.linxonline.mallet.renderer.RenderInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RenderInfo (final Vector2 _displayDimension, final Vector2 _renderDimensions, final Vector3 _cameraPosition)
Vector2 scaledToRenderDimensions (final Vector2 _dimensions)
float convertInputToRenderX (final float _x)
float convertInputToRenderY (final float _y)
Vector2 convertInputToRender (final Vector2 _input)
boolean isInScreen (final Vector2 _position)
void setCameraPosition (final Vector3 _cameraPosition)
void setDisplayDimensions (final Vector2 _displayDimension)
void setRenderDimensions (final Vector2 _renderDimensions)
void addToCameraPosition (final Vector3 _acc)
final Vector2 getDisplayDimensions ()
final Vector2 getRenderDimensions ()
final Vector2 getScaledRenderDimensions ()
final Vector2 getScreenOffset ()
final Vector3 getCameraPosition ()
final Vector2 getRatioRenderToDisplay ()
final Vector2 getScaleRenderToDisplay ()

Constructor & Destructor Documentation

com.linxonline.mallet.renderer.RenderInfo.RenderInfo ( final Vector2  _displayDimension,
final Vector2  _renderDimensions,
final Vector3  _cameraPosition 
)

Member Function Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables