# C1.Util.DX.ColorF.SmoothStep

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_ColorF_SmoothStep_" data-uid="C1.Util.DX.ColorF.SmoothStep*">SmoothStep Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_ColorF_SmoothStep_" data-uid="C1.Util.DX.ColorF.SmoothStep*"></a>
<h4 id="C1_Util_DX_ColorF_SmoothStep_C1_Util_DX_ColorF_C1_Util_DX_ColorF_System_Single_" data-uid="C1.Util.DX.ColorF.SmoothStep(C1.Util.DX.ColorF,C1.Util.DX.ColorF,System.Single)">SmoothStep(ColorF, ColorF, float)</h4>
<div class="markdown level1 summary"><p>Performs a cubic interpolation between two colors.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static ColorF SmoothStep(ColorF start, ColorF end, float amount)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function SmoothStep(start As ColorF, [end] As ColorF, amount As Single) As ColorF</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.ColorF.html">ColorF</a></td>
      <td><span class="parametername">start</span></td>
      <td><p>Start color.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.ColorF.html">ColorF</a></td>
      <td><span class="parametername">end</span></td>
      <td><p>End color.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">amount</span></td>
      <td><p>Value between 0 and 1 indicating the weight of <code class="paramref">end</code>.</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.ColorF.html">ColorF</a></td>
      <td><p>The cubic interpolation of the two colors.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
