# C1.Util.DX.Matrix4x4.Skew

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Matrix4x4_Skew_" data-uid="C1.Util.DX.Matrix4x4.Skew*">Skew Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Matrix4x4_Skew_" data-uid="C1.Util.DX.Matrix4x4.Skew*"></a>
<h4 id="C1_Util_DX_Matrix4x4_Skew_C1_Util_DX_Vector3_C1_Util_DX_Vector3_System_Single_" data-uid="C1.Util.DX.Matrix4x4.Skew(C1.Util.DX.Vector3,C1.Util.DX.Vector3,System.Single)">Skew(Vector3, Vector3, float)</h4>
<div class="markdown level1 summary"><p>Creates a skew/shear matrix by means of a translation vector, a rotation vector, and a rotation angle.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Matrix4x4 Skew(Vector3 transVec, Vector3 rotationVec, float radians)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Skew(transVec As Vector3, rotationVec As Vector3, radians As Single) As Matrix4x4</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.Vector3.html">Vector3</a></td>
      <td><span class="parametername">transVec</span></td>
      <td><p>The translation vector</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Vector3.html">Vector3</a></td>
      <td><span class="parametername">rotationVec</span></td>
      <td><p>The rotation vector</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">radians</span></td>
      <td><p>The rotation angle, in radians.</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.Matrix4x4.html">Matrix4x4</a></td>
      <td><p>The created skew/shear matrix.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Util_DX_Matrix4x4_Skew_C1_Util_DX_Vector3_C1_Util_DX_Vector3_System_Single__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Shearing is performed in the direction of translation vector, where translation vector and rotation vector define the shearing plane.
The effect is such that the skewed rotation vector has the specified angle with rotation itself.</p>
</div>
</div>
