# C1.Util.DX.Matrix4x4.Scale

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Matrix4x4_Scale_" data-uid="C1.Util.DX.Matrix4x4.Scale*">Scale Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Matrix4x4_Scale_" data-uid="C1.Util.DX.Matrix4x4.Scale*"></a>
<h4 id="C1_Util_DX_Matrix4x4_Scale_System_Single_" data-uid="C1.Util.DX.Matrix4x4.Scale(System.Single)">Scale(float)</h4>
<div class="markdown level1 summary"><p>Creates a matrix that uniformally scales along all three axis.</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 Scale(float scale)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Scale(scale 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="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">scale</span></td>
      <td><p>The uniform scale that is applied along all axis.</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 scaling matrix.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Matrix4x4_Scale_" data-uid="C1.Util.DX.Matrix4x4.Scale*"></a>
<h4 id="C1_Util_DX_Matrix4x4_Scale_System_Single_System_Single_System_Single_" data-uid="C1.Util.DX.Matrix4x4.Scale(System.Single,System.Single,System.Single)">Scale(float, float, float)</h4>
<div class="markdown level1 summary"><p>Creates a matrix that scales along the x-axis, y-axis, and y-axis.</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 Scale(float xScale, float yScale, float zScale)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Scale(xScale As Single, yScale As Single, zScale 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="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">xScale</span></td>
      <td><p>Scaling factor that is applied along the x-axis.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">yScale</span></td>
      <td><p>Scaling factor that is applied along the y-axis.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">zScale</span></td>
      <td><p>Scaling factor that is applied along the z-axis.</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 scaling matrix.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Matrix4x4_Scale_" data-uid="C1.Util.DX.Matrix4x4.Scale*"></a>
<h4 id="C1_Util_DX_Matrix4x4_Scale_C1_Util_DX_Vector3_" data-uid="C1.Util.DX.Matrix4x4.Scale(C1.Util.DX.Vector3)">Scale(Vector3)</h4>
<div class="markdown level1 summary"><p>Creates a matrix that scales along the x-axis, y-axis, and y-axis.</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 Scale(Vector3 scale)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Scale(scale As Vector3) 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">scale</span></td>
      <td><p>Scaling factor for all three axes.</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 scaling matrix.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
