Uses of Class
com.raylib.Matrix
Packages that use Matrix
-
Uses of Matrix in com.raylib
Methods in com.raylib that return MatrixModifier and TypeMethodDescriptionstatic Matrix
Matrix.allocateArray
(long elementCount) Allocate an array of Matrixstatic Matrix
Matrix.allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of MatrixMesh.boneMatrices()
Bones animated transformation matricesMatrix.getArrayElement
(int index) Mesh.getBoneMatrices()
Bones animated transformation matricesstatic Matrix
Raylib.getCameraMatrix
(Camera3D camera) Get camera transform matrix (view matrix)static Matrix
Raylib.getCameraMatrix
(Arena arena, Camera3D camera) Get camera transform matrix (view matrix)static Matrix
Raylib.getCameraMatrix2D
(Camera2D camera) Get camera 2d transform matrixstatic Matrix
Raylib.getCameraMatrix2D
(Arena arena, Camera2D camera) Get camera 2d transform matrixModel.getTransform()
Local transform matrixMatrix.m0
(float value) Matrix first row (4 components)Matrix.m1
(float value) Matrix second row (4 components)Matrix.m10
(float value) Matrix third row (4 components)Matrix.m11
(float value) Matrix fourth row (4 components)Matrix.m12
(float value) Matrix first row (4 components)Matrix.m13
(float value) Matrix second row (4 components)Matrix.m14
(float value) Matrix third row (4 components)Matrix.m15
(float value) Matrix fourth row (4 components)Matrix.m2
(float value) Matrix third row (4 components)Matrix.m3
(float value) Matrix fourth row (4 components)Matrix.m4
(float value) Matrix first row (4 components)Matrix.m5
(float value) Matrix second row (4 components)Matrix.m6
(float value) Matrix third row (4 components)Matrix.m7
(float value) Matrix fourth row (4 components)Matrix.m8
(float value) Matrix first row (4 components)Matrix.m9
(float value) Matrix second row (4 components)static Matrix
static Matrix
static Matrix
Raylib.matrixFrustum
(double left, double right, double bottom, double top, double nearPlane, double farPlane) static Matrix
Raylib.matrixFrustum
(Arena arena, double left, double right, double bottom, double top, double nearPlane, double farPlane) static Matrix
Raylib.matrixIdentity()
static Matrix
Raylib.matrixIdentity
(Arena arena) static Matrix
Raylib.matrixInvert
(Matrix mat) static Matrix
Raylib.matrixInvert
(Arena arena, Matrix mat) static Matrix
Raylib.matrixLookAt
(Vector3 eye, Vector3 target, Vector3 up) static Matrix
Raylib.matrixLookAt
(Arena arena, Vector3 eye, Vector3 target, Vector3 up) static Matrix
Raylib.matrixMultiply
(Matrix left, Matrix right) static Matrix
Raylib.matrixMultiply
(Arena arena, Matrix left, Matrix right) static Matrix
Raylib.matrixOrtho
(double left, double right, double bottom, double top, double nearPlane, double farPlane) static Matrix
Raylib.matrixOrtho
(Arena arena, double left, double right, double bottom, double top, double nearPlane, double farPlane) static Matrix
Raylib.matrixPerspective
(double fovY, double aspect, double nearPlane, double farPlane) static Matrix
Raylib.matrixPerspective
(Arena arena, double fovY, double aspect, double nearPlane, double farPlane) static Matrix
Raylib.matrixRotate
(Vector3 axis, float angle) static Matrix
Raylib.matrixRotate
(Arena arena, Vector3 axis, float angle) static Matrix
Raylib.matrixRotateX
(float angle) static Matrix
Raylib.matrixRotateX
(Arena arena, float angle) static Matrix
Raylib.matrixRotateXYZ
(Vector3 angle) static Matrix
Raylib.matrixRotateXYZ
(Arena arena, Vector3 angle) static Matrix
Raylib.matrixRotateY
(float angle) static Matrix
Raylib.matrixRotateY
(Arena arena, float angle) static Matrix
Raylib.matrixRotateZ
(float angle) static Matrix
Raylib.matrixRotateZ
(Arena arena, float angle) static Matrix
Raylib.matrixRotateZYX
(Vector3 angle) static Matrix
Raylib.matrixRotateZYX
(Arena arena, Vector3 angle) static Matrix
Raylib.matrixScale
(float x, float y, float z) static Matrix
Raylib.matrixScale
(Arena arena, float x, float y, float z) static Matrix
Raylib.matrixSubtract
(Matrix left, Matrix right) static Matrix
Raylib.matrixSubtract
(Arena arena, Matrix left, Matrix right) static Matrix
Raylib.matrixTranslate
(float x, float y, float z) static Matrix
Raylib.matrixTranslate
(Arena arena, float x, float y, float z) static Matrix
Raylib.matrixTranspose
(Matrix mat) static Matrix
Raylib.matrixTranspose
(Arena arena, Matrix mat) static Matrix
Raylib.quaternionToMatrix
(Vector4 q) static Matrix
Raylib.quaternionToMatrix
(Arena arena, Vector4 q) static Matrix
Raylib.rlGetMatrixModelview()
Get internal modelview matrixstatic Matrix
Raylib.rlGetMatrixModelview
(Arena arena) Get internal modelview matrixstatic Matrix
Raylib.rlGetMatrixProjection()
Get internal projection matrixstatic Matrix
Raylib.rlGetMatrixProjection
(Arena arena) Get internal projection matrixstatic Matrix
Raylib.rlGetMatrixProjectionStereo
(int eye) Get internal projection matrix for stereo render (selected eye)static Matrix
Raylib.rlGetMatrixProjectionStereo
(Arena arena, int eye) Get internal projection matrix for stereo render (selected eye)static Matrix
Raylib.rlGetMatrixTransform()
Get internal accumulated transform matrixstatic Matrix
Raylib.rlGetMatrixTransform
(Arena arena) Get internal accumulated transform matrixstatic Matrix
Raylib.rlGetMatrixViewOffsetStereo
(int eye) Get internal view offset matrix for stereo render (selected eye)static Matrix
Raylib.rlGetMatrixViewOffsetStereo
(Arena arena, int eye) Get internal view offset matrix for stereo render (selected eye)Model.transform()
Local transform matrixMethods in com.raylib with parameters of type MatrixModifier and TypeMethodDescriptionMesh.boneMatrices
(Matrix value) Bones animated transformation matricesstatic void
Draw a 3d mesh with material and transformstatic RayCollision
Raylib.getRayCollisionMesh
(Ray ray, Mesh mesh, Matrix transform) Get collision info between ray and meshstatic RayCollision
Raylib.getRayCollisionMesh
(Arena arena, Ray ray, Mesh mesh, Matrix transform) Get collision info between ray and meshstatic Matrix
static Matrix
static void
Raylib.matrixDecompose
(Matrix mat, Vector3 translation, Vector4 rotation, Vector3 scale) static float
Raylib.matrixDeterminant
(Matrix mat) static Matrix
Raylib.matrixInvert
(Matrix mat) static Matrix
Raylib.matrixInvert
(Arena arena, Matrix mat) static Matrix
Raylib.matrixMultiply
(Matrix left, Matrix right) static Matrix
Raylib.matrixMultiply
(Arena arena, Matrix left, Matrix right) static Matrix
Raylib.matrixSubtract
(Matrix left, Matrix right) static Matrix
Raylib.matrixSubtract
(Arena arena, Matrix left, Matrix right) static MemorySegment
Raylib.matrixToFloatV
(Matrix mat) static MemorySegment
Raylib.matrixToFloatV
(Arena arena, Matrix mat) static float
Raylib.matrixTrace
(Matrix mat) static Matrix
Raylib.matrixTranspose
(Matrix mat) static Matrix
Raylib.matrixTranspose
(Arena arena, Matrix mat) static Vector4
Raylib.quaternionFromMatrix
(Matrix mat) static Vector4
Raylib.quaternionFromMatrix
(Arena arena, Matrix mat) static Vector4
Raylib.quaternionTransform
(Vector4 q, Matrix mat) static Vector4
Raylib.quaternionTransform
(Arena arena, Vector4 q, Matrix mat) static void
Raylib.rlSetMatrixModelview
(Matrix view) Set a custom modelview matrix (replaces internal modelview matrix)static void
Raylib.rlSetMatrixProjection
(Matrix proj) Set a custom projection matrix (replaces internal projection matrix)static void
Raylib.rlSetMatrixProjectionStereo
(Matrix right, Matrix left) Set eyes projection matrices for stereo renderingstatic void
Raylib.rlSetMatrixViewOffsetStereo
(Matrix right, Matrix left) Set eyes view offsets matrices for stereo renderingstatic void
Raylib.rlSetUniformMatrix
(int locIndex, Matrix mat) Set shader value matrixvoid
Mesh.setBoneMatrices
(Matrix value) Bones animated transformation matricesstatic void
Raylib.setShaderValueMatrix
(Shader shader, int locIndex, Matrix mat) Set shader uniform value (matrix 4x4)void
Model.setTransform
(Matrix value) Local transform matrixLocal transform matrixstatic Vector2
Raylib.vector2Transform
(Vector2 v, Matrix mat) static Vector2
Raylib.vector2Transform
(Arena arena, Vector2 v, Matrix mat) static Vector3
Raylib.vector3Transform
(Vector3 v, Matrix mat) static Vector3
Raylib.vector3Transform
(Arena arena, Vector3 v, Matrix mat) static Vector3
Raylib.vector3Unproject
(Vector3 source, Matrix projection, Matrix view) static Vector3
Raylib.vector3Unproject
(Arena arena, Vector3 source, Matrix projection, Matrix view) Constructors in com.raylib with parameters of type MatrixModifierConstructorDescriptionMesh
(int vertexCount, int triangleCount, FloatBuffer vertices, FloatBuffer texcoords, FloatBuffer texcoords2, FloatBuffer normals, FloatBuffer tangents, ByteBuffer colors, MemorySegment indices, FloatBuffer animVertices, FloatBuffer animNormals, ByteBuffer boneIds, FloatBuffer boneWeights, Matrix boneMatrices, int boneCount, int vaoId, MemorySegment vboId) Construct with auto memory allocator and fields initialized as specifiedMesh
(SegmentAllocator arena, int vertexCount, int triangleCount, FloatBuffer vertices, FloatBuffer texcoords, FloatBuffer texcoords2, FloatBuffer normals, FloatBuffer tangents, ByteBuffer colors, MemorySegment indices, FloatBuffer animVertices, FloatBuffer animNormals, ByteBuffer boneIds, FloatBuffer boneWeights, Matrix boneMatrices, int boneCount, int vaoId, MemorySegment vboId) Construct with your own memory allocator and fields initialized as specifiedModel
(Matrix transform, int meshCount, int materialCount, Mesh meshes, Material materials, IntBuffer meshMaterial, int boneCount, BoneInfo bones, Transform bindPose) Construct with auto memory allocator and fields initialized as specifiedModel
(SegmentAllocator arena, Matrix transform, int meshCount, int materialCount, Mesh meshes, Material materials, IntBuffer meshMaterial, int boneCount, BoneInfo bones, Transform bindPose) Construct with your own memory allocator and fields initialized as specified