Skip to content

Commit 5ddf821

Browse files
mkeblxmrdoob
authored andcommitted
Add Raycaster returned UV property to docs (mrdoob#9329)
1 parent 1a7d9e0 commit 5ddf821

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/api/core/Raycaster.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ <h2>Example</h2>
5959
[example:webgl_interactive_raycasting_points Raycasting to Points],
6060
[example:webgl_geometry_terrain_raycast Terrain raycasting],
6161
[example:webgl_octree_raycasting Raycasting using an octree],
62-
[example:webgl_interactive_voxelpainter Raycasting to paint voxels]</div>
62+
[example:webgl_interactive_voxelpainter Raycasting to paint voxels],
63+
[example:webgl_raycast_texture Raycast to a Texture]</div>
6364

6465

6566
<div>
@@ -144,6 +145,7 @@ <h3>[method:Array intersectObject]( [page:Object3D object], [page:Boolean recurs
144145
[page:Integer faceIndex] – index of the intersected face<br />
145146
[page:Array indices] – indices of vertices comprising the intersected face<br />
146147
[page:Object3D object] – the intersected object
148+
[page:Vector2 uv] - U,V coordinates at point of intersection
147149
</p>
148150
<p>
149151
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*.

0 commit comments

Comments
 (0)