<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Sun Nov 03 15:35:47 CET 2013 -->
<title>Uses of Class com.badlogic.gdx.math.Matrix4 (libgdx API)
</title>
<meta name="date" content="2013-11-03">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.badlogic.gdx.math.Matrix4 (libgdx API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.
</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview
</a></li>
<li><a href="../package-summary.html">Package
</a></li>
<li><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Class
</a></li>
<li class="navBarCell1Rev">Use
</li>
<li><a href="../../../../../overview-tree.html">Tree
</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated
</a></li>
<li><a href="../../../../../index-all.html">Index
</a></li>
<li><a href="../../../../../help-doc.html">Help
</a></li>
</ul>
<div class="aboutLanguage"><em>
libgdx API
<style>
body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%; font-weight:bold }
.TableHeadingColor { background:#EEEEFF; }
a { text-decoration:none }
a:hover { text-decoration:underline }
a:link, a:visited { color:blue }
table { border:0px }
.TableRowColor td:first-child { border-left:1px solid black }
.TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
hr { border:0px; border-bottom:1px solid #333366; }
</style>
</em></div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev
</li>
<li>Next
</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/badlogic/gdx/math/class-use/Matrix4.html" target="_top">Frames
</a></li>
<li><a href="Matrix4.html" target="_top">No Frames
</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes
</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.badlogic.gdx.math.Matrix4" class="title">Uses of Class
<br>com.badlogic.gdx.math.Matrix4
</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Package
</th>
<th class="colLast" scope="col">Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#com.badlogic.gdx.graphics">com.badlogic.gdx.graphics
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.badlogic.gdx.graphics.g2d">com.badlogic.gdx.graphics.g2d
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#com.badlogic.gdx.graphics.g3d">com.badlogic.gdx.graphics.g3d
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.badlogic.gdx.graphics.g3d.environment">com.badlogic.gdx.graphics.g3d.environment
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#com.badlogic.gdx.graphics.g3d.model">com.badlogic.gdx.graphics.g3d.model
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.badlogic.gdx.graphics.g3d.model.data">com.badlogic.gdx.graphics.g3d.model.data
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#com.badlogic.gdx.graphics.g3d.shaders">com.badlogic.gdx.graphics.g3d.shaders
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.badlogic.gdx.graphics.g3d.utils">com.badlogic.gdx.graphics.g3d.utils
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#com.badlogic.gdx.graphics.glutils">com.badlogic.gdx.graphics.glutils
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.badlogic.gdx.maps">com.badlogic.gdx.maps
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#com.badlogic.gdx.maps.tiled.renderers">com.badlogic.gdx.maps.tiled.renderers
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.badlogic.gdx.math">com.badlogic.gdx.math
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#com.badlogic.gdx.math.collision">com.badlogic.gdx.math.collision
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.badlogic.gdx.physics.box2d">com.badlogic.gdx.physics.box2d
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#com.badlogic.gdx.scenes.scene2d">com.badlogic.gdx.scenes.scene2d
</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.badlogic.gdx.scenes.scene2d.utils">com.badlogic.gdx.scenes.scene2d.utils
</a></td>
<td class="colLast"> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.badlogic.gdx.graphics">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> in
<a href="../../../../../com/badlogic/gdx/graphics/package-summary.html">com.badlogic.gdx.graphics
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in
<a href="../../../../../com/badlogic/gdx/graphics/package-summary.html">com.badlogic.gdx.graphics
</a> declared as
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Field and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Camera.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/Camera.html#combined">combined
</a></strong></code>
<div class="block">the combined projection and view matrix
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Camera.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/Camera.html#invProjectionView">invProjectionView
</a></strong></code>
<div class="block">the inverse combined projection and view matrix
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Camera.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/Camera.html#projection">projection
</a></strong></code>
<div class="block">the projection matrix
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Camera.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/Camera.html#view">view
</a></strong></code>
<div class="block">the view matrix
</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/graphics/package-summary.html">com.badlogic.gdx.graphics
</a> with parameters of type
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/collision/BoundingBox.html" title="class in com.badlogic.gdx.math.collision">BoundingBox
</a></code></td>
<td class="colLast"><span class="strong">Mesh.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/Mesh.html#calculateBoundingBox(com.badlogic.gdx.math.collision.BoundingBox, int, int, com.badlogic.gdx.math.Matrix4)">calculateBoundingBox
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/collision/BoundingBox.html" title="class in com.badlogic.gdx.math.collision">BoundingBox
</a> out,
int
offset,
int
count,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform)
</code>
<div class="block">Calculate the
<a href="../../../../../com/badlogic/gdx/math/collision/BoundingBox.html" title="class in com.badlogic.gdx.math.collision"><code>BoundingBox
</code></a> of the specified part.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static
<a href="../../../../../com/badlogic/gdx/graphics/Mesh.html" title="class in com.badlogic.gdx.graphics">Mesh
</a></code></td>
<td class="colLast"><span class="strong">Mesh.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/Mesh.html#create(boolean, com.badlogic.gdx.graphics.Mesh[], com.badlogic.gdx.math.Matrix4[])">create
</a></strong>(boolean
isStatic,
<a href="../../../../../com/badlogic/gdx/graphics/Mesh.html" title="class in com.badlogic.gdx.graphics">Mesh
</a>[]
meshes,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a>[]
transformations)
</code>
<div class="block">Create a new Mesh that is a combination of the supplied meshes.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static
<a href="../../../../../com/badlogic/gdx/graphics/Mesh.html" title="class in com.badlogic.gdx.graphics">Mesh
</a></code></td>
<td class="colLast"><span class="strong">Mesh.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/Mesh.html#create(boolean, com.badlogic.gdx.graphics.Mesh, com.badlogic.gdx.math.Matrix4[])">create
</a></strong>(boolean
isStatic,
<a href="../../../../../com/badlogic/gdx/graphics/Mesh.html" title="class in com.badlogic.gdx.graphics">Mesh
</a> base,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a>[]
transformations)
</code>
<div class="block">Create a new Mesh that is a combination of transformations of the supplied base mesh.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/collision/BoundingBox.html" title="class in com.badlogic.gdx.math.collision">BoundingBox
</a></code></td>
<td class="colLast"><span class="strong">Mesh.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/Mesh.html#extendBoundingBox(com.badlogic.gdx.math.collision.BoundingBox, int, int, com.badlogic.gdx.math.Matrix4)">extendBoundingBox
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/collision/BoundingBox.html" title="class in com.badlogic.gdx.math.collision">BoundingBox
</a> out,
int
offset,
int
count,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform)
</code>
<div class="block">Extends the specified
<a href="../../../../../com/badlogic/gdx/math/collision/BoundingBox.html" title="class in com.badlogic.gdx.math.collision"><code>BoundingBox
</code></a> with the specified part.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Camera.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/Camera.html#rotate(com.badlogic.gdx.math.Matrix4)">rotate
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform)
</code>
<div class="block">Rotates the direction and up vector of this camera by the given rotation matrix.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Camera.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/Camera.html#transform(com.badlogic.gdx.math.Matrix4)">transform
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform)
</code>
<div class="block">Transform the position, direction and up vector by the given matrix
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Mesh.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/Mesh.html#transform(com.badlogic.gdx.math.Matrix4)">transform
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix)
</code>
<div class="block">Method to transform the positions in the mesh.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void
</code></td>
<td class="colLast"><span class="strong">Mesh.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/Mesh.html#transform(com.badlogic.gdx.math.Matrix4, float[], int, int, int, int, int)">transform
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix,
float[]
vertices,
int
vertexSize,
int
offset,
int
dimensions,
int
start,
int
count)
</code>
<div class="block">Method to transform the positions in the float array.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void
</code></td>
<td class="colLast"><span class="strong">Mesh.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/Mesh.html#transform(com.badlogic.gdx.math.Matrix4, int, int)">transform
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix,
int
start,
int
count)
</code> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.graphics.g2d">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> in
<a href="../../../../../com/badlogic/gdx/graphics/g2d/package-summary.html">com.badlogic.gdx.graphics.g2d
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/graphics/g2d/package-summary.html">com.badlogic.gdx.graphics.g2d
</a> that return
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">PolygonSpriteBatch.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g2d/PolygonSpriteBatch.html#getProjectionMatrix()">getProjectionMatrix
</a></strong>()
</code>
<div class="block">Returns the current projection matrix.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">SpriteBatch.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html#getProjectionMatrix()">getProjectionMatrix
</a></strong>()
</code>
<div class="block">Returns the current projection matrix.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">SpriteCache.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g2d/SpriteCache.html#getProjectionMatrix()">getProjectionMatrix
</a></strong>()
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">PolygonSpriteBatch.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g2d/PolygonSpriteBatch.html#getTransformMatrix()">getTransformMatrix
</a></strong>()
</code>
<div class="block">Returns the current transform matrix.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">SpriteBatch.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html#getTransformMatrix()">getTransformMatrix
</a></strong>()
</code>
<div class="block">Returns the current transform matrix.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">SpriteCache.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g2d/SpriteCache.html#getTransformMatrix()">getTransformMatrix
</a></strong>()
</code> </td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/graphics/g2d/package-summary.html">com.badlogic.gdx.graphics.g2d
</a> with parameters of type
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">PolygonSpriteBatch.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g2d/PolygonSpriteBatch.html#setProjectionMatrix(com.badlogic.gdx.math.Matrix4)">setProjectionMatrix
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> projection)
</code>
<div class="block">Sets the projection matrix to be used by this PolygonSpriteBatch.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">SpriteBatch.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html#setProjectionMatrix(com.badlogic.gdx.math.Matrix4)">setProjectionMatrix
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> projection)
</code>
<div class="block">Sets the projection matrix to be used by this SpriteBatch.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">SpriteCache.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g2d/SpriteCache.html#setProjectionMatrix(com.badlogic.gdx.math.Matrix4)">setProjectionMatrix
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> projection)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">PolygonSpriteBatch.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g2d/PolygonSpriteBatch.html#setTransformMatrix(com.badlogic.gdx.math.Matrix4)">setTransformMatrix
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform)
</code>
<div class="block">Sets the transform matrix to be used by this PolygonSpriteBatch.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">SpriteBatch.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html#setTransformMatrix(com.badlogic.gdx.math.Matrix4)">setTransformMatrix
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform)
</code>
<div class="block">Sets the transform matrix to be used by this SpriteBatch.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">SpriteCache.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g2d/SpriteCache.html#setTransformMatrix(com.badlogic.gdx.math.Matrix4)">setTransformMatrix
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform)
</code> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.graphics.g3d">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> in
<a href="../../../../../com/badlogic/gdx/graphics/g3d/package-summary.html">com.badlogic.gdx.graphics.g3d
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in
<a href="../../../../../com/badlogic/gdx/graphics/g3d/package-summary.html">com.badlogic.gdx.graphics.g3d
</a> declared as
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Field and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a>[]
</code></td>
<td class="colLast"><span class="strong">Renderable.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/Renderable.html#bones">bones
</a></strong></code>
<div class="block">the bones transformations used for skinning, or null if not applicable
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">ModelInstance.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/ModelInstance.html#transform">transform
</a></strong></code>
<div class="block">the world transform
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Renderable.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/Renderable.html#worldTransform">worldTransform
</a></strong></code>
<div class="block">the model transform
</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in
<a href="../../../../../com/badlogic/gdx/graphics/g3d/package-summary.html">com.badlogic.gdx.graphics.g3d
</a> with parameters of type
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/ModelInstance.html#ModelInstance(com.badlogic.gdx.graphics.g3d.ModelInstance, com.badlogic.gdx.math.Matrix4)">ModelInstance
</a></strong>(
<a href="../../../../../com/badlogic/gdx/graphics/g3d/ModelInstance.html" title="class in com.badlogic.gdx.graphics.g3d">ModelInstance
</a> copyFrom,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform)
</code>
<div class="block">Constructs a new ModelInstance which is an copy of the specified ModelInstance.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/ModelInstance.html#ModelInstance(com.badlogic.gdx.graphics.g3d.Model, com.badlogic.gdx.math.Matrix4)">ModelInstance
</a></strong>(
<a href="../../../../../com/badlogic/gdx/graphics/g3d/Model.html" title="class in com.badlogic.gdx.graphics.g3d">Model
</a> model,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform)
</code>
<div class="block">Constructs a new ModelInstance with the specified transform.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/ModelInstance.html#ModelInstance(com.badlogic.gdx.graphics.g3d.Model, com.badlogic.gdx.math.Matrix4, com.badlogic.gdx.utils.Array)">ModelInstance
</a></strong>(
<a href="../../../../../com/badlogic/gdx/graphics/g3d/Model.html" title="class in com.badlogic.gdx.graphics.g3d">Model
</a> model,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform,
<a href="../../../../../com/badlogic/gdx/utils/Array.html" title="class in com.badlogic.gdx.utils">Array
</a><java.lang.String
> rootNodeIds)
</code>
<div class="block">Constructs a new ModelInstance with only the specified nodes and materials of the given model.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/ModelInstance.html#ModelInstance(com.badlogic.gdx.graphics.g3d.Model, com.badlogic.gdx.math.Matrix4, java.lang.String...)">ModelInstance
</a></strong>(
<a href="../../../../../com/badlogic/gdx/graphics/g3d/Model.html" title="class in com.badlogic.gdx.graphics.g3d">Model
</a> model,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform,
java.lang.String...
rootNodeIds)
</code>
<div class="block">Constructs a new ModelInstance with only the specified nodes and materials of the given model.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/ModelInstance.html#ModelInstance(com.badlogic.gdx.graphics.g3d.Model, com.badlogic.gdx.math.Matrix4, java.lang.String, boolean)">ModelInstance
</a></strong>(
<a href="../../../../../com/badlogic/gdx/graphics/g3d/Model.html" title="class in com.badlogic.gdx.graphics.g3d">Model
</a> model,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform,
java.lang.String
nodeId,
boolean
mergeTransform)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/ModelInstance.html#ModelInstance(com.badlogic.gdx.graphics.g3d.Model, com.badlogic.gdx.math.Matrix4, java.lang.String, boolean, boolean)">ModelInstance
</a></strong>(
<a href="../../../../../com/badlogic/gdx/graphics/g3d/Model.html" title="class in com.badlogic.gdx.graphics.g3d">Model
</a> model,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform,
java.lang.String
nodeId,
boolean
parentTransform,
boolean
mergeTransform)
</code>
<div class="block">Recursively searches the mode for the specified node.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/ModelInstance.html#ModelInstance(com.badlogic.gdx.graphics.g3d.Model, com.badlogic.gdx.math.Matrix4, java.lang.String, boolean, boolean, boolean)">ModelInstance
</a></strong>(
<a href="../../../../../com/badlogic/gdx/graphics/g3d/Model.html" title="class in com.badlogic.gdx.graphics.g3d">Model
</a> model,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform,
java.lang.String
nodeId,
boolean
recursive,
boolean
parentTransform,
boolean
mergeTransform)
</code> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.graphics.g3d.environment">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> in
<a href="../../../../../com/badlogic/gdx/graphics/g3d/environment/package-summary.html">com.badlogic.gdx.graphics.g3d.environment
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/graphics/g3d/environment/package-summary.html">com.badlogic.gdx.graphics.g3d.environment
</a> that return
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">DirectionalShadowLight.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/environment/DirectionalShadowLight.html#getProjViewTrans()">getProjViewTrans
</a></strong>()
</code>
<div class="block"><strong>Deprecated.
</strong> </div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">ShadowMap.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/environment/ShadowMap.html#getProjViewTrans()">getProjViewTrans
</a></strong>()
</code> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.graphics.g3d.model">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> in
<a href="../../../../../com/badlogic/gdx/graphics/g3d/model/package-summary.html">com.badlogic.gdx.graphics.g3d.model
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in
<a href="../../../../../com/badlogic/gdx/graphics/g3d/model/package-summary.html">com.badlogic.gdx.graphics.g3d.model
</a> declared as
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Field and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a>[]
</code></td>
<td class="colLast"><span class="strong">NodePart.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/model/NodePart.html#bones">bones
</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Node.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/model/Node.html#globalTransform">globalTransform
</a></strong></code>
<div class="block">the global transform, product of local transform and transform of the parent node, calculated via
<a href="../../../../../com/badlogic/gdx/graphics/g3d/model/Node.html#calculateWorldTransform()"><code>Node.calculateWorldTransform()
</code></a></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Node.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/model/Node.html#localTransform">localTransform
</a></strong></code>
<div class="block">the local transform, based on translation/rotation/scale (
<a href="../../../../../com/badlogic/gdx/graphics/g3d/model/Node.html#calculateLocalTransform()"><code>Node.calculateLocalTransform()
</code></a>) or any applied animation
</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in
<a href="../../../../../com/badlogic/gdx/graphics/g3d/model/package-summary.html">com.badlogic.gdx.graphics.g3d.model
</a> with type parameters of type
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Field and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/utils/ArrayMap.html" title="class in com.badlogic.gdx.utils">ArrayMap
</a><<a href="../../../../../com/badlogic/gdx/graphics/g3d/model/Node.html" title="class in com.badlogic.gdx.graphics.g3d.model">Node
</a>,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a>></code></td>
<td class="colLast"><span class="strong">NodePart.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/model/NodePart.html#invBoneBindTransforms">invBoneBindTransforms
</a></strong></code> </td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/graphics/g3d/model/package-summary.html">com.badlogic.gdx.graphics.g3d.model
</a> that return
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Node.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/model/Node.html#calculateLocalTransform()">calculateLocalTransform
</a></strong>()
</code>
<div class="block">Calculates the local transform based on the translation, scale and rotation
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Node.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/model/Node.html#calculateWorldTransform()">calculateWorldTransform
</a></strong>()
</code>
<div class="block">Calculates the world transform; the product of local transform and the
parent's world transform.
</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.graphics.g3d.model.data">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> in
<a href="../../../../../com/badlogic/gdx/graphics/g3d/model/data/package-summary.html">com.badlogic.gdx.graphics.g3d.model.data
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in
<a href="../../../../../com/badlogic/gdx/graphics/g3d/model/data/package-summary.html">com.badlogic.gdx.graphics.g3d.model.data
</a> with type parameters of type
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Field and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/utils/ArrayMap.html" title="class in com.badlogic.gdx.utils">ArrayMap
</a><java.lang.String,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a>></code></td>
<td class="colLast"><span class="strong">ModelNodePart.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/model/data/ModelNodePart.html#bones">bones
</a></strong></code> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.graphics.g3d.shaders">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> in
<a href="../../../../../com/badlogic/gdx/graphics/g3d/shaders/package-summary.html">com.badlogic.gdx.graphics.g3d.shaders
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/graphics/g3d/shaders/package-summary.html">com.badlogic.gdx.graphics.g3d.shaders
</a> with parameters of type
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>boolean
</code></td>
<td class="colLast"><span class="strong">BaseShader.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/shaders/BaseShader.html#set(int, com.badlogic.gdx.math.Matrix4)">set
</a></strong>(int
uniform,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> value)
</code> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.graphics.g3d.utils">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> in
<a href="../../../../../com/badlogic/gdx/graphics/g3d/utils/package-summary.html">com.badlogic.gdx.graphics.g3d.utils
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/graphics/g3d/utils/package-summary.html">com.badlogic.gdx.graphics.g3d.utils
</a> that return
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">BaseAnimationController.Transform.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/utils/BaseAnimationController.Transform.html#toMatrix4(com.badlogic.gdx.math.Matrix4)">toMatrix4
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> out)
</code> </td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/graphics/g3d/utils/package-summary.html">com.badlogic.gdx.graphics.g3d.utils
</a> with parameters of type
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">MeshBuilder.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/utils/MeshBuilder.html#box(com.badlogic.gdx.math.Matrix4)">box
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">MeshPartBuilder.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/utils/MeshPartBuilder.html#box(com.badlogic.gdx.math.Matrix4)">box
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform)
</code>
<div class="block">Add a box given the matrix.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">MeshBuilder.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/utils/MeshBuilder.html#sphere(com.badlogic.gdx.math.Matrix4, float, float, float, int, int)">sphere
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform,
float
width,
float
height,
float
depth,
int
divisionsU,
int
divisionsV)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">MeshPartBuilder.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/utils/MeshPartBuilder.html#sphere(com.badlogic.gdx.math.Matrix4, float, float, float, int, int)">sphere
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform,
float
width,
float
height,
float
depth,
int
divisionsU,
int
divisionsV)
</code>
<div class="block">Add a sphere
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">MeshBuilder.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/utils/MeshBuilder.html#sphere(com.badlogic.gdx.math.Matrix4, float, float, float, int, int, float, float, float, float)">sphere
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform,
float
width,
float
height,
float
depth,
int
divisionsU,
int
divisionsV,
float
angleUFrom,
float
angleUTo,
float
angleVFrom,
float
angleVTo)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">MeshPartBuilder.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/utils/MeshPartBuilder.html#sphere(com.badlogic.gdx.math.Matrix4, float, float, float, int, int, float, float, float, float)">sphere
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform,
float
width,
float
height,
float
depth,
int
divisionsU,
int
divisionsV,
float
angleUFrom,
float
angleUTo,
float
angleVFrom,
float
angleVTo)
</code>
<div class="block">Add a sphere
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">BaseAnimationController.Transform.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/g3d/utils/BaseAnimationController.Transform.html#toMatrix4(com.badlogic.gdx.math.Matrix4)">toMatrix4
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> out)
</code> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.graphics.glutils">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> in
<a href="../../../../../com/badlogic/gdx/graphics/glutils/package-summary.html">com.badlogic.gdx.graphics.glutils
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/graphics/glutils/package-summary.html">com.badlogic.gdx.graphics.glutils
</a> that return
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">ShapeRenderer.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/glutils/ShapeRenderer.html#getProjectionMatrix()">getProjectionMatrix
</a></strong>()
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">ShapeRenderer.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/glutils/ShapeRenderer.html#getTransformMatrix()">getTransformMatrix
</a></strong>()
</code> </td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/graphics/glutils/package-summary.html">com.badlogic.gdx.graphics.glutils
</a> with parameters of type
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">ImmediateModeRenderer.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/glutils/ImmediateModeRenderer.html#begin(com.badlogic.gdx.math.Matrix4, int)">begin
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> projModelView,
int
primitiveType)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">ImmediateModeRenderer10.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/glutils/ImmediateModeRenderer10.html#begin(com.badlogic.gdx.math.Matrix4, int)">begin
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> projModelView,
int
primitiveType)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">ImmediateModeRenderer20.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/glutils/ImmediateModeRenderer20.html#begin(com.badlogic.gdx.math.Matrix4, int)">begin
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> projModelView,
int
primitiveType)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">ShapeRenderer.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/glutils/ShapeRenderer.html#setProjectionMatrix(com.badlogic.gdx.math.Matrix4)">setProjectionMatrix
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix)
</code>
<div class="block">Sets the projection matrix to be used for rendering.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">ShapeRenderer.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/glutils/ShapeRenderer.html#setTransformMatrix(com.badlogic.gdx.math.Matrix4)">setTransformMatrix
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">ShaderProgram.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#setUniformMatrix(int, com.badlogic.gdx.math.Matrix4)">setUniformMatrix
</a></strong>(int
location,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">ShaderProgram.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#setUniformMatrix(int, com.badlogic.gdx.math.Matrix4, boolean)">setUniformMatrix
</a></strong>(int
location,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix,
boolean
transpose)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">ShaderProgram.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#setUniformMatrix(java.lang.String, com.badlogic.gdx.math.Matrix4)">setUniformMatrix
</a></strong>(java.lang.String
name,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix)
</code>
<div class="block">Sets the uniform matrix with the given name.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">ShaderProgram.
</span><code><strong><a href="../../../../../com/badlogic/gdx/graphics/glutils/ShaderProgram.html#setUniformMatrix(java.lang.String, com.badlogic.gdx.math.Matrix4, boolean)">setUniformMatrix
</a></strong>(java.lang.String
name,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix,
boolean
transpose)
</code>
<div class="block">Sets the uniform matrix with the given name.
</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.maps">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> in
<a href="../../../../../com/badlogic/gdx/maps/package-summary.html">com.badlogic.gdx.maps
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/maps/package-summary.html">com.badlogic.gdx.maps
</a> with parameters of type
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">MapRenderer.
</span><code><strong><a href="../../../../../com/badlogic/gdx/maps/MapRenderer.html#setView(com.badlogic.gdx.math.Matrix4, float, float, float, float)">setView
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> projectionMatrix,
float
viewboundsX,
float
viewboundsY,
float
viewboundsWidth,
float
viewboundsHeight)
</code>
<div class="block">Sets the projection matrix for rendering, as well as the bounds of the map
which should be rendered.
</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.maps.tiled.renderers">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> in
<a href="../../../../../com/badlogic/gdx/maps/tiled/renderers/package-summary.html">com.badlogic.gdx.maps.tiled.renderers
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/maps/tiled/renderers/package-summary.html">com.badlogic.gdx.maps.tiled.renderers
</a> with parameters of type
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">BatchTiledMapRenderer.
</span><code><strong><a href="../../../../../com/badlogic/gdx/maps/tiled/renderers/BatchTiledMapRenderer.html#setView(com.badlogic.gdx.math.Matrix4, float, float, float, float)">setView
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> projection,
float
x,
float
y,
float
width,
float
height)
</code> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.math">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> in
<a href="../../../../../com/badlogic/gdx/math/package-summary.html">com.badlogic.gdx.math
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/math/package-summary.html">com.badlogic.gdx.math
</a> that return
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#cpy()">cpy
</a></strong>()
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#idt()">idt
</a></strong>()
</code>
<div class="block">Sets the matrix to an identity matrix.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#inv()">inv
</a></strong>()
</code>
<div class="block">Inverts the matrix.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#lerp(com.badlogic.gdx.math.Matrix4, float)">lerp
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix,
float
alpha)
</code>
<div class="block">Linearly interpolates between this matrix and the given matrix mixing by alpha
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#mul(com.badlogic.gdx.math.Matrix4)">mul
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix)
</code>
<div class="block">Postmultiplies this matrix with the given matrix, storing the result in this matrix.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#rotate(float, float, float, float)">rotate
</a></strong>(float
axisX,
float
axisY,
float
axisZ,
float
degrees)
</code>
<div class="block">Postmultiplies this matrix with a (counter-clockwise) rotation matrix.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#rotate(com.badlogic.gdx.math.Quaternion)">rotate
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion
</a> rotation)
</code>
<div class="block">Postmultiplies this matrix with a (counter-clockwise) rotation matrix.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#rotate(com.badlogic.gdx.math.Vector3, float)">rotate
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> axis,
float
degrees)
</code>
<div class="block">Postmultiplies this matrix with a (counter-clockwise) rotation matrix.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#rotate(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)">rotate
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> v1,
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> v2)
</code>
<div class="block">Postmultiplies this matrix by the rotation between two vectors.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#scale(float, float, float)">scale
</a></strong>(float
scaleX,
float
scaleY,
float
scaleZ)
</code>
<div class="block">Postmultiplies this matrix with a scale matrix.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#scl(float)">scl
</a></strong>(float
scale)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#scl(float, float, float)">scl
</a></strong>(float
x,
float
y,
float
z)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#scl(com.badlogic.gdx.math.Vector3)">scl
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> scale)
</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#set(float[])">set
</a></strong>(float[]
values)
</code>
<div class="block">Sets the matrix to the given matrix as a float array.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#set(float, float, float, float)">set
</a></strong>(float
x,
float
y,
float
z,
float
w)
</code>
<div class="block">Sets the matrix to a rotation matrix representing the quaternion.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#set(com.badlogic.gdx.math.Matrix3)">set
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3
</a> mat)
</code>
<div class="block">Sets this matrix to the given 3x3 matrix.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#set(com.badlogic.gdx.math.Matrix4)">set
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix)
</code>
<div class="block">Sets the matrix to the given matrix.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#set(com.badlogic.gdx.math.Quaternion)">set
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion
</a> quaternion)
</code>
<div class="block">Sets the matrix to a rotation matrix representing the quaternion.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#set(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Quaternion, com.badlogic.gdx.math.Vector3)">set
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> position,
<a href="../../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion
</a> orientation,
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> scale)
</code>
<div class="block">Set this matrix to the specified translation, rotation and scale.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#set(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)">set
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> xAxis,
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> yAxis,
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> zAxis,
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> pos)
</code>
<div class="block">Sets the four columns of the matrix which correspond to the x-, y- and z-axis of the vector space this matrix creates as
well as the 4th column representing the translation of any point that is multiplied by this matrix.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setFromEulerAngles(float, float, float)">setFromEulerAngles
</a></strong>(float
yaw,
float
pitch,
float
roll)
</code>
<div class="block">Sets this matrix to a rotation matrix from the given euler angles.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setToLookAt(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)">setToLookAt
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> direction,
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> up)
</code>
<div class="block">Sets the matrix to a look at matrix with a direction and an up vector.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setToLookAt(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)">setToLookAt
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> position,
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> target,
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> up)
</code>
<div class="block">Sets this matrix to a look at matrix with the given position, target and up vector.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setToOrtho(float, float, float, float, float, float)">setToOrtho
</a></strong>(float
left,
float
right,
float
bottom,
float
top,
float
near,
float
far)
</code>
<div class="block">Sets the matrix to an orthographic projection like glOrtho (http://www.opengl.org/sdk/docs/man/xhtml/glOrtho.xml) following
the OpenGL equivalent
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setToOrtho2D(float, float, float, float)">setToOrtho2D
</a></strong>(float
x,
float
y,
float
width,
float
height)
</code>
<div class="block">Sets this matrix to an orthographic projection matrix with the origin at (x,y) extending by width and height.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setToOrtho2D(float, float, float, float, float, float)">setToOrtho2D
</a></strong>(float
x,
float
y,
float
width,
float
height,
float
near,
float
far)
</code>
<div class="block">Sets this matrix to an orthographic projection matrix with the origin at (x,y) extending by width and height, having a near
and far plane.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setToProjection(float, float, float, float)">setToProjection
</a></strong>(float
near,
float
far,
float
fov,
float
aspectRatio)
</code>
<div class="block">Sets the matrix to a projection matrix with a near- and far plane, a field of view in degrees and an aspect ratio.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setToRotation(float, float, float, float)">setToRotation
</a></strong>(float
axisX,
float
axisY,
float
axisZ,
float
degrees)
</code>
<div class="block">Sets the matrix to a rotation matrix around the given axis.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setToRotation(float, float, float, float, float, float)">setToRotation
</a></strong>(float
x1,
float
y1,
float
z1,
float
x2,
float
y2,
float
z2)
</code>
<div class="block">Set the matrix to a rotation matrix between two vectors.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setToRotation(com.badlogic.gdx.math.Vector3, float)">setToRotation
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> axis,
float
degrees)
</code>
<div class="block">Sets the matrix to a rotation matrix around the given axis.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setToRotation(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)">setToRotation
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> v1,
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> v2)
</code>
<div class="block">Set the matrix to a rotation matrix between two vectors.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setToScaling(float, float, float)">setToScaling
</a></strong>(float
x,
float
y,
float
z)
</code>
<div class="block">Sets this matrix to a scaling matrix
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setToScaling(com.badlogic.gdx.math.Vector3)">setToScaling
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> vector)
</code>
<div class="block">Sets this matrix to a scaling matrix
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setToTranslation(float, float, float)">setToTranslation
</a></strong>(float
x,
float
y,
float
z)
</code>
<div class="block">Sets this matrix to a translation matrix, overwriting it first by an identity matrix and then setting the 4th column to the
translation vector.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setToTranslation(com.badlogic.gdx.math.Vector3)">setToTranslation
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> vector)
</code>
<div class="block">Sets this matrix to a translation matrix, overwriting it first by an identity matrix and then setting the 4th column to the
translation vector.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setToTranslationAndScaling(float, float, float, float, float, float)">setToTranslationAndScaling
</a></strong>(float
translationX,
float
translationY,
float
translationZ,
float
scalingX,
float
scalingY,
float
scalingZ)
</code>
<div class="block">Sets this matrix to a translation and scaling matrix by first overwritting it with an identity and then setting the
translation vector in the 4th column and the scaling vector in the diagonal.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setToTranslationAndScaling(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)">setToTranslationAndScaling
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> translation,
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> scaling)
</code>
<div class="block">Sets this matrix to a translation and scaling matrix by first overwritting it with an identity and then setting the
translation vector in the 4th column and the scaling vector in the diagonal.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setToWorld(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)">setToWorld
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> position,
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> forward,
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> up)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#setTranslation(com.badlogic.gdx.math.Vector3)">setTranslation
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> vector)
</code>
<div class="block">Sets the 4th column to the translation vector.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#toNormalMatrix()">toNormalMatrix
</a></strong>()
</code>
<div class="block">removes the translational part and transposes the matrix.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#tra()">tra
</a></strong>()
</code>
<div class="block">Transposes the matrix.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#translate(float, float, float)">translate
</a></strong>(float
x,
float
y,
float
z)
</code>
<div class="block">Postmultiplies this matrix by a translation matrix.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#translate(com.badlogic.gdx.math.Vector3)">translate
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> translation)
</code>
<div class="block">Postmultiplies this matrix by a translation matrix.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#trn(float, float, float)">trn
</a></strong>(float
x,
float
y,
float
z)
</code>
<div class="block">Adds a translational component to the matrix in the 4th column.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#trn(com.badlogic.gdx.math.Vector3)">trn
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a> vector)
</code>
<div class="block">Adds a translational component to the matrix in the 4th column.
</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/math/package-summary.html">com.badlogic.gdx.math
</a> with parameters of type
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#lerp(com.badlogic.gdx.math.Matrix4, float)">lerp
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix,
float
alpha)
</code>
<div class="block">Linearly interpolates between this matrix and the given matrix mixing by alpha
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#mul(com.badlogic.gdx.math.Matrix4)">mul
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix)
</code>
<div class="block">Postmultiplies this matrix with the given matrix, storing the result in this matrix.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a></code></td>
<td class="colLast"><span class="strong">Vector3.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Vector3.html#mul(com.badlogic.gdx.math.Matrix4)">mul
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix)
</code>
<div class="block">Left-multiplies the vector by the given matrix, assuming the fourth (w) component of the vector is 1.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a></code></td>
<td class="colLast"><span class="strong">Vector3.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Vector3.html#prj(com.badlogic.gdx.math.Matrix4)">prj
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix)
</code>
<div class="block">Multiplies this vector by the given matrix dividing by w, assuming the fourth (w) component of the vector is 1.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3
</a></code></td>
<td class="colLast"><span class="strong">Vector3.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Vector3.html#rot(com.badlogic.gdx.math.Matrix4)">rot
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix)
</code>
<div class="block">Multiplies this vector by the first three columns of the matrix, essentially only applying rotation and scaling.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix3.html" title="class in com.badlogic.gdx.math">Matrix3
</a></code></td>
<td class="colLast"><span class="strong">Matrix3.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix3.html#set(com.badlogic.gdx.math.Matrix4)">set
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> mat)
</code>
<div class="block">Sets this 3x3 matrix to the top left 3x3 corner of the provided 4x4 matrix.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Matrix4.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#set(com.badlogic.gdx.math.Matrix4)">set
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix)
</code>
<div class="block">Sets the matrix to the given matrix.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion
</a></code></td>
<td class="colLast"><span class="strong">Quaternion.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Quaternion.html#setFromMatrix(com.badlogic.gdx.math.Matrix4)">setFromMatrix
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix)
</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Frustum.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/Frustum.html#update(com.badlogic.gdx.math.Matrix4)">update
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> inverseProjectionView)
</code>
<div class="block">Updates the clipping plane's based on the given inverse combined projection and view matrix, e.g.
</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in
<a href="../../../../../com/badlogic/gdx/math/package-summary.html">com.badlogic.gdx.math
</a> with parameters of type
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../com/badlogic/gdx/math/Matrix4.html#Matrix4(com.badlogic.gdx.math.Matrix4)">Matrix4
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix)
</code>
<div class="block">Constructs a matrix from the given matrix.
</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.math.collision">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> in
<a href="../../../../../com/badlogic/gdx/math/collision/package-summary.html">com.badlogic.gdx.math.collision
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/math/collision/package-summary.html">com.badlogic.gdx.math.collision
</a> with parameters of type
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/collision/BoundingBox.html" title="class in com.badlogic.gdx.math.collision">BoundingBox
</a></code></td>
<td class="colLast"><span class="strong">BoundingBox.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/collision/BoundingBox.html#ext(com.badlogic.gdx.math.collision.BoundingBox, com.badlogic.gdx.math.Matrix4)">ext
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/collision/BoundingBox.html" title="class in com.badlogic.gdx.math.collision">BoundingBox
</a> bounds,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform)
</code>
<div class="block">Extends this bounding box by the given transformed bounding box.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/collision/BoundingBox.html" title="class in com.badlogic.gdx.math.collision">BoundingBox
</a></code></td>
<td class="colLast"><span class="strong">BoundingBox.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/collision/BoundingBox.html#mul(com.badlogic.gdx.math.Matrix4)">mul
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix)
</code>
<div class="block">Multiplies the bounding box by the given matrix.
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/collision/Ray.html" title="class in com.badlogic.gdx.math.collision">Ray
</a></code></td>
<td class="colLast"><span class="strong">Ray.
</span><code><strong><a href="../../../../../com/badlogic/gdx/math/collision/Ray.html#mul(com.badlogic.gdx.math.Matrix4)">mul
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> matrix)
</code>
<div class="block">Multiplies the ray by the given matrix.
</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.physics.box2d">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> in
<a href="../../../../../com/badlogic/gdx/physics/box2d/package-summary.html">com.badlogic.gdx.physics.box2d
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/physics/box2d/package-summary.html">com.badlogic.gdx.physics.box2d
</a> with parameters of type
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void
</code></td>
<td class="colLast"><span class="strong">Box2DDebugRenderer.
</span><code><strong><a href="../../../../../com/badlogic/gdx/physics/box2d/Box2DDebugRenderer.html#render(com.badlogic.gdx.physics.box2d.World, com.badlogic.gdx.math.Matrix4)">render
</a></strong>(
<a href="../../../../../com/badlogic/gdx/physics/box2d/World.html" title="class in com.badlogic.gdx.physics.box2d">World
</a> world,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> projMatrix)
</code>
<div class="block">This assumes that the projection matrix has already been set.
</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.scenes.scene2d">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> in
<a href="../../../../../com/badlogic/gdx/scenes/scene2d/package-summary.html">com.badlogic.gdx.scenes.scene2d
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/scenes/scene2d/package-summary.html">com.badlogic.gdx.scenes.scene2d
</a> that return
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></code></td>
<td class="colLast"><span class="strong">Group.
</span><code><strong><a href="../../../../../com/badlogic/gdx/scenes/scene2d/Group.html#computeTransform()">computeTransform
</a></strong>()
</code>
<div class="block">Returns the transform for this group's coordinate system.
</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/scenes/scene2d/package-summary.html">com.badlogic.gdx.scenes.scene2d
</a> with parameters of type
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected void
</code></td>
<td class="colLast"><span class="strong">Group.
</span><code><strong><a href="../../../../../com/badlogic/gdx/scenes/scene2d/Group.html#applyTransform(com.badlogic.gdx.graphics.g2d.SpriteBatch, com.badlogic.gdx.math.Matrix4)">applyTransform
</a></strong>(
<a href="../../../../../com/badlogic/gdx/graphics/g2d/SpriteBatch.html" title="class in com.badlogic.gdx.graphics.g2d">SpriteBatch
</a> batch,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transform)
</code>
<div class="block">Set the SpriteBatch's transformation matrix, often with the result of
<a href="../../../../../com/badlogic/gdx/scenes/scene2d/Group.html#computeTransform()"><code>Group.computeTransform()
</code></a>.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2
</a></code></td>
<td class="colLast"><span class="strong">Stage.
</span><code><strong><a href="../../../../../com/badlogic/gdx/scenes/scene2d/Stage.html#toScreenCoordinates(com.badlogic.gdx.math.Vector2, com.badlogic.gdx.math.Matrix4)">toScreenCoordinates
</a></strong>(
<a href="../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2
</a> coords,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transformMatrix)
</code>
<div class="block">Transforms the coordinates to screen coordinates.
</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.badlogic.gdx.scenes.scene2d.utils">
<!-- -->
</a>
<h3>Uses of
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> in
<a href="../../../../../com/badlogic/gdx/scenes/scene2d/utils/package-summary.html">com.badlogic.gdx.scenes.scene2d.utils
</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in
<a href="../../../../../com/badlogic/gdx/scenes/scene2d/utils/package-summary.html">com.badlogic.gdx.scenes.scene2d.utils
</a> with parameters of type
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type
</th>
<th class="colLast" scope="col">Method and Description
</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static void
</code></td>
<td class="colLast"><span class="strong">ScissorStack.
</span><code><strong><a href="../../../../../com/badlogic/gdx/scenes/scene2d/utils/ScissorStack.html#calculateScissors(com.badlogic.gdx.graphics.Camera, float, float, float, float, com.badlogic.gdx.math.Matrix4, com.badlogic.gdx.math.Rectangle, com.badlogic.gdx.math.Rectangle)">calculateScissors
</a></strong>(
<a href="../../../../../com/badlogic/gdx/graphics/Camera.html" title="class in com.badlogic.gdx.graphics">Camera
</a> camera,
float
viewportX,
float
viewportY,
float
viewportWidth,
float
viewportHeight,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> batchTransform,
<a href="../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math">Rectangle
</a> area,
<a href="../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math">Rectangle
</a> scissor)
</code>
<div class="block">Calculates a scissor rectangle in OpenGL ES window coordinates from a
<a href="../../../../../com/badlogic/gdx/graphics/Camera.html" title="class in com.badlogic.gdx.graphics"><code>Camera
</code></a>, a transformation
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math"><code>Matrix4
</code></a> and
an axis aligned
<a href="../../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math"><code>Rectangle
</code></a>.
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void
</code></td>
<td class="colLast"><span class="strong">ScissorStack.
</span><code><strong><a href="../../../../../com/badlogic/gdx/scenes/scene2d/utils/ScissorStack.html#toWindowCoordinates(com.badlogic.gdx.graphics.Camera, com.badlogic.gdx.math.Matrix4, com.badlogic.gdx.math.Vector2)">toWindowCoordinates
</a></strong>(
<a href="../../../../../com/badlogic/gdx/graphics/Camera.html" title="class in com.badlogic.gdx.graphics">Camera
</a> camera,
<a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4
</a> transformMatrix,
<a href="../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2
</a> point)
</code>
<div class="block">Transforms a point to real window coordinates (as oposed to OpenGL ES window coordinates), where the origin is in the top
left and the the y-axis is pointing downwards
</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview
</a></li>
<li><a href="../package-summary.html">Package
</a></li>
<li><a href="../../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Class
</a></li>
<li class="navBarCell1Rev">Use
</li>
<li><a href="../../../../../overview-tree.html">Tree
</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated
</a></li>
<li><a href="../../../../../index-all.html">Index
</a></li>
<li><a href="../../../../../help-doc.html">Help
</a></li>
</ul>
<div class="aboutLanguage"><em>libgdx API
</em></div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev
</li>
<li>Next
</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/badlogic/gdx/math/class-use/Matrix4.html" target="_top">Frames
</a></li>
<li><a href="Matrix4.html" target="_top">No Frames
</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes
</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>
<div style="font-size:9pt"><i>
Copyright
© 2010-2013 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
</i></div>
</small></p>
</body>
</html>