# C1.Util.DX.Vector4.NegateRef

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Vector4_NegateRef_" data-uid="C1.Util.DX.Vector4.NegateRef*">NegateRef Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Vector4_NegateRef_" data-uid="C1.Util.DX.Vector4.NegateRef*"></a>
<h4 id="C1_Util_DX_Vector4_NegateRef_C1_Util_DX_Vector4__" data-uid="C1.Util.DX.Vector4.NegateRef(C1.Util.DX.Vector4@)">NegateRef(ref Vector4)</h4>
<div class="markdown level1 summary"><p>Reverses the direction of the vector.</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 NegateRef(ref Vector4 value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub NegateRef(ByRef value As Vector4)</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.Vector4.html">Vector4</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The vector to negate.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Vector4_NegateRef_" data-uid="C1.Util.DX.Vector4.NegateRef*"></a>
<h4 id="C1_Util_DX_Vector4_NegateRef_C1_Util_DX_Vector4__C1_Util_DX_Vector4__" data-uid="C1.Util.DX.Vector4.NegateRef(C1.Util.DX.Vector4@,C1.Util.DX.Vector4@)">NegateRef(out Vector4, ref Vector4)</h4>
<div class="markdown level1 summary"><p>Reverses the direction of a given vector.</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 NegateRef(out Vector4 result, ref Vector4 value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub NegateRef(ByRef result As Vector4, ByRef value As Vector4)</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.Vector4.html">Vector4</a></td>
      <td><span class="parametername">result</span></td>
      <td><p>When the method completes, contains a vector facing in the opposite direction.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Vector4.html">Vector4</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The vector to negate.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
