소스 검색

Add documentation of computeMorphedBufferGeometry

SntsDev 4 년 전
부모
커밋
1042edb112
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      docs/examples/en/utils/BufferGeometryUtils.html

+ 11 - 0
docs/examples/en/utils/BufferGeometryUtils.html

@@ -74,6 +74,17 @@
 
 
 		</p>
 		</p>
 
 
+		<h3>[method:Object computeMorphedBufferGeometry]( [param:Object3D object] )</h3>
+		<p>
+		object -- Instance of [page:Object3D Object3D].<br /><br />
+
+		Returns the current attributes (Position and Normal) of a morphed/skinned [page:Object3D Object3D] whose geometry is a 
+		[page:BufferGeometry BufferGeometry], together with the original ones: An Object with 4 properties: `positionAttribute`, `normalAttribute`, `morphedPositionAttribute` and `morphedNormalAttribute`.
+
+		Helpful for Raytracing or Decals (i.e. a [page:DecalGeometry DecalGeometry] applied to a morphed Object with a [page:BufferGeometry BufferGeometry] will use the original BufferGeometry, not the morphed/skinned one, generating an incorrect result. Using this function to create a shadow Object3D the DecalGeometry can be correctly generated).
+
+		</p>
+
 		<h2>Source</h2>
 		<h2>Source</h2>
 
 
 		<p>
 		<p>