# C1.Util.DX.Matrix4x4.Billboard

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Matrix4x4_Billboard_" data-uid="C1.Util.DX.Matrix4x4.Billboard*">Billboard Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Matrix4x4_Billboard_" data-uid="C1.Util.DX.Matrix4x4.Billboard*"></a>
<h4 id="C1_Util_DX_Matrix4x4_Billboard_C1_Util_DX_Vector3_C1_Util_DX_Vector3_C1_Util_DX_Vector3_C1_Util_DX_Vector3_" data-uid="C1.Util.DX.Matrix4x4.Billboard(C1.Util.DX.Vector3,C1.Util.DX.Vector3,C1.Util.DX.Vector3,C1.Util.DX.Vector3)">Billboard(Vector3, Vector3, Vector3, Vector3)</h4>
<div class="markdown level1 summary"><p>Creates a spherical billboard that rotates around a specified object position.</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 Billboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 cameraUpVector, Vector3 cameraForwardVector)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Billboard(objectPosition As Vector3, cameraPosition As Vector3, cameraUpVector As Vector3, cameraForwardVector 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">objectPosition</span></td>
      <td><p>The position of the object that the billboard will rotate around.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Vector3.html">Vector3</a></td>
      <td><span class="parametername">cameraPosition</span></td>
      <td><p>The position of the camera.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Vector3.html">Vector3</a></td>
      <td><span class="parametername">cameraUpVector</span></td>
      <td><p>The up vector of the camera.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Vector3.html">Vector3</a></td>
      <td><span class="parametername">cameraForwardVector</span></td>
      <td><p>The forward vector of the camera.</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 billboard.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
