Ver código fonte

Updated docs.

Mr.doob 2 meses atrás
pai
commit
98b31d85fe

+ 3 - 3
docs/index.html

@@ -689,9 +689,7 @@
 						<li><a href="ThreeMFLoader.html">ThreeMFLoader</a></li>
 						<li><a href="ThreeMFLoader.html">ThreeMFLoader</a></li>
 						<li><a href="USDLoader.html">USDLoader</a></li>
 						<li><a href="USDLoader.html">USDLoader</a></li>
 						<li><a href="UltraHDRLoader.html">UltraHDRLoader</a></li>
 						<li><a href="UltraHDRLoader.html">UltraHDRLoader</a></li>
-						<li><a href="VOXData3DTexture.html">VOXData3DTexture</a></li>
 						<li><a href="VOXLoader.html">VOXLoader</a></li>
 						<li><a href="VOXLoader.html">VOXLoader</a></li>
-						<li><a href="VOXMesh.html">VOXMesh</a></li>
 						<li><a href="VRMLLoader.html">VRMLLoader</a></li>
 						<li><a href="VRMLLoader.html">VRMLLoader</a></li>
 						<li><a href="VTKLoader.html">VTKLoader</a></li>
 						<li><a href="VTKLoader.html">VTKLoader</a></li>
 						<li><a href="XYZLoader.html">XYZLoader</a></li>
 						<li><a href="XYZLoader.html">XYZLoader</a></li>
@@ -1567,7 +1565,6 @@
 						<li><a href="global.html#GreaterEqualStencilFunc">GreaterEqualStencilFunc</a></li>
 						<li><a href="global.html#GreaterEqualStencilFunc">GreaterEqualStencilFunc</a></li>
 						<li><a href="global.html#GreaterStencilFunc">GreaterStencilFunc</a></li>
 						<li><a href="global.html#GreaterStencilFunc">GreaterStencilFunc</a></li>
 						<li><a href="global.html#HalfFloatType">HalfFloatType</a></li>
 						<li><a href="global.html#HalfFloatType">HalfFloatType</a></li>
-						<li><a href="global.html#IdentityDepthPacking">IdentityDepthPacking</a></li>
 						<li><a href="global.html#IncrementStencilOp">IncrementStencilOp</a></li>
 						<li><a href="global.html#IncrementStencilOp">IncrementStencilOp</a></li>
 						<li><a href="global.html#IncrementWrapStencilOp">IncrementWrapStencilOp</a></li>
 						<li><a href="global.html#IncrementWrapStencilOp">IncrementWrapStencilOp</a></li>
 						<li><a href="global.html#IntType">IntType</a></li>
 						<li><a href="global.html#IntType">IntType</a></li>
@@ -1733,6 +1730,8 @@
 						<li><a href="global.html#ZeroFactor">ZeroFactor</a></li>
 						<li><a href="global.html#ZeroFactor">ZeroFactor</a></li>
 						<li><a href="global.html#ZeroSlopeEnding">ZeroSlopeEnding</a></li>
 						<li><a href="global.html#ZeroSlopeEnding">ZeroSlopeEnding</a></li>
 						<li><a href="global.html#ZeroStencilOp">ZeroStencilOp</a></li>
 						<li><a href="global.html#ZeroStencilOp">ZeroStencilOp</a></li>
+						<li><a href="global.html#buildData3DTexture">buildData3DTexture</a></li>
+						<li><a href="global.html#buildMesh">buildMesh</a></li>
 						<li><a href="global.html#ceilPowerOfTwo">ceilPowerOfTwo</a></li>
 						<li><a href="global.html#ceilPowerOfTwo">ceilPowerOfTwo</a></li>
 						<li><a href="global.html#contain">contain</a></li>
 						<li><a href="global.html#contain">contain</a></li>
 						<li><a href="global.html#convertArray">convertArray</a></li>
 						<li><a href="global.html#convertArray">convertArray</a></li>
@@ -1741,6 +1740,7 @@
 						<li><a href="global.html#damp">damp</a></li>
 						<li><a href="global.html#damp">damp</a></li>
 						<li><a href="global.html#degToRad">degToRad</a></li>
 						<li><a href="global.html#degToRad">degToRad</a></li>
 						<li><a href="global.html#denormalize">denormalize</a></li>
 						<li><a href="global.html#denormalize">denormalize</a></li>
+						<li><a href="global.html#disposeShadowMaterial">disposeShadowMaterial</a></li>
 						<li><a href="global.html#euclideanModulo">euclideanModulo</a></li>
 						<li><a href="global.html#euclideanModulo">euclideanModulo</a></li>
 						<li><a href="global.html#fill">fill</a></li>
 						<li><a href="global.html#fill">fill</a></li>
 						<li><a href="global.html#flattenJSON">flattenJSON</a></li>
 						<li><a href="global.html#flattenJSON">flattenJSON</a></li>

+ 6 - 0
docs/pages/AnalyticLightNode.html

@@ -100,6 +100,12 @@ once per frame.</p>
 						</dl>
 						</dl>
 				</div>
 				</div>
 				<h2 class="subsection-title">Methods</h2>
 				<h2 class="subsection-title">Methods</h2>
+					<h3 class="name name-method" id="disposeShadow" translate="no">.<a href="#disposeShadow">disposeShadow</a><span class="signature">()</span> </h3>
+					<div class="method">
+						<div class="description">
+							<p>Frees internal resources related to shadows.</p>
+						</div>
+					</div>
 					<h3 class="name name-method" id="getLightVector" translate="no">.<a href="#getLightVector">getLightVector</a><span class="signature">( builder : <span class="param-type"><a href="NodeBuilder.html">NodeBuilder</a></span> )</span><span class="type-signature"> : <a href="Node.html">Node</a>.&lt;vec3></span> </h3>
 					<h3 class="name name-method" id="getLightVector" translate="no">.<a href="#getLightVector">getLightVector</a><span class="signature">( builder : <span class="param-type"><a href="NodeBuilder.html">NodeBuilder</a></span> )</span><span class="type-signature"> : <a href="Node.html">Node</a>.&lt;vec3></span> </h3>
 					<div class="method">
 					<div class="method">
 						<div class="description">
 						<div class="description">

+ 1 - 1
docs/pages/BloomNode.html

@@ -98,7 +98,7 @@ postProcessing.outputNode = scenePassColor.add( bloomPass );
 				<div class="member">
 				<div class="member">
 					<h3 class="name" id="radius" translate="no">.<a href="#radius">radius</a><span class="type-signature"> : <a href="UniformNode.html">UniformNode</a>.&lt;float></span> </h3>
 					<h3 class="name" id="radius" translate="no">.<a href="#radius">radius</a><span class="type-signature"> : <a href="UniformNode.html">UniformNode</a>.&lt;float></span> </h3>
 					<div class="description">
 					<div class="description">
-						<p>The radius of the bloom.</p>
+						<p>The radius of the bloom. Must be in the range <code>[0,1]</code>.</p>
 					</div>
 					</div>
 				</div>
 				</div>
 				<div class="member">
 				<div class="member">

+ 5 - 5
docs/pages/BufferGeometry.html

@@ -111,9 +111,9 @@ now defines indirect draw calls.</p>
 					</div>
 					</div>
 				</div>
 				</div>
 				<div class="member">
 				<div class="member">
-					<h3 class="name" id="indirectOffset" translate="no">.<a href="#indirectOffset">indirectOffset</a><span class="type-signature"> : number</span> </h3>
+					<h3 class="name" id="indirectOffset" translate="no">.<a href="#indirectOffset">indirectOffset</a><span class="type-signature"> : number | Array.&lt;number></span> </h3>
 					<div class="description">
 					<div class="description">
-						<p>The offset, in bytes, into the indirect drawing buffer where the value data begins.</p>
+						<p>The offset, in bytes, into the indirect drawing buffer where the value data begins. If an array is provided, multiple indirect draw calls will be made for each offset.</p>
 <p>Can only be used with <a href="WebGPURenderer.html">WebGPURenderer</a> and a WebGPU backend.</p>
 <p>Can only be used with <a href="WebGPURenderer.html">WebGPURenderer</a> and a WebGPU backend.</p>
 						<p>Default is <code>0</code>.</p>
 						<p>Default is <code>0</code>.</p>
 					</div>
 					</div>
@@ -130,7 +130,7 @@ now defines indirect draw calls.</p>
 					<div class="description">
 					<div class="description">
 						<p>This dictionary holds the morph targets of the geometry.</p>
 						<p>This dictionary holds the morph targets of the geometry.</p>
 <p>Note: Once the geometry has been rendered, the morph attribute data cannot
 <p>Note: Once the geometry has been rendered, the morph attribute data cannot
-be changed. You will have to call `dispose()?, and create a new geometry instance.</p>
+be changed. You will have to call <code>dispose()</code>, and create a new geometry instance.</p>
 					</div>
 					</div>
 				</div>
 				</div>
 				<div class="member">
 				<div class="member">
@@ -652,7 +652,7 @@ data from the array. The length of the array must match the vertex count.</p>
 							<dt class="tag-returns"><strong>Returns:</strong> A reference to this instance.</dt>
 							<dt class="tag-returns"><strong>Returns:</strong> A reference to this instance.</dt>
 						</dl>
 						</dl>
 					</div>
 					</div>
-					<h3 class="name name-method" id="setIndirect" translate="no">.<a href="#setIndirect">setIndirect</a><span class="signature">( indirect : <span class="param-type"><a href="BufferAttribute.html">BufferAttribute</a></span>, indirectOffset : <span class="param-type">number</span> )</span><span class="type-signature"> : <a href="BufferGeometry.html">BufferGeometry</a></span> </h3>
+					<h3 class="name name-method" id="setIndirect" translate="no">.<a href="#setIndirect">setIndirect</a><span class="signature">( indirect : <span class="param-type"><a href="BufferAttribute.html">BufferAttribute</a></span>, indirectOffset : <span class="param-type">number | Array.&lt;number></span> )</span><span class="type-signature"> : <a href="BufferGeometry.html">BufferGeometry</a></span> </h3>
 					<div class="method">
 					<div class="method">
 						<div class="description">
 						<div class="description">
 							<p>Sets the given indirect attribute to this geometry.</p>
 							<p>Sets the given indirect attribute to this geometry.</p>
@@ -672,7 +672,7 @@ data from the array. The length of the array must match the vertex count.</p>
 										<strong>indirectOffset</strong>
 										<strong>indirectOffset</strong>
 									</td>
 									</td>
 									<td class="description last">
 									<td class="description last">
-										<p>The offset, in bytes, into the indirect drawing buffer where the value data begins.</p>
+										<p>The offset, in bytes, into the indirect drawing buffer where the value data begins. If an array is provided, multiple indirect draw calls will be made for each offset.</p>
 										<p>Default is <code>0</code>.</p>
 										<p>Default is <code>0</code>.</p>
 									</td>
 									</td>
 								</tr>
 								</tr>

+ 0 - 22
docs/pages/LightProbe.html

@@ -72,28 +72,6 @@ irradiance environment map.</p></div>
 						<p>A light probe uses spherical harmonics to encode lighting information.</p>
 						<p>A light probe uses spherical harmonics to encode lighting information.</p>
 					</div>
 					</div>
 				</div>
 				</div>
-				<h2 class="subsection-title">Methods</h2>
-					<h3 class="name name-method" id="fromJSON" translate="no">.<a href="#fromJSON">fromJSON</a><span class="signature">( json : <span class="param-type">Object</span> )</span><span class="type-signature"> : <a href="LightProbe.html">LightProbe</a></span> </h3>
-					<div class="method">
-						<div class="description">
-							<p>Deserializes the light prove from the given JSON.</p>
-						</div>
-						<table class="params">
-							<tbody>
-								<tr>
-									<td class="name">
-										<strong>json</strong>
-									</td>
-									<td class="description last">
-										<p>The JSON holding the serialized light probe.</p>
-									</td>
-								</tr>
-							</tbody>
-						</table>
-						<dl class="details">
-							<dt class="tag-returns"><strong>Returns:</strong> A reference to this light probe.</dt>
-						</dl>
-					</div>
 				<h2 class="subsection-title">Source</h2>
 				<h2 class="subsection-title">Source</h2>
 				<p>
 				<p>
 					<a href="https://github.com/mrdoob/three.js/blob/master/src/lights/LightProbe.js" translate="no" target="_blank" rel="noopener">src/lights/LightProbe.js</a>
 					<a href="https://github.com/mrdoob/three.js/blob/master/src/lights/LightProbe.js" translate="no" target="_blank" rel="noopener">src/lights/LightProbe.js</a>

+ 1 - 1
docs/pages/PointLightHelper.html

@@ -73,7 +73,7 @@ If not set, the helper will take the color of the light.</p>
 					</div>
 					</div>
 				</div>
 				</div>
 				<div class="member">
 				<div class="member">
-					<h3 class="name" id="light" translate="no">.<a href="#light">light</a><span class="type-signature"> : <a href="HemisphereLight.html">HemisphereLight</a></span> </h3>
+					<h3 class="name" id="light" translate="no">.<a href="#light">light</a><span class="type-signature"> : <a href="PointLight.html">PointLight</a></span> </h3>
 					<div class="description">
 					<div class="description">
 						<p>The light being visualized.</p>
 						<p>The light being visualized.</p>
 					</div>
 					</div>

+ 0 - 31
docs/pages/PointLightShadow.html

@@ -33,37 +33,6 @@
 						<p>Default is <code>true</code>.</p>
 						<p>Default is <code>true</code>.</p>
 					</div>
 					</div>
 				</div>
 				</div>
-				<h2 class="subsection-title">Methods</h2>
-					<h3 class="name name-method" id="updateMatrices" translate="no">.<a href="#updateMatrices">updateMatrices</a><span class="signature">( light : <span class="param-type"><a href="Light.html">Light</a></span>, faceIndex : <span class="param-type">number</span> )</span> </h3>
-					<div class="method">
-						<div class="description">
-							<p>Update the matrices for the camera and shadow, used internally by the renderer.</p>
-						</div>
-						<table class="params">
-							<tbody>
-								<tr>
-									<td class="name">
-										<strong>light</strong>
-									</td>
-									<td class="description last">
-										<p>The light for which the shadow is being rendered.</p>
-									</td>
-								</tr>
-								<tr>
-									<td class="name">
-										<strong>faceIndex</strong>
-									</td>
-									<td class="description last">
-										<p>The cube face index (0-5).</p>
-										<p>Default is <code>0</code>.</p>
-									</td>
-								</tr>
-							</tbody>
-						</table>
-						<dl class="details">
-							<dt class="tag-overrides"><strong>Overrides:</strong> <a href="LightShadow.html#updateMatrices">LightShadow#updateMatrices</a></dt>
-						</dl>
-					</div>
 				<h2 class="subsection-title">Source</h2>
 				<h2 class="subsection-title">Source</h2>
 				<p>
 				<p>
 					<a href="https://github.com/mrdoob/three.js/blob/master/src/lights/PointLightShadow.js" translate="no" target="_blank" rel="noopener">src/lights/PointLightShadow.js</a>
 					<a href="https://github.com/mrdoob/three.js/blob/master/src/lights/PointLightShadow.js" translate="no" target="_blank" rel="noopener">src/lights/PointLightShadow.js</a>

+ 4 - 4
docs/pages/Renderer.html

@@ -1634,7 +1634,7 @@ Use <code>null</code> as the first argument to reset the state.</p>
 										<strong>x</strong>
 										<strong>x</strong>
 									</td>
 									</td>
 									<td class="description last">
 									<td class="description last">
-										<p>The horizontal coordinate for the lower left corner of the box in logical pixel unit.
+										<p>The horizontal coordinate for the upper left corner of the box in logical pixel unit.
 Instead of passing four arguments, the method also works with a single four-dimensional vector.</p>
 Instead of passing four arguments, the method also works with a single four-dimensional vector.</p>
 									</td>
 									</td>
 								</tr>
 								</tr>
@@ -1643,7 +1643,7 @@ Instead of passing four arguments, the method also works with a single four-dime
 										<strong>y</strong>
 										<strong>y</strong>
 									</td>
 									</td>
 									<td class="description last">
 									<td class="description last">
-										<p>The vertical coordinate for the lower left corner of the box in logical pixel unit.</p>
+										<p>The vertical coordinate for the upper left corner of the box in logical pixel unit.</p>
 									</td>
 									</td>
 								</tr>
 								</tr>
 								<tr>
 								<tr>
@@ -1749,7 +1749,7 @@ Pass <code>null</code> to use the default sort.</p>
 										<strong>x</strong>
 										<strong>x</strong>
 									</td>
 									</td>
 									<td class="description last">
 									<td class="description last">
-										<p>The horizontal coordinate for the lower left corner of the viewport origin in logical pixel unit.</p>
+										<p>The horizontal coordinate for the upper left corner of the viewport origin in logical pixel unit.</p>
 									</td>
 									</td>
 								</tr>
 								</tr>
 								<tr>
 								<tr>
@@ -1757,7 +1757,7 @@ Pass <code>null</code> to use the default sort.</p>
 										<strong>y</strong>
 										<strong>y</strong>
 									</td>
 									</td>
 									<td class="description last">
 									<td class="description last">
-										<p>The vertical coordinate for the lower left corner of the viewport origin  in logical pixel unit.</p>
+										<p>The vertical coordinate for the upper left corner of the viewport origin  in logical pixel unit.</p>
 									</td>
 									</td>
 								</tr>
 								</tr>
 								<tr>
 								<tr>

+ 8 - 0
docs/pages/Skeleton.html

@@ -88,6 +88,14 @@ in the vertex shader.</p>
 						<p>An array of bones defining the skeleton.</p>
 						<p>An array of bones defining the skeleton.</p>
 					</div>
 					</div>
 				</div>
 				</div>
+				<div class="member">
+					<h3 class="name" id="previousBoneMatrices" translate="no">.<a href="#previousBoneMatrices">previousBoneMatrices</a><span class="type-signature"> : Float32Array</span> </h3>
+					<div class="description">
+						<p>An array buffer holding the bone data of the previous frame.
+Required for computing velocity. Maintained in <a href="SkinningNode.html">SkinningNode</a>.</p>
+						<p>Default is <code>null</code>.</p>
+					</div>
+				</div>
 				<h2 class="subsection-title">Methods</h2>
 				<h2 class="subsection-title">Methods</h2>
 					<h3 class="name name-method" id="calculateInverses" translate="no">.<a href="#calculateInverses">calculateInverses</a><span class="signature">()</span> </h3>
 					<h3 class="name name-method" id="calculateInverses" translate="no">.<a href="#calculateInverses">calculateInverses</a><span class="signature">()</span> </h3>
 					<div class="method">
 					<div class="method">

+ 31 - 1
docs/pages/StackNode.html

@@ -219,11 +219,41 @@ The last parameter must be the callback method that should be executed in the <c
 							<dt class="tag-returns"><strong>Returns:</strong> A reference to this stack node.</dt>
 							<dt class="tag-returns"><strong>Returns:</strong> A reference to this stack node.</dt>
 						</dl>
 						</dl>
 					</div>
 					</div>
-					<h3 class="name name-method" id="addToStack" translate="no">.<a href="#addToStack">addToStack</a><span class="signature">( node : <span class="param-type"><a href="Node.html">Node</a></span> )</span><span class="type-signature"> : <a href="StackNode.html">StackNode</a></span> </h3>
+					<h3 class="name name-method" id="addToStack" translate="no">.<a href="#addToStack">addToStack</a><span class="signature">( node : <span class="param-type"><a href="Node.html">Node</a></span>, index : <span class="param-type">number</span> )</span><span class="type-signature"> : <a href="StackNode.html">StackNode</a></span> </h3>
 					<div class="method">
 					<div class="method">
 						<div class="description">
 						<div class="description">
 							<p>Adds a node to this stack.</p>
 							<p>Adds a node to this stack.</p>
 						</div>
 						</div>
+						<table class="params">
+							<tbody>
+								<tr>
+									<td class="name">
+										<strong>node</strong>
+									</td>
+									<td class="description last">
+										<p>The node to add.</p>
+									</td>
+								</tr>
+								<tr>
+									<td class="name">
+										<strong>index</strong>
+									</td>
+									<td class="description last">
+										<p>The index where the node should be added.</p>
+										<p>Default is <code>this.nodes.length</code>.</p>
+									</td>
+								</tr>
+							</tbody>
+						</table>
+						<dl class="details">
+							<dt class="tag-returns"><strong>Returns:</strong> A reference to this stack node.</dt>
+						</dl>
+					</div>
+					<h3 class="name name-method" id="addToStackBefore" translate="no">.<a href="#addToStackBefore">addToStackBefore</a><span class="signature">( node : <span class="param-type"><a href="Node.html">Node</a></span> )</span><span class="type-signature"> : <a href="StackNode.html">StackNode</a></span> </h3>
+					<div class="method">
+						<div class="description">
+							<p>Adds a node to the stack before the current node.</p>
+						</div>
 						<table class="params">
 						<table class="params">
 							<tbody>
 							<tbody>
 								<tr>
 								<tr>

+ 1 - 1
docs/pages/UnrealBloomPass.html

@@ -99,7 +99,7 @@ composer.addPass( bloomPass );
 				<div class="member">
 				<div class="member">
 					<h3 class="name" id="radius" translate="no">.<a href="#radius">radius</a><span class="type-signature"> : number</span> </h3>
 					<h3 class="name" id="radius" translate="no">.<a href="#radius">radius</a><span class="type-signature"> : number</span> </h3>
 					<div class="description">
 					<div class="description">
-						<p>The Bloom radius.</p>
+						<p>The Bloom radius. Must be in the range <code>[0,1]</code>.</p>
 					</div>
 					</div>
 				</div>
 				</div>
 				<div class="member">
 				<div class="member">

+ 5 - 10
docs/pages/VOXLoader.html

@@ -16,13 +16,8 @@
 				<div class="class-description"><p>A loader for the VOX format.</p></div>
 				<div class="class-description"><p>A loader for the VOX format.</p></div>
 				<h2>Code Example</h2>
 				<h2>Code Example</h2>
 				<div translate="no"><pre><code class="language-js">const loader = new VOXLoader();
 				<div translate="no"><pre><code class="language-js">const loader = new VOXLoader();
-const chunks = await loader.loadAsync( 'models/vox/monu10.vox' );
-for ( let i = 0; i &lt; chunks.length; i ++ ) {
-	const chunk = chunks[ i ];
-	const mesh = new VOXMesh( chunk );
-	mesh.scale.setScalar( 0.0015 );
-	scene.add( mesh );
-}
+const result = await loader.loadAsync( 'models/vox/monu10.vox' );
+scene.add( result.scene.children[ 0 ] );
 </code></pre></div>
 </code></pre></div>
 			</header>
 			</header>
 			<article>
 			<article>
@@ -82,10 +77,10 @@ to the <code>onLoad()</code> callback.</p>
 							<dt class="tag-overrides"><strong>Overrides:</strong> <a href="Loader.html#load">Loader#load</a></dt>
 							<dt class="tag-overrides"><strong>Overrides:</strong> <a href="Loader.html#load">Loader#load</a></dt>
 						</dl>
 						</dl>
 					</div>
 					</div>
-					<h3 class="name name-method" id="parse" translate="no">.<a href="#parse">parse</a><span class="signature">( buffer : <span class="param-type">ArrayBuffer</span> )</span><span class="type-signature"> : Array.&lt;Object></span> </h3>
+					<h3 class="name name-method" id="parse" translate="no">.<a href="#parse">parse</a><span class="signature">( buffer : <span class="param-type">ArrayBuffer</span> )</span><span class="type-signature"> : Object</span> </h3>
 					<div class="method">
 					<div class="method">
 						<div class="description">
 						<div class="description">
-							<p>Parses the given VOX data and returns the resulting chunks.</p>
+							<p>Parses the given VOX data and returns the result object.</p>
 						</div>
 						</div>
 						<table class="params">
 						<table class="params">
 							<tbody>
 							<tbody>
@@ -103,7 +98,7 @@ to the <code>onLoad()</code> callback.</p>
 							<dt class="tag-overrides"><strong>Overrides:</strong> <a href="Loader.html#parse">Loader#parse</a></dt>
 							<dt class="tag-overrides"><strong>Overrides:</strong> <a href="Loader.html#parse">Loader#parse</a></dt>
 						</dl>
 						</dl>
 						<dl class="details">
 						<dl class="details">
-							<dt class="tag-returns"><strong>Returns:</strong> The parsed chunks.</dt>
+							<dt class="tag-returns"><strong>Returns:</strong> The parsed VOX data with properties: chunks, scene.</dt>
 						</dl>
 						</dl>
 					</div>
 					</div>
 				<h2 class="subsection-title">Source</h2>
 				<h2 class="subsection-title">Source</h2>

+ 21 - 0
docs/pages/VarNode.html

@@ -128,6 +128,27 @@ the node system auto-generates one.</p>
 							<dt class="tag-returns"><strong>Returns:</strong> The intent flag.</dt>
 							<dt class="tag-returns"><strong>Returns:</strong> The intent flag.</dt>
 						</dl>
 						</dl>
 					</div>
 					</div>
+					<h3 class="name name-method" id="isIntent" translate="no">.<a href="#isIntent">isIntent</a><span class="signature">( builder : <span class="param-type"><a href="NodeBuilder.html">NodeBuilder</a></span> )</span><span class="type-signature"> : boolean</span> </h3>
+					<div class="method">
+						<div class="description">
+							<p>Checks if this node is used for intent.</p>
+						</div>
+						<table class="params">
+							<tbody>
+								<tr>
+									<td class="name">
+										<strong>builder</strong>
+									</td>
+									<td class="description last">
+										<p>The node builder.</p>
+									</td>
+								</tr>
+							</tbody>
+						</table>
+						<dl class="details">
+							<dt class="tag-returns"><strong>Returns:</strong> Whether this node is used for intent.</dt>
+						</dl>
+					</div>
 					<h3 class="name name-method" id="setIntent" translate="no">.<a href="#setIntent">setIntent</a><span class="signature">( value : <span class="param-type">boolean</span> )</span><span class="type-signature"> : <a href="VarNode.html">VarNode</a></span> </h3>
 					<h3 class="name name-method" id="setIntent" translate="no">.<a href="#setIntent">setIntent</a><span class="signature">( value : <span class="param-type">boolean</span> )</span><span class="type-signature"> : <a href="VarNode.html">VarNode</a></span> </h3>
 					<div class="method">
 					<div class="method">
 						<div class="description">
 						<div class="description">

+ 0 - 10
docs/pages/WebGLRenderer.html

@@ -1408,16 +1408,6 @@ Or alternatively a four-component vector specifying all the parameters of the vi
 and the rendering context supports <code>EXT_clip_control</code>.</p>
 and the rendering context supports <code>EXT_clip_control</code>.</p>
 			</td>
 			</td>
 		</tr>
 		</tr>
-		<tr>
-				<td class="name">
-					<strong>vertexTextures</strong>
-						<br>
-<span class="param-type">boolean</span>
-				</td>
-			<td class="description last">
-				<p><code>true</code> if vertex textures can be used.</p>
-			</td>
-		</tr>
 	</tbody>
 	</tbody>
 </table>
 </table>
 				</div>
 				</div>

+ 48 - 6
docs/pages/global.html

@@ -370,12 +370,6 @@ many times by the application.</p>
 						<p>A half float data type for textures.</p>
 						<p>A half float data type for textures.</p>
 					</div>
 					</div>
 				</div>
 				</div>
-				<div class="member">
-					<h3 class="name" id="IdentityDepthPacking" translate="no">.<a href="#IdentityDepthPacking">IdentityDepthPacking</a><span class="type-signature"> : number</span> <span class="type-signature">(constant) </span></h3>
-					<div class="description">
-						<p>The depth value is not packed.</p>
-					</div>
-				</div>
 				<div class="member">
 				<div class="member">
 					<h3 class="name" id="IncrementStencilOp" translate="no">.<a href="#IncrementStencilOp">IncrementStencilOp</a><span class="type-signature"> : number</span> <span class="type-signature">(constant) </span></h3>
 					<h3 class="name" id="IncrementStencilOp" translate="no">.<a href="#IncrementStencilOp">IncrementStencilOp</a><span class="type-signature"> : number</span> <span class="type-signature">(constant) </span></h3>
 					<div class="description">
 					<div class="description">
@@ -1585,6 +1579,12 @@ When using VSMShadowMap all shadow receivers will also cast shadows.</p>
 						<p>Sets the stencil buffer value to <code>0</code>.</p>
 						<p>Sets the stencil buffer value to <code>0</code>.</p>
 					</div>
 					</div>
 				</div>
 				</div>
+				<div class="member">
+					<h3 class="name" id="disposeShadowMaterial" translate="no">.<a href="#disposeShadowMaterial">disposeShadowMaterial</a> <span class="type-signature">(constant) </span></h3>
+					<div class="description">
+						<p>Disposes the shadow material for the given light source.</p>
+					</div>
+				</div>
 				<div class="member">
 				<div class="member">
 					<h3 class="name" id="viewportResolution" translate="no">.<a href="#viewportResolution">viewportResolution</a> <span class="type-signature">(constant) </span></h3>
 					<h3 class="name" id="viewportResolution" translate="no">.<a href="#viewportResolution">viewportResolution</a> <span class="type-signature">(constant) </span></h3>
 						<dl class="details">
 						<dl class="details">
@@ -1856,6 +1856,48 @@ sample direction, rotated per-pixel using Interleaved Gradient Noise (IGN).</p>
 							<dt class="tag-returns"><strong>Returns:</strong> The filtering result.</dt>
 							<dt class="tag-returns"><strong>Returns:</strong> The filtering result.</dt>
 						</dl>
 						</dl>
 					</div>
 					</div>
+					<h3 class="name name-method" id="buildData3DTexture" translate="no">.<a href="#buildData3DTexture">buildData3DTexture</a><span class="signature">( chunk : <span class="param-type">Object</span> )</span><span class="type-signature"> : <a href="Data3DTexture.html">Data3DTexture</a></span> </h3>
+					<div class="method">
+						<div class="description">
+							<p>Builds a 3D texture from a VOX chunk.</p>
+						</div>
+						<table class="params">
+							<tbody>
+								<tr>
+									<td class="name">
+										<strong>chunk</strong>
+									</td>
+									<td class="description last">
+										<p>A VOX chunk loaded via <a href="VOXLoader.html">VOXLoader</a>.</p>
+									</td>
+								</tr>
+							</tbody>
+						</table>
+						<dl class="details">
+							<dt class="tag-returns"><strong>Returns:</strong> The generated 3D texture.</dt>
+						</dl>
+					</div>
+					<h3 class="name name-method" id="buildMesh" translate="no">.<a href="#buildMesh">buildMesh</a><span class="signature">( chunk : <span class="param-type">Object</span> )</span><span class="type-signature"> : <a href="Mesh.html">Mesh</a></span> </h3>
+					<div class="method">
+						<div class="description">
+							<p>Builds a mesh from a VOX chunk.</p>
+						</div>
+						<table class="params">
+							<tbody>
+								<tr>
+									<td class="name">
+										<strong>chunk</strong>
+									</td>
+									<td class="description last">
+										<p>A VOX chunk loaded via <a href="VOXLoader.html">VOXLoader</a>.</p>
+									</td>
+								</tr>
+							</tbody>
+						</table>
+						<dl class="details">
+							<dt class="tag-returns"><strong>Returns:</strong> The generated mesh.</dt>
+						</dl>
+					</div>
 					<h3 class="name name-method" id="ceilPowerOfTwo" translate="no">.<a href="#ceilPowerOfTwo">ceilPowerOfTwo</a><span class="signature">( value : <span class="param-type">number</span> )</span><span class="type-signature"> : number</span> </h3>
 					<h3 class="name name-method" id="ceilPowerOfTwo" translate="no">.<a href="#ceilPowerOfTwo">ceilPowerOfTwo</a><span class="signature">( value : <span class="param-type">number</span> )</span><span class="type-signature"> : number</span> </h3>
 					<div class="method">
 					<div class="method">
 						<div class="description">
 						<div class="description">

+ 28 - 20
docs/search.json

@@ -36,6 +36,10 @@
 			"title": "AnalyticLightNode#colorNode",
 			"title": "AnalyticLightNode#colorNode",
 			"kind": "member"
 			"kind": "member"
 		},
 		},
+		{
+			"title": "AnalyticLightNode#disposeShadow",
+			"kind": "function"
+		},
 		{
 		{
 			"title": "AnalyticLightNode#getLightVector",
 			"title": "AnalyticLightNode#getLightVector",
 			"kind": "function"
 			"kind": "function"
@@ -4876,10 +4880,6 @@
 			"title": "LightProbe",
 			"title": "LightProbe",
 			"kind": "class"
 			"kind": "class"
 		},
 		},
-		{
-			"title": "LightProbe#fromJSON",
-			"kind": "function"
-		},
 		{
 		{
 			"title": "LightProbe#isLightProbe",
 			"title": "LightProbe#isLightProbe",
 			"kind": "member"
 			"kind": "member"
@@ -10216,10 +10216,6 @@
 			"title": "PointLightShadow#isPointLightShadow",
 			"title": "PointLightShadow#isPointLightShadow",
 			"kind": "member"
 			"kind": "member"
 		},
 		},
-		{
-			"title": "PointLightShadow#updateMatrices",
-			"kind": "function"
-		},
 		{
 		{
 			"title": "PointShadowNode",
 			"title": "PointShadowNode",
 			"kind": "class"
 			"kind": "class"
@@ -12488,6 +12484,10 @@
 			"title": "Skeleton#pose",
 			"title": "Skeleton#pose",
 			"kind": "function"
 			"kind": "function"
 		},
 		},
+		{
+			"title": "Skeleton#previousBoneMatrices",
+			"kind": "member"
+		},
 		{
 		{
 			"title": "Skeleton#toJSON",
 			"title": "Skeleton#toJSON",
 			"kind": "function"
 			"kind": "function"
@@ -13192,6 +13192,10 @@
 			"title": "StackNode#addToStack",
 			"title": "StackNode#addToStack",
 			"kind": "function"
 			"kind": "function"
 		},
 		},
+		{
+			"title": "StackNode#addToStackBefore",
+			"kind": "function"
+		},
 		{
 		{
 			"title": "StackNode#isStackNode",
 			"title": "StackNode#isStackNode",
 			"kind": "member"
 			"kind": "member"
@@ -14608,6 +14612,10 @@
 			"title": "VarNode#intent",
 			"title": "VarNode#intent",
 			"kind": "member"
 			"kind": "member"
 		},
 		},
+		{
+			"title": "VarNode#isIntent",
+			"kind": "function"
+		},
 		{
 		{
 			"title": "VarNode#isVarNode",
 			"title": "VarNode#isVarNode",
 			"kind": "member"
 			"kind": "member"
@@ -23102,10 +23110,6 @@
 			"title": "UnrealBloomPass#threshold",
 			"title": "UnrealBloomPass#threshold",
 			"kind": "member"
 			"kind": "member"
 		},
 		},
-		{
-			"title": "VOXData3DTexture",
-			"kind": "class"
-		},
 		{
 		{
 			"title": "VOXLoader",
 			"title": "VOXLoader",
 			"kind": "class"
 			"kind": "class"
@@ -23118,10 +23122,6 @@
 			"title": "VOXLoader#parse",
 			"title": "VOXLoader#parse",
 			"kind": "function"
 			"kind": "function"
 		},
 		},
-		{
-			"title": "VOXMesh",
-			"kind": "class"
-		},
 		{
 		{
 			"title": "VRButton",
 			"title": "VRButton",
 			"kind": "class"
 			"kind": "class"
@@ -24856,10 +24856,6 @@
 			"title": "IcosahedronGeometry.fromJSON",
 			"title": "IcosahedronGeometry.fromJSON",
 			"kind": "function"
 			"kind": "function"
 		},
 		},
-		{
-			"title": "IdentityDepthPacking",
-			"kind": "member"
-		},
 		{
 		{
 			"title": "ImageUtils.getDataURL",
 			"title": "ImageUtils.getDataURL",
 			"kind": "function"
 			"kind": "function"
@@ -25896,6 +25892,14 @@
 			"title": "ZeroStencilOp",
 			"title": "ZeroStencilOp",
 			"kind": "member"
 			"kind": "member"
 		},
 		},
+		{
+			"title": "buildData3DTexture",
+			"kind": "function"
+		},
+		{
+			"title": "buildMesh",
+			"kind": "function"
+		},
 		{
 		{
 			"title": "ceilPowerOfTwo",
 			"title": "ceilPowerOfTwo",
 			"kind": "function"
 			"kind": "function"
@@ -25932,6 +25936,10 @@
 			"title": "denormalize",
 			"title": "denormalize",
 			"kind": "function"
 			"kind": "function"
 		},
 		},
+		{
+			"title": "disposeShadowMaterial",
+			"kind": "member"
+		},
 		{
 		{
 			"title": "euclideanModulo",
 			"title": "euclideanModulo",
 			"kind": "function"
 			"kind": "function"

粤ICP备19079148号