Added in API level 11
Deprecated in API level 31

Matrix3f


public class Matrix3f
extends Object

java.lang.Object
   ↳ android.renderscript.Matrix3f


This class was deprecated in API level 31.
Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.

Class for exposing the native RenderScript rs_matrix3x3 type back to the Android system.

Summary

Public constructors

Matrix3f()

Creates a new identity 3x3 matrix

Matrix3f(float[] dataArray)

Creates a new matrix and sets its values from the given parameter

Public methods

float get(int x, int y)

Returns the value for a given row and column

float[] getArray()

Return a reference to the internal array representing matrix values.

void