Bladeren bron

Docs: Friendlier language.

Mr.doob 4 jaren geleden
bovenliggende
commit
13501176f7
1 gewijzigde bestanden met toevoegingen van 6 en 3 verwijderingen
  1. 6 3
      docs/api/en/core/Object3D.html

+ 6 - 3
docs/api/en/core/Object3D.html

@@ -413,7 +413,8 @@
 		<p>
 		callback - A function with as first argument an object3D object.<br /><br />
 
-		Executes the callback on this object and all descendants. <strong>Warning:</strong> Do not add, move, or remove the object or its descendants while traversing.
+		Executes the callback on this object and all descendants.<br/>
+		Note: Modifying the scene graph inside the callback is discouraged.
 		</p>
 
 		<h3>[method:null traverseVisible]( [param:Function callback] )</h3>
@@ -421,14 +422,16 @@
 		callback - A function with as first argument an object3D object.<br /><br />
 
 		Like traverse, but the callback will only be executed for visible objects.
-		Descendants of invisible objects are not traversed. <strong>Warning:</strong> Do not add, move, or remove the object or its descendants while traversing.
+		Descendants of invisible objects are not traversed.<br/>
+		Note: Modifying the scene graph inside the callback is discouraged.
 		</p>
 
 		<h3>[method:null traverseAncestors]( [param:Function callback] )</h3>
 		<p>
 		callback - A function with as first argument an object3D object.<br /><br />
 
-		Executes the callback on all ancestors.  <strong>Warning:</strong> Do not add, move, or remove the object or its ancestors while traversing.
+		Executes the callback on all ancestors.<br/>
+		Note: Modifying the scene graph inside the callback is discouraged.
 		</p>
 
 		<h3>[method:null updateMatrix]()</h3>