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

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

Introduction

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

Prototype

public void setTransformMatrix(Matrix4 transform) 

Source Link

Usage

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

License:Apache License

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

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