Browse Source

SkinnedMesh: Clarify clone() method. (#23079)

Michael Herzog 3 years ago
parent
commit
009c4f8b0a
2 changed files with 2 additions and 12 deletions
  1. 1 6
      docs/api/en/objects/SkinnedMesh.html
  2. 1 6
      docs/api/zh/objects/SkinnedMesh.html

+ 1 - 6
docs/api/en/objects/SkinnedMesh.html

@@ -134,7 +134,7 @@
 
 		<h3>[method:SkinnedMesh clone]()</h3>
 		<p>
-		Returns a clone of this SkinnedMesh object and any descendants.
+		This method does currently not clone an instance of [name] correctly. Please use [page:SkeletonUtils.clone]() in the meanwhile.
 		</p>
 
 		<h3>[method:undefined normalizeSkinWeights]()</h3>
@@ -147,11 +147,6 @@
 		This method sets the skinned mesh in the rest pose (resets the pose).
 		</p>
 
-		<h3>[method:undefined updateMatrixWorld]( [param:Boolean force] )</h3>
-		<p>
-		Updates the [page:Matrix4 MatrixWorld].
-		</p>
-
 		<h3>[method:Vector3 boneTransform]( [index:Integer], [target:Vector3] )</h3>
 		<p>
 		Calculates the position of the vertex at the given index relative to the current bone transformations.

+ 1 - 6
docs/api/zh/objects/SkinnedMesh.html

@@ -136,7 +136,7 @@
 
 		<h3>[method:SkinnedMesh clone]()</h3>
 		<p>
-		返回当前SkinnedMesh对象的一个克隆及其任何后代。
+		This method does currently not clone an instance of [name] correctly. Please use [page:SkeletonUtils.clone]() in the meanwhile.
 		</p>
 
 		<h3>[method:undefined normalizeSkinWeights]()</h3>
@@ -149,11 +149,6 @@
 		这个方法设置了在“休息”状态下蒙皮网格的姿势(重置姿势)。
 		</p>
 
-		<h3>[method:undefined updateMatrixWorld]( [param:Boolean force] )</h3>
-		<p>
-		更新[page:Matrix4 MatrixWorld]矩阵。
-		</p>
-
 		<h2>源代码</h2>
 		<p>
 			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]