Преглед на файлове

Docs: Clarified Raycaster.intersectObject()

Mugen87 преди 7 години
родител
ревизия
5ee3884f6b
променени са 1 файла, в които са добавени 1 реда и са изтрити 5 реда
  1. 1 5
      docs/api/core/Raycaster.html

+ 1 - 5
docs/api/core/Raycaster.html

@@ -155,20 +155,16 @@
 		<div>
 		<div>
 		Checks all intersection between the ray and the object with or without the descendants. Intersections are returned sorted by distance, closest first. An array of intersections is returned...
 		Checks all intersection between the ray and the object with or without the descendants. Intersections are returned sorted by distance, closest first. An array of intersections is returned...
         <code>
         <code>
-            [ { distance, point, face, faceIndex, indices, object }, ... ]
+            [ { distance, point, face, faceIndex, object }, ... ]
         </code>
         </code>
         <p>
         <p>
         [page:Float distance] – distance between the origin of the ray and the intersection<br />
         [page:Float distance] – distance between the origin of the ray and the intersection<br />
         [page:Vector3 point] – point of intersection, in world coordinates<br />
         [page:Vector3 point] – point of intersection, in world coordinates<br />
         [page:Face3 face] – intersected face<br />
         [page:Face3 face] – intersected face<br />
         [page:Integer faceIndex] – index of the intersected face<br />
         [page:Integer faceIndex] – index of the intersected face<br />
-        [page:Array indices] – indices of vertices comprising the intersected face<br />
         [page:Object3D object] – the intersected object<br />
         [page:Object3D object] – the intersected object<br />
         [page:Vector2 uv] - U,V coordinates at point of intersection
         [page:Vector2 uv] - U,V coordinates at point of intersection
     	</p>
     	</p>
-        <p>
-        When intersecting a [page:Mesh] with a [page:BufferGeometry], the *faceIndex* will be *undefined*, and *indices* will be set; when intersecting a [page:Mesh] with a [page:Geometry], *indices* will be *undefined*.
-        </p>
 		<p>
 		<p>
 		*Raycaster* delegates to the [page:Object3D.raycast raycast] method of the passed object, when evaluating whether the ray intersects the object or not. This allows [page:Mesh meshes] to respond differently to ray casting than [page:Line lines] and [page:Points pointclouds].
 		*Raycaster* delegates to the [page:Object3D.raycast raycast] method of the passed object, when evaluating whether the ray intersects the object or not. This allows [page:Mesh meshes] to respond differently to ray casting than [page:Line lines] and [page:Points pointclouds].
 		</p>
 		</p>