提交 b980f851 编写于 作者: M Mugen87

Docs: Correct return value of raycasting methods

上级 84ae82be
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
Computes an array of distance values which are necessary for [page:LineDashedMaterial]. For each vertex in the geometry, the method calculates the cumulative length from the current point to the very beginning of the line. Computes an array of distance values which are necessary for [page:LineDashedMaterial]. For each vertex in the geometry, the method calculates the cumulative length from the current point to the very beginning of the line.
</p> </p>
<h3>[method:Array raycast]( [param:Raycaster raycaster], [param:Array intersects] )</h3> <h3>[method:null raycast]( [param:Raycaster raycaster], [param:Array intersects] )</h3>
<p> <p>
Get intersections between a casted [page:Ray] and this Line. Get intersections between a casted [page:Ray] and this Line.
[page:Raycaster.intersectObject] will call this method. [page:Raycaster.intersectObject] will call this method.
......
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
<h3>[method:Mesh clone]()</h3> <h3>[method:Mesh clone]()</h3>
<p>Returns a clone of this [name] object and its descendants.</p> <p>Returns a clone of this [name] object and its descendants.</p>
<h3>[method:Array raycast]( [param:Raycaster raycaster], [param:Array intersects] )</h3> <h3>[method:null raycast]( [param:Raycaster raycaster], [param:Array intersects] )</h3>
<p> <p>
Get intersections between a casted ray and this mesh. Get intersections between a casted ray and this mesh.
[page:Raycaster.intersectObject] will call this method. [page:Raycaster.intersectObject] will call this method.
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<h2>Methods</h2> <h2>Methods</h2>
<p>See the base [page:Object3D] class for common methods.</p> <p>See the base [page:Object3D] class for common methods.</p>
<h3>[method:Array raycast]( [param:Raycaster raycaster], [param:Array intersects] )</h3> <h3>[method:null raycast]( [param:Raycaster raycaster], [param:Array intersects] )</h3>
<p> <p>
Get intersections between a casted ray and this Points. Get intersections between a casted ray and this Points.
[page:Raycaster.intersectObject] will call this method. [page:Raycaster.intersectObject] will call this method.
......
...@@ -76,7 +76,7 @@ scene.add( sprite ); ...@@ -76,7 +76,7 @@ scene.add( sprite );
Copies the properties of the passed sprite to this one. Copies the properties of the passed sprite to this one.
</p> </p>
<h3>[method:Array raycast]( [param:Raycaster raycaster], [param:Array intersects] )</h3> <h3>[method:null raycast]( [param:Raycaster raycaster], [param:Array intersects] )</h3>
<p> <p>
Get intersections between a casted ray and this sprite. Get intersections between a casted ray and this sprite.
[page:Raycaster.intersectObject] will call this method. [page:Raycaster.intersectObject] will call this method.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册