提交 70c26379 编写于 作者: A aardgoose 提交者: Mr.doob

Docs: add some default values for clock and raycaster

* default value for constructor autostart

* document default values for optional parameters

* Revert "document default values for optional parameters"

This reverts commit f1d33aa28401658e3622852755a1b5cb7b0e15c6.

* document defaults for raycaster methods
上级 b7e86613
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<base href="../../" /> <base href="../../" />
<script src="list.js"></script> <script src="list.js"></script>
<script src="page.js"></script> <script src="page.js"></script>
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<h3>[name]( [page:Boolean autoStart] )</h3> <h3>[name]( [page:Boolean autoStart] )</h3>
<div> <div>
autoStart — Automatically start the clock. autoStart — Automatically start the clock. Default is true.
</div> </div>
<h2>Properties</h2> <h2>Properties</h2>
......
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
<div> <div>
<p> <p>
[page:Object3D object] — The object to check for intersection with the ray.<br /> [page:Object3D object] — The object to check for intersection with the ray.<br />
[page:Boolean recursive] — If set, it also checks all descendants. Otherwise it only checks intersecton with the object. [page:Boolean recursive] — If true, it also checks all descendants. Otherwise it only checks intersecton with the object. Default is false.
</p> </p>
</div> </div>
<div> <div>
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
<h3>[method:Array intersectObjects]( [page:Array objects], [page:Boolean recursive] )</h3> <h3>[method:Array intersectObjects]( [page:Array objects], [page:Boolean recursive] )</h3>
<div> <div>
[page:Array objects] — The objects to check for intersection with the ray.<br /> [page:Array objects] — The objects to check for intersection with the ray.<br />
[page:Boolean recursive] — If set, it also checks all descendants of the objects. Otherwise it only checks intersecton with the objects. [page:Boolean recursive] — If true, it also checks all descendants of the objects. Otherwise it only checks intersecton with the objects. Default is false.
</div> </div>
<div> <div>
Checks all intersection between the ray and the objects with or without the descendants. Intersections are returned sorted by distance, closest first. Intersections are of the same form as those returned by [page:.intersectObject]. Checks all intersection between the ray and the objects with or without the descendants. Intersections are returned sorted by distance, closest first. Intersections are of the same form as those returned by [page:.intersectObject].
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册