source: other-projects/playing-in-the-street/summer-2013/trunk/Playing-in-the-Street-WPF/Content/Web/mrdoob-three.js-4862f5f/docs/api/math/Frustum.html@ 28897

Last change on this file since 28897 was 28897, checked in by davidb, 10 years ago

GUI front-end to server base plus web page content

File size: 2.3 KB
Line 
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <meta charset="utf-8" />
5 <script src="../../list.js"></script>
6 <script src="../../page.js"></script>
7 <link type="text/css" rel="stylesheet" href="../../page.css" />
8 </head>
9 <body>
10 <h1>[name]</h1>
11
12 <div class="desc"><a href="http://en.wikipedia.org/wiki/Frustum">Frustums</a> are used to determine what is inside the camera's field of view. They help speed up the rendering process.</div>
13
14
15 <h2>Constructor</h2>
16
17
18 <h3>[name]([page:Plane p0], [page:Plane p1], [page:Plane p2], [page:Plane p3], [page:Plane p4], [page:Plane p5])</h3>
19 <div>
20 p0 -- [page:Plane] <br />
21 p1 -- [page:Plane] <br />
22 p2 -- [page:Plane] <br />
23 p3 -- [page:Plane] <br />
24 p4 -- [page:Plane] <br />
25 p5 -- [page:Plane]
26 </div>
27 <div>
28 Creates a frustum from the designated planes.
29 </div>
30
31
32 <h2>Properties</h2>
33
34 <h3>.[page:Array planes]</h3>
35 <div>
36 Array of 6 [page:Plane planes].
37 </div>
38
39
40 <h2>Methods</h2>
41
42 <h3>.setFromMatrix( [page:Matrix4 matrix] )</h3>
43
44 <h3>.intersectsObject( [page:Object3D object] ) [page:Boolean]</h3>
45 <div>
46 Checks whether the object is inside the Frustum.
47 </div>
48
49 <h3>.clone() [page:Frustum]</h3>
50 <div>
51 Return a copy of this Frustum
52 </div>
53
54 <h3>.set([page:Plane p0], [page:Plane p1], [page:Plane p2], [page:Plane p3], [page:Plane p4], [page:Plane p5]) [page:Boolean]</h3>
55 <div>
56 p0 -- [page:Plane] <br />
57 p1 -- [page:Plane] <br />
58 p2 -- [page:Plane] <br />
59 p3 -- [page:Plane] <br />
60 p4 -- [page:Plane] <br />
61 p5 -- [page:Plane]
62 </div>
63 <div>
64 Sets the current frustum from the passed planes. No plane order is implicitely implied.
65 </div>
66
67 <h3>.copy([page:Frustum frustum]) [page:Frustum this]</h3>
68 <div>
69 frustum -- The frustum to copy
70 </div>
71 <div>
72 Copies the values of the passed frustum.
73 </div>
74
75 <h3>.containsPoint([page:Vector3 point]) [page:Boolean]</h3>
76 <div>
77 point -- [page:Vector3] to test
78 </div>
79 <div>
80 Checks to see if the frustum contains the point.
81 </div>
82
83 <h3>.intersectsSphere([page:Sphere sphere]) [page:Boolean]</h3>
84 <div>
85 sphere -- [page:Sphere]
86 </div>
87 <div>
88 Check to see if the sphere intersects with the frustum.
89 </div>
90
91 <h2>Source</h2>
92
93 [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
94 </body>
95</html>
Note: See TracBrowser for help on using the repository browser.