# C1.Util.DX.ColorF.SmoothStepRef

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_ColorF_SmoothStepRef_" data-uid="C1.Util.DX.ColorF.SmoothStepRef*">SmoothStepRef Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_ColorF_SmoothStepRef_" data-uid="C1.Util.DX.ColorF.SmoothStepRef*"></a>
<h4 id="C1_Util_DX_ColorF_SmoothStepRef_C1_Util_DX_ColorF__C1_Util_DX_ColorF__C1_Util_DX_ColorF__System_Single_" data-uid="C1.Util.DX.ColorF.SmoothStepRef(C1.Util.DX.ColorF@,C1.Util.DX.ColorF@,C1.Util.DX.ColorF@,System.Single)">SmoothStepRef(out ColorF, ref ColorF, ref 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 void SmoothStepRef(out ColorF result, ref ColorF start, ref ColorF end, float amount)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub SmoothStepRef(ByRef result As ColorF, ByRef start As ColorF, ByRef [end] As ColorF, amount 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.ColorF.html">ColorF</a></td>
      <td><span class="parametername">result</span></td>
      <td><p>The cubic interpolation of the two colors.</p>
</td>
    </tr>
    <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>
</div>
