# C1.Util.DX.Matrix3x2.RotationRef

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Matrix3x2_RotationRef_" data-uid="C1.Util.DX.Matrix3x2.RotationRef*">RotationRef Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Matrix3x2_RotationRef_" data-uid="C1.Util.DX.Matrix3x2.RotationRef*"></a>
<h4 id="C1_Util_DX_Matrix3x2_RotationRef_C1_Util_DX_Matrix3x2__System_Single_" data-uid="C1.Util.DX.Matrix3x2.RotationRef(C1.Util.DX.Matrix3x2@,System.Single)">RotationRef(out Matrix3x2, float)</h4>
<div class="markdown level1 summary"><p>Creates a matrix that rotates.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static void RotationRef(out Matrix3x2 result, float degrees)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub RotationRef(ByRef result As Matrix3x2, degrees 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="C1.Util.DX.Matrix3x2.html">Matrix3x2</a></td>
      <td><span class="parametername">result</span></td>
      <td><p>When the method completes, contains the created rotation 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">degrees</span></td>
      <td><p>Angle of rotation, in degrees. Angles are measured clockwise when looking along the rotation axis.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Matrix3x2_RotationRef_" data-uid="C1.Util.DX.Matrix3x2.RotationRef*"></a>
<h4 id="C1_Util_DX_Matrix3x2_RotationRef_C1_Util_DX_Matrix3x2__System_Single_C1_Util_DX_Point2F__" data-uid="C1.Util.DX.Matrix3x2.RotationRef(C1.Util.DX.Matrix3x2@,System.Single,C1.Util.DX.Point2F@)">RotationRef(out Matrix3x2, float, ref Point2F)</h4>
<div class="markdown level1 summary"><p>Creates a matrix that rotates.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static void RotationRef(out Matrix3x2 result, float degrees, ref Point2F center)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub RotationRef(ByRef result As Matrix3x2, degrees As Single, ByRef center As Point2F)</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></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">degrees</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Point2F.html">Point2F</a></td>
      <td><span class="parametername">center</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
