# C1.Util.DX.Matrix3x2.InvertRef

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Matrix3x2_InvertRef_" data-uid="C1.Util.DX.Matrix3x2.InvertRef*">InvertRef Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Matrix3x2_InvertRef_" data-uid="C1.Util.DX.Matrix3x2.InvertRef*"></a>
<h4 id="C1_Util_DX_Matrix3x2_InvertRef_C1_Util_DX_Matrix3x2__" data-uid="C1.Util.DX.Matrix3x2.InvertRef(C1.Util.DX.Matrix3x2@)">InvertRef(ref Matrix3x2)</h4>
<div class="markdown level1 summary"><p>Inverts the specified matrix. The return value indicates whether the operation succeeded.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static bool InvertRef(ref Matrix3x2 matrix)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function InvertRef(ByRef matrix As Matrix3x2) As Boolean</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.Matrix3x2.html">Matrix3x2</a></td>
      <td><span class="parametername">matrix</span></td>
      <td><p>The matrix whose inverse is to be calculated.</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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>true if matrix was converted successfully; otherwise, false.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Matrix3x2_InvertRef_" data-uid="C1.Util.DX.Matrix3x2.InvertRef*"></a>
<h4 id="C1_Util_DX_Matrix3x2_InvertRef_C1_Util_DX_Matrix3x2__C1_Util_DX_Matrix3x2__" data-uid="C1.Util.DX.Matrix3x2.InvertRef(C1.Util.DX.Matrix3x2@,C1.Util.DX.Matrix3x2@)">InvertRef(out Matrix3x2, ref Matrix3x2)</h4>
<div class="markdown level1 summary"><p>Inverts the specified matrix. The return value indicates whether the operation succeeded.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static bool InvertRef(out Matrix3x2 result, ref Matrix3x2 matrix)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function InvertRef(ByRef result As Matrix3x2, ByRef matrix As Matrix3x2) As Boolean</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.Matrix3x2.html">Matrix3x2</a></td>
      <td><span class="parametername">result</span></td>
      <td><p>When the method completes, contains the inverse of the specified matrix.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Matrix3x2.html">Matrix3x2</a></td>
      <td><span class="parametername">matrix</span></td>
      <td><p>The matrix whose inverse is to be calculated.</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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>true if matrix was converted successfully; otherwise, false.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
