未验证 提交 dca56aa6 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #14130 from Mugen87/dev7

Docs: Correct return value of raycasting methods
......@@ -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.
</p>
<h3>[method:Array raycast]( [param:Raycaster raycaster], [param:Array intersects] )</h3>
<h3>[method:null raycast]( [param:Raycaster raycaster], [param:Array intersects] )</h3>
<p>
Get intersections between a casted [page:Ray] and this Line.
[page:Raycaster.intersectObject] will call this method.
......
......@@ -92,7 +92,7 @@
<h3>[method:Mesh clone]()</h3>
<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>
Get intersections between a casted ray and this mesh.
[page:Raycaster.intersectObject] will call this method.
......
......@@ -58,7 +58,7 @@
<h2>Methods</h2>
<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>
Get intersections between a casted ray and this Points.
[page:Raycaster.intersectObject] will call this method.
......
......@@ -76,7 +76,7 @@ scene.add( sprite );
Copies the properties of the passed sprite to this one.
</p>
<h3>[method:Array raycast]( [param:Raycaster raycaster], [param:Array intersects] )</h3>
<h3>[method:null raycast]( [param:Raycaster raycaster], [param:Array intersects] )</h3>
<p>
Get intersections between a casted ray and this sprite.
[page:Raycaster.intersectObject] will call this method.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册