Browse Source

Updated docs.

Mr.doob 3 months ago
parent
commit
00f9f68c13
4 changed files with 24 additions and 10 deletions
  1. 2 0
      docs/index.html
  2. 0 6
      docs/pages/AfterImageNode.html
  3. 14 0
      docs/pages/global.html
  4. 8 4
      docs/search.json

+ 2 - 0
docs/index.html

@@ -1593,6 +1593,8 @@
 						<li><a href="global.html#NotEqualDepth">NotEqualDepth</a></li>
 						<li><a href="global.html#NotEqualStencilFunc">NotEqualStencilFunc</a></li>
 						<li><a href="global.html#ObjectSpaceNormalMap">ObjectSpaceNormalMap</a></li>
+						<li><a href="global.html#OnBeforeMaterialUpdate">OnBeforeMaterialUpdate</a></li>
+						<li><a href="global.html#OnBeforeObjectUpdate">OnBeforeObjectUpdate</a></li>
 						<li><a href="global.html#OnMaterialUpdate">OnMaterialUpdate</a></li>
 						<li><a href="global.html#OnObjectUpdate">OnObjectUpdate</a></li>
 						<li><a href="global.html#OneFactor">OneFactor</a></li>

+ 0 - 6
docs/pages/AfterImageNode.html

@@ -55,12 +55,6 @@ the range <code>[0, 1]</code>.</p>
 						<p>The texture node that represents the input of the effect.</p>
 					</div>
 				</div>
-				<div class="member">
-					<h3 class="name" id="textureNodeOld" translate="no">.<a href="#textureNodeOld">textureNodeOld</a><span class="type-signature"> : <a href="TextureNode.html">TextureNode</a></span> </h3>
-					<div class="description">
-						<p>The texture represents the pervious frame.</p>
-					</div>
-				</div>
 				<div class="member">
 					<h3 class="name" id="updateBeforeType" translate="no">.<a href="#updateBeforeType">updateBeforeType</a><span class="type-signature"> : string</span> </h3>
 					<div class="description">

+ 14 - 0
docs/pages/global.html

@@ -886,6 +886,20 @@ alpha transparency.</p>
 						<p>Normal information is relative to the object orientation.</p>
 					</div>
 				</div>
+				<div class="member">
+					<h3 class="name" id="OnBeforeMaterialUpdate" translate="no">.<a href="#OnBeforeMaterialUpdate">OnBeforeMaterialUpdate</a> <span class="type-signature">(constant) </span></h3>
+					<div class="description">
+						<p>Creates an event that triggers a function before the material is updated.</p>
+<p>The event will be bound to the declared TSL function <code>Fn()</code>; it must be declared within a <code>Fn()</code> or the JS function call must be inherited from one.</p>
+					</div>
+				</div>
+				<div class="member">
+					<h3 class="name" id="OnBeforeObjectUpdate" translate="no">.<a href="#OnBeforeObjectUpdate">OnBeforeObjectUpdate</a> <span class="type-signature">(constant) </span></h3>
+					<div class="description">
+						<p>Creates an event that triggers a function before an object (Mesh|Sprite) is updated.</p>
+<p>The event will be bound to the declared TSL function <code>Fn()</code>; it must be declared within a <code>Fn()</code> or the JS function call must be inherited from one.</p>
+					</div>
+				</div>
 				<div class="member">
 					<h3 class="name" id="OnMaterialUpdate" translate="no">.<a href="#OnMaterialUpdate">OnMaterialUpdate</a> <span class="type-signature">(constant) </span></h3>
 					<div class="description">

+ 8 - 4
docs/search.json

@@ -16538,10 +16538,6 @@
 			"title": "AfterImageNode#textureNode",
 			"kind": "member"
 		},
-		{
-			"title": "AfterImageNode#textureNodeOld",
-			"kind": "member"
-		},
 		{
 			"title": "AfterImageNode#updateBefore",
 			"kind": "function"
@@ -25148,6 +25144,14 @@
 			"title": "OctahedronGeometry.fromJSON",
 			"kind": "function"
 		},
+		{
+			"title": "OnBeforeMaterialUpdate",
+			"kind": "member"
+		},
+		{
+			"title": "OnBeforeObjectUpdate",
+			"kind": "member"
+		},
 		{
 			"title": "OnMaterialUpdate",
 			"kind": "member"

粤ICP备19079148号