Example usage for com.badlogic.gdx.graphics.g2d SpriteCache setProjectionMatrix

List of usage examples for com.badlogic.gdx.graphics.g2d SpriteCache setProjectionMatrix

Introduction

In this page you can find the example usage for com.badlogic.gdx.graphics.g2d SpriteCache setProjectionMatrix.

Prototype

public void setProjectionMatrix(Matrix4 projection) 

Source Link

Usage

From source file:org.tntstudio.core.Screen.java

License:Apache License

@Override
public void vpApply(SpriteCache cache) {
    if (cache == null)
        return;// ww w  .  j  a v a 2  s . c  om

    cache.setProjectionMatrix(projection);
    cache.setTransformMatrix(transform);
}