提交 5ddf8219 编写于 作者: M Michael Blix 提交者: Mr.doob

Add Raycaster returned UV property to docs (#9329)

上级 1a7d9e0b
......@@ -59,7 +59,8 @@
[example:webgl_interactive_raycasting_points Raycasting to Points],
[example:webgl_geometry_terrain_raycast Terrain raycasting],
[example:webgl_octree_raycasting Raycasting using an octree],
[example:webgl_interactive_voxelpainter Raycasting to paint voxels]</div>
[example:webgl_interactive_voxelpainter Raycasting to paint voxels],
[example:webgl_raycast_texture Raycast to a Texture]</div>
<div>
......@@ -144,6 +145,7 @@
[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
[page:Vector2 uv] - U,V coordinates at point of intersection
</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*.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册