|
@@ -67,8 +67,8 @@
|
|
|
|
|
|
<h3>[method:Vector3 closestPointToPoint]( [param:Vector3 point], [param:Vector3 target] )</h3>
|
|
<h3>[method:Vector3 closestPointToPoint]( [param:Vector3 point], [param:Vector3 target] )</h3>
|
|
<p>
|
|
<p>
|
|
- [page:Vector3 point] - the point to get the closest approach to. <br />
|
|
|
|
- [page:Vector3 target] — the result will be copied into this Vector3.<br /><br />
|
|
|
|
|
|
+ [page:Vector3 point] - 获得距离射线上的点最接近的点。<br />
|
|
|
|
+ [page:Vector3 target] — 结果将复制到这一Vector3中。<br /><br />
|
|
|
|
|
|
沿着[page:Ray],获得与所传入[page:Vector3]最接近的点。
|
|
沿着[page:Ray],获得与所传入[page:Vector3]最接近的点。
|
|
</p>
|
|
</p>
|
|
@@ -107,8 +107,7 @@
|
|
<p>
|
|
<p>
|
|
[page:Vector3 point] - [page:Vector3] 将被用于计算到其距离的[page:Vector3]。<br /><br />
|
|
[page:Vector3 point] - [page:Vector3] 将被用于计算到其距离的[page:Vector3]。<br /><br />
|
|
|
|
|
|
- 获得射线到所传入[page:Vector3 point]之间最接近的距离。
|
|
|
|
- Get the distance of the closest approach between the [page:Ray] and the [page:Vector3 point].
|
|
|
|
|
|
+ 获得[page:Ray](射线)到所传入[page:Vector3 point]之间最接近的距离。
|
|
</p>
|
|
</p>
|
|
|
|
|
|
|
|
|
|
@@ -182,9 +181,9 @@
|
|
|
|
|
|
<h3>[method:Ray recast]( [param:Float t] )</h3>
|
|
<h3>[method:Ray recast]( [param:Float t] )</h3>
|
|
<p>
|
|
<p>
|
|
- [page:Float t] - The distance along the [page:Ray] to interpolate.<br /><br />
|
|
|
|
|
|
+ [page:Float t] - 沿着[page:Ray]进行插值的距离。<br /><br />
|
|
|
|
|
|
- Shift the origin of this [page:Ray] along its direction by the distance given.
|
|
|
|
|
|
+ 将[page:Ray](射线)的原点沿着其方向移动给定的距离。
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[method:Ray set]( [param:Vector3 origin], [param:Vector3 direction] )</h3>
|
|
<h3>[method:Ray set]( [param:Vector3 origin], [param:Vector3 direction] )</h3>
|