| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>NodeUniform - 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>
- <h1 translate="no">NodeUniform</h1>
- <section>
- <header>
- <div class="class-description"><p><a href="NodeBuilder.html">NodeBuilder</a> is going to create instances of this class during the build process
- of nodes. They represent the final shader uniforms that are going to be generated
- by the builder. A dictionary of node uniforms is maintained in <a href="NodeBuilder.html#uniforms">NodeBuilder#uniforms</a>
- for this purpose.</p></div>
- </header>
- <article>
- <div class="container-overview">
- <h2>Constructor</h2>
- <h3 class="name name-method" id="NodeUniform" translate="no">new <a href="#NodeUniform">NodeUniform</a><span class="signature">( name : <span class="param-type">string</span>, type : <span class="param-type">string</span>, node : <span class="param-type">UniformNode</span> )</span> </h3>
- <div class="method">
- <div class="description">
- <p>Constructs a new node uniform.</p>
- </div>
- <table class="params">
- <tbody>
- <tr>
- <td class="name"><code>name</code></td>
- <td class="description last"><p>The name of the uniform.</p></td>
- </tr>
- <tr>
- <td class="name"><code>type</code></td>
- <td class="description last"><p>The type of the uniform.</p></td>
- </tr>
- <tr>
- <td class="name"><code>node</code></td>
- <td class="description last"><p>An reference to the node.</p></td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <h2 class="subsection-title">Properties</h2>
- <div class="member">
- <h3 class="name" id="groupNode" translate="no">.<a href="#groupNode">groupNode</a><span class="type-signature"> : <a href="UniformGroupNode.html">UniformGroupNode</a></span> </h3>
- <div class="description">
- <p>The uniform node's group.</p>
- </div>
- </div>
- <div class="member">
- <h3 class="name" id="id" translate="no">.<a href="#id">id</a><span class="type-signature"> : number</span> </h3>
- <div class="description">
- <p>The id of the uniform node.</p>
- </div>
- </div>
- <div class="member">
- <h3 class="name" id="isNodeUniform" translate="no">.<a href="#isNodeUniform">isNodeUniform</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.<br/>Default is <code>true</code>.</p>
- </div>
- </div>
- <div class="member">
- <h3 class="name" id="name" translate="no">.<a href="#name">name</a><span class="type-signature"> : string</span> </h3>
- <div class="description">
- <p>The name of the uniform.</p>
- </div>
- </div>
- <div class="member">
- <h3 class="name" id="node" translate="no">.<a href="#node">node</a><span class="type-signature"> : <a href="UniformNode.html">UniformNode</a></span> </h3>
- <div class="description">
- <p>An reference to the node.</p>
- </div>
- </div>
- <div class="member">
- <h3 class="name" id="type" translate="no">.<a href="#type">type</a><span class="type-signature"> : string</span> </h3>
- <div class="description">
- <p>The type of the uniform.</p>
- </div>
- </div>
- <div class="member">
- <h3 class="name" id="value" translate="no">.<a href="#value">value</a><span class="type-signature"> : <a href="global.html#any">any</a></span> </h3>
- <div class="description">
- <p>The value of the uniform node.</p>
- </div>
- </div>
- <h2 class="subsection-title">Source</h2>
- <p>
- <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/core/NodeUniform.js" target="_blank" rel="noopener" translate="no">src/nodes/core/NodeUniform.js</a>
- </p>
- </article>
- </section>
- <script src="../scripts/linenumber.js"></script>
- <script src="../scripts/page.js"></script>
- </body>
- </html>
|