|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Matrix3 | |
---|---|
com.badlogic.gdx.graphics.glutils | |
com.badlogic.gdx.math |
Uses of Matrix3 in com.badlogic.gdx.graphics.glutils |
---|
Methods in com.badlogic.gdx.graphics.glutils with parameters of type Matrix3 | |
---|---|
void |
ShaderProgram.setUniformMatrix(int location,
Matrix3 matrix)
|
void |
ShaderProgram.setUniformMatrix(int location,
Matrix3 matrix,
boolean transpose)
|
void |
ShaderProgram.setUniformMatrix(java.lang.String name,
Matrix3 matrix)
Sets the uniform matrix with the given name. |
void |
ShaderProgram.setUniformMatrix(java.lang.String name,
Matrix3 matrix,
boolean transpose)
Sets the uniform matrix with the given name. |
Uses of Matrix3 in com.badlogic.gdx.math |
---|
Methods in com.badlogic.gdx.math that return Matrix3 | |
---|---|
Matrix3 |
Matrix3.idt()
Sets this matrix to the identity matrix |
Matrix3 |
Matrix3.inv()
Inverts this matrix given that the determinant is != 0. |
Matrix3 |
Matrix3.mul(Matrix3 m)
Multiplies this matrix with the provided matrix and stores the result in this matrix. |
Matrix3 |
Matrix3.rotate(float angle)
Postmultiplies this matrix with a (counter-clockwise) rotation matrix. |
Matrix3 |
Matrix3.scale(float scaleX,
float scaleY)
Postmultiplies this matrix with a scale matrix. |
Matrix3 |
Matrix3.scale(Vector2 scale)
Postmultiplies this matrix with a scale matrix. |
Matrix3 |
Matrix3.scl(float scale)
Scale the matrix in the both the x and y components by the scalar value. |
Matrix3 |
Matrix3.scl(Vector2 scale)
Scale this matrix using the x and y components of the vector but leave the rest of the matrix alone. |
Matrix3 |
Matrix3.scl(Vector3 scale)
Scale this matrix using the x and y components of the vector but leave the rest of the matrix alone. |
Matrix3 |
Matrix3.set(Matrix3 mat)
Copies the values from the provided matrix to this matrix. |
Matrix3 |
Matrix3.set(Matrix4 mat)
Sets this 3x3 matrix to the top left 3x3 corner of the provided 4x4 matrix. |
Matrix3 |
Matrix3.setToRotation(float degrees)
Sets this matrix to a rotation matrix that will rotate any vector in counter-clockwise order around the z-axis. |
Matrix3 |
Matrix3.setToScaling(float scaleX,
float scaleY)
Sets this matrix to a scaling matrix. |
Matrix3 |
Matrix3.setToTranslation(float x,
float y)
Sets this matrix to a translation matrix. |
Matrix3 |
Matrix3.setToTranslation(Vector2 translation)
Sets this matrix to a translation matrix. |
Matrix3 |
Matrix3.translate(float x,
float y)
Postmultiplies this matrix by a translation matrix. |
Matrix3 |
Matrix3.translate(Vector2 translation)
Postmultiplies this matrix by a translation matrix. |
Matrix3 |
Matrix3.transpose()
Transposes the current matrix. |
Matrix3 |
Matrix3.trn(float x,
float y)
Adds a translational component to the matrix in the 3rd column. |
Matrix3 |
Matrix3.trn(Vector2 vector)
Adds a translational component to the matrix in the 3rd column. |
Matrix3 |
Matrix3.trn(Vector3 vector)
Adds a translational component to the matrix in the 3rd column. |
Methods in com.badlogic.gdx.math with parameters of type Matrix3 | |
---|---|
Matrix3 |
Matrix3.mul(Matrix3 m)
Multiplies this matrix with the provided matrix and stores the result in this matrix. |
Vector2 |
Vector2.mul(Matrix3 mat)
Multiplies this vector by the given matrix |
Matrix3 |
Matrix3.set(Matrix3 mat)
Copies the values from the provided matrix to this matrix. |
Matrix4 |
Matrix4.set(Matrix3 mat)
Sets this matrix to the given 3x3 matrix. |
Constructors in com.badlogic.gdx.math with parameters of type Matrix3 | |
---|---|
Matrix3(Matrix3 matrix)
|
|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |