FileDocCategorySizeDatePackage
MatrixTransform.javaAPI DocAndroid 5.1 API1417Thu Mar 12 22:22:44 GMT 2015com.android.scenegraph

MatrixTransform

public class MatrixTransform extends Transform
hide

Fields Summary
android.renderscript.Matrix4f
mLocalMatrix
Constructors Summary
public MatrixTransform()

        mLocalMatrix = new Matrix4f();
    
Methods Summary
public android.renderscript.Matrix4fgetMatrix()

        return new Matrix4f(mLocalMatrix.getArray());
    
voidinitLocalData()

        mTransformData.localMat = mLocalMatrix;
    
public voidsetMatrix(android.renderscript.Matrix4f matrix)

        mLocalMatrix = matrix;
        updateRSData();
    
voidupdateRSData()

        if (mField == null) {
            return;
        }
        mField.set_localMat(0, mLocalMatrix, false);
        mField.set_isDirty(0, 1, true);