| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>UnpackFloatNode - Three.js Docs</title>
- <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
- <script src="../scripts/highlight.min.js"></script>
- <link type="text/css" rel="stylesheet" href="../styles/highlight-three.css">
- <link type="text/css" rel="stylesheet" href="../styles/page.css">
- </head>
- <body>
- <p class="inheritance" translate="no"><a href="EventDispatcher.html">EventDispatcher</a> → <a href="Node.html">Node</a> → <a href="TempNode.html">TempNode</a> → </p>
- <h1 translate="no">UnpackFloatNode</h1>
- <section>
- <header>
- <div class="class-description"><p>This node represents an operation that unpacks values from a 32-bit unsigned integer, reinterpreting the results as a floating-point vector</p></div>
- </header>
- <article>
- <div class="container-overview">
- <h2>Constructor</h2>
- <h3 class="name name-method" id="UnpackFloatNode" translate="no">new <a href="#UnpackFloatNode">UnpackFloatNode</a><span class="signature">( encoding : <span class="param-type">'snorm' | 'unorm' | 'float16'</span>, uintNode : <span class="param-type"><a href="Node.html">Node</a></span> )</span> </h3>
- <div class="method">
- <table class="params">
- <tbody>
- <tr>
- <td class="name">
- <strong>encoding</strong>
- </td>
- <td class="description last">
- <p>The numeric encoding that describes how the integer values are mapped to the float range</p>
- </td>
- </tr>
- <tr>
- <td class="name">
- <strong>uintNode</strong>
- </td>
- <td class="description last">
- <p>The uint node to be unpacked</p>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <h2 class="subsection-title">Properties</h2>
- <div class="member">
- <h3 class="name" id="encoding" translate="no">.<a href="#encoding">encoding</a><span class="type-signature"> : string</span> </h3>
- <div class="description">
- <p>The numeric encoding.</p>
- </div>
- </div>
- <div class="member">
- <h3 class="name" id="isUnpackFloatNode" translate="no">.<a href="#isUnpackFloatNode">isUnpackFloatNode</a><span class="type-signature"> : boolean</span> <span class="type-signature">(readonly) </span></h3>
- <div class="description">
- <p>This flag can be used for type testing.</p>
- <p>Default is <code>true</code>.</p>
- </div>
- </div>
- <div class="member">
- <h3 class="name" id="uintNode" translate="no">.<a href="#uintNode">uintNode</a><span class="type-signature"> : <a href="Node.html">Node</a></span> </h3>
- <div class="description">
- <p>The unsigned integer to be unpacked.</p>
- </div>
- </div>
- <h2 class="subsection-title">Source</h2>
- <p>
- <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/math/UnpackFloatNode.js" translate="no" target="_blank" rel="noopener">src/nodes/math/UnpackFloatNode.js</a>
- </p>
- </article>
- </section>
- <script src="../scripts/linenumber.js"></script>
- <script src="../scripts/page.js"></script>
- </body>
- </html>
|