Преглед изворни кода

Raycaster.html add missing intersection property doc (#30478)

Joe Pea пре 1 година
родитељ
комит
6c2c7acb51
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      docs/api/en/core/Raycaster.html

+ 3 - 0
docs/api/en/core/Raycaster.html

@@ -185,6 +185,9 @@ object.layers.enable( 1 );
 		<p>
 			[page:Float distance] – distance between the origin of the ray and the
 			intersection<br />
+			[page:Float distanceToRay] – Some objects (f.e. [page:Points Points]) provide
+			the distance of the intersection to the nearest point on the ray. For other
+			objects it will be `undefined`<br />
 			[page:Vector3 point] – point of intersection, in world coordinates<br />
 			[page:Object face] – intersected face<br />
 			[page:Integer faceIndex] – index of the intersected face<br />

粤ICP备19079148号