# C1.Util.DX.Matrix3x2.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Matrix3x2__ctor_" data-uid="C1.Util.DX.Matrix3x2.#ctor*">Matrix3x2 Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Matrix3x2__ctor_" data-uid="C1.Util.DX.Matrix3x2.#ctor*"></a>
<h4 id="C1_Util_DX_Matrix3x2__ctor_System_Single_" data-uid="C1.Util.DX.Matrix3x2.#ctor(System.Single)">Matrix3x2(float)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Matrix3x2.html">Matrix3x2</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Matrix3x2(float value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value As Single)</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">value</span></td>
      <td><p>The value that will be assigned to all components.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Matrix3x2__ctor_" data-uid="C1.Util.DX.Matrix3x2.#ctor*"></a>
<h4 id="C1_Util_DX_Matrix3x2__ctor_System_Single_System_Single_System_Single_System_Single_System_Single_System_Single_" data-uid="C1.Util.DX.Matrix3x2.#ctor(System.Single,System.Single,System.Single,System.Single,System.Single,System.Single)">Matrix3x2(float, float, float, float, float, float)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Matrix3x2.html">Matrix3x2</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Matrix3x2(float M11, float M12, float M21, float M22, float M31, float M32)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(M11 As Single, M12 As Single, M21 As Single, M22 As Single, M31 As Single, M32 As Single)</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">M11</span></td>
      <td><p>The value to assign at row 1 column 1 of the matrix.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">M12</span></td>
      <td><p>The value to assign at row 1 column 2 of the matrix.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">M21</span></td>
      <td><p>The value to assign at row 2 column 1 of the matrix.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">M22</span></td>
      <td><p>The value to assign at row 2 column 2 of the matrix.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">M31</span></td>
      <td><p>The value to assign at row 3 column 1 of the matrix.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">M32</span></td>
      <td><p>The value to assign at row 3 column 2 of the matrix.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Matrix3x2__ctor_" data-uid="C1.Util.DX.Matrix3x2.#ctor*"></a>
<h4 id="C1_Util_DX_Matrix3x2__ctor_System_Single___" data-uid="C1.Util.DX.Matrix3x2.#ctor(System.Single[])">Matrix3x2(float[])</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Matrix3x2.html">Matrix3x2</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Matrix3x2(float[] values)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(values As Single())</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">values</span></td>
      <td><p>The values to assign to the components of the matrix. This must be an array with six elements.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>Thrown when <code class="paramref">values</code> is <code>null</code>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentoutofrangeexception">ArgumentOutOfRangeException</a></td>
      <td><p>Thrown when <code class="paramref">values</code> contains more or less than sixteen elements.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
