# C1.Util.DX.Matrix3x2.Translation

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Matrix3x2_Translation_" data-uid="C1.Util.DX.Matrix3x2.Translation*">Translation Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Matrix3x2_Translation_" data-uid="C1.Util.DX.Matrix3x2.Translation*"></a>
<h4 id="C1_Util_DX_Matrix3x2_Translation_System_Single_System_Single_" data-uid="C1.Util.DX.Matrix3x2.Translation(System.Single,System.Single)">Translation(float, float)</h4>
<div class="markdown level1 summary"><p>Creates a translation matrix using the specified offsets.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Matrix3x2 Translation(float x, float y)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Translation(x As Single, y As Single) As Matrix3x2</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>X-coordinate offset.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>Y-coordinate offset.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Matrix3x2.html">Matrix3x2</a></td>
      <td><p>The created translation matrix.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Matrix3x2_Translation_" data-uid="C1.Util.DX.Matrix3x2.Translation*"></a>
<h4 id="C1_Util_DX_Matrix3x2_Translation_C1_Util_DX_Size2F_" data-uid="C1.Util.DX.Matrix3x2.Translation(C1.Util.DX.Size2F)">Translation(Size2F)</h4>
<div class="markdown level1 summary"><p>Creates a translation matrix using the specified offsets.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Matrix3x2 Translation(Size2F value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Translation(value As Size2F) As Matrix3x2</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Size2F.html">Size2F</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The offset for all three coordinate planes.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Matrix3x2.html">Matrix3x2</a></td>
      <td><p>The created translation matrix.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Matrix3x2_Translation_" data-uid="C1.Util.DX.Matrix3x2.Translation*"></a>
<h4 id="C1_Util_DX_Matrix3x2_Translation_C1_Util_DX_Vector2_" data-uid="C1.Util.DX.Matrix3x2.Translation(C1.Util.DX.Vector2)">Translation(Vector2)</h4>
<div class="markdown level1 summary"><p>Creates a translation matrix using the specified offsets.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Matrix3x2 Translation(Vector2 value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Translation(value As Vector2) As Matrix3x2</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Vector2.html">Vector2</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The offset for all three coordinate planes.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Matrix3x2.html">Matrix3x2</a></td>
      <td><p>The created translation matrix.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
