Uses of Class
com.badlogic.gdx.math.Matrix3
-
-
Uses of Matrix3 in com.badlogic.gdx.graphics
Methods in com.badlogic.gdx.graphics with parameters of type Matrix3 Modifier and Type Method Description voidMesh. transformUV(Matrix3 matrix)Method to transform the texture coordinates in the mesh.static voidMesh. transformUV(Matrix3 matrix, float[] vertices, int vertexSize, int offset, int start, int count)Method to transform the texture coordinates (UV) in the float array.protected voidMesh. transformUV(Matrix3 matrix, int start, int count) -
Uses of Matrix3 in com.badlogic.gdx.graphics.g3d.particles
Fields in com.badlogic.gdx.graphics.g3d.particles declared as Matrix3 Modifier and Type Field Description protected static Matrix3ParticleControllerComponent. TMP_M3 -
Uses of Matrix3 in com.badlogic.gdx.graphics.g3d.particles.batches
Fields in com.badlogic.gdx.graphics.g3d.particles.batches declared as Matrix3 Modifier and Type Field Description protected static Matrix3BillboardParticleBatch. TMP_M3 -
Uses of Matrix3 in com.badlogic.gdx.graphics.g3d.shaders
Methods in com.badlogic.gdx.graphics.g3d.shaders with parameters of type Matrix3 Modifier and Type Method Description booleanBaseShader. set(int uniform, Matrix3 value) -
Uses of Matrix3 in com.badlogic.gdx.graphics.glutils
Methods in com.badlogic.gdx.graphics.glutils with parameters of type Matrix3 Modifier and Type Method Description voidShaderProgram. setUniformMatrix(int location, Matrix3 matrix)voidShaderProgram. setUniformMatrix(int location, Matrix3 matrix, boolean transpose)voidShaderProgram. setUniformMatrix(java.lang.String name, Matrix3 matrix)Sets the uniform matrix with the given name.voidShaderProgram. 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 Modifier and Type Method Description Matrix3Matrix3. idt()Sets this matrix to the identity matrixMatrix3Matrix3. inv()Inverts this matrix given that the determinant is != 0.Matrix3Matrix3. mul(Matrix3 m)Postmultiplies this matrix with the provided matrix and stores the result in this matrix.Matrix3Matrix3. mulLeft(Matrix3 m)Premultiplies this matrix with the provided matrix and stores the result in this matrix.Matrix3Matrix3. rotate(float degrees)Postmultiplies this matrix with a (counter-clockwise) rotation matrix.Matrix3Matrix3. rotateRad(float radians)Postmultiplies this matrix with a (counter-clockwise) rotation matrix.Matrix3Matrix3. scale(float scaleX, float scaleY)Postmultiplies this matrix with a scale matrix.Matrix3Matrix3. scale(Vector2 scale)Postmultiplies this matrix with a scale matrix.Matrix3Matrix3. scl(float scale)Scale the matrix in the both the x and y components by the scalar value.Matrix3Matrix3. scl(Vector2 scale)Scale this matrix using the x and y components of the vector but leave the rest of the matrix alone.Matrix3Matrix3. scl(Vector3 scale)Scale this matrix using the x and y components of the vector but leave the rest of the matrix alone.Matrix3Matrix3. set(float[] values)Sets the matrix to the given matrix as a float array.Matrix3Matrix3. set(Affine2 affine)Copies the values from the provided affine matrix to this matrix.Matrix3Matrix3. set(Matrix3 mat)Copies the values from the provided matrix to this matrix.Matrix3Matrix3. set(Matrix4 mat)Sets this 3x3 matrix to the top left 3x3 corner of the provided 4x4 matrix.Matrix3Matrix3. setToRotation(float degrees)Sets this matrix to a rotation matrix that will rotate any vector in counter-clockwise direction around the z-axis.Matrix3Matrix3. setToRotation(Vector3 axis, float degrees)Matrix3Matrix3. setToRotation(Vector3 axis, float cos, float sin)Matrix3Matrix3. setToRotationRad(float radians)Sets this matrix to a rotation matrix that will rotate any vector in counter-clockwise direction around the z-axis.Matrix3Matrix3. setToScaling(float scaleX, float scaleY)Sets this matrix to a scaling matrix.Matrix3Matrix3. setToScaling(Vector2 scale)Sets this matrix to a scaling matrix.Matrix3Matrix3. setToTranslation(float x, float y)Sets this matrix to a translation matrix.Matrix3Matrix3. setToTranslation(Vector2 translation)Sets this matrix to a translation matrix.Matrix3Matrix3. translate(float x, float y)Postmultiplies this matrix by a translation matrix.Matrix3Matrix3. translate(Vector2 translation)Postmultiplies this matrix by a translation matrix.Matrix3Matrix3. transpose()Transposes the current matrix.Matrix3Matrix3. trn(float x, float y)Adds a translational component to the matrix in the 3rd column.Matrix3Matrix3. trn(Vector2 vector)Adds a translational component to the matrix in the 3rd column.Matrix3Matrix3. 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 Modifier and Type Method Description Matrix3Matrix3. mul(Matrix3 m)Postmultiplies this matrix with the provided matrix and stores the result in this matrix.Vector2Vector2. mul(Matrix3 mat)Left-multiplies this vector by the given matrixVector3Vector3. mul(Matrix3 matrix)Left-multiplies the vector by the given matrix.Matrix3Matrix3. mulLeft(Matrix3 m)Premultiplies this matrix with the provided matrix and stores the result in this matrix.Affine2Affine2. set(Matrix3 matrix)Copies the values from the provided matrix to this matrix.Matrix3Matrix3. set(Matrix3 mat)Copies the values from the provided matrix to this matrix.Matrix4Matrix4. set(Matrix3 mat)Sets this matrix to the given 3x3 matrix.QuaternionQuaternion. setFromMatrix(boolean normalizeAxes, Matrix3 matrix)Sets the Quaternion from the given matrix, optionally removing any scaling.QuaternionQuaternion. setFromMatrix(Matrix3 matrix)Sets the Quaternion from the given rotation matrix, which must not contain scaling.Vector3Vector3. traMul(Matrix3 matrix)Multiplies the vector by the transpose of the given matrix.Constructors in com.badlogic.gdx.math with parameters of type Matrix3 Constructor Description Matrix3(Matrix3 matrix) -
Uses of Matrix3 in com.badlogic.gdx.utils
Methods in com.badlogic.gdx.utils with parameters of type Matrix3 Modifier and Type Method Description static voidBufferUtils. transform(float[] data, int dimensions, int strideInBytes, int count, Matrix3 matrix)Multiply float vector components within the buffer with the specified matrix.static voidBufferUtils. transform(float[] data, int dimensions, int strideInBytes, int count, Matrix3 matrix, int offset)Multiply float vector components within the buffer with the specified matrix.static voidBufferUtils. transform(java.nio.Buffer data, int dimensions, int strideInBytes, int count, Matrix3 matrix)Multiply float vector components within the buffer with the specified matrix.static voidBufferUtils. transform(java.nio.Buffer data, int dimensions, int strideInBytes, int count, Matrix3 matrix, int offset)Multiply float vector components within the buffer with the specified matrix.
-