|
1 |
| -<!DOCTYPE html> |
2 |
| -<html lang="en"> |
3 |
| - <head> |
4 |
| - <meta charset="utf-8" /> |
5 |
| - <base href="../../" /> |
6 |
| - <script src="list.js"></script> |
7 |
| - <script src="page.js"></script> |
8 |
| - <link type="text/css" rel="stylesheet" href="page.css" /> |
9 |
| - </head> |
10 |
| - <body> |
11 |
| - [page:Object3D] → |
12 |
| - |
13 |
| - <h1>[name]</h1> |
14 |
| - |
15 |
| - <div class="desc"> |
16 |
| - Abstract base class for cameras. This class should always be inherited when you build a new camera. |
17 |
| - </div> |
18 |
| - |
19 |
| - |
20 |
| - <h2>Constructor</h2> |
21 |
| - |
22 |
| - |
23 |
| - <h3>[name]()</h3> |
24 |
| - <div> |
25 |
| - Creates a new [name]. Note that this class is not intended to be called directly; |
26 |
| - you probably want a [page:PerspectiveCamera] or [page:OrthographicCamera] instead. |
27 |
| - </div> |
28 |
| - |
29 |
| - |
30 |
| - <h2>Properties</h2> |
31 |
| - <div>See the base [page:Object3D] class for common properties.</div> |
32 |
| - |
33 |
| - <h3>[property:Boolean isCamera]</h3> |
34 |
| - <div> |
35 |
| - Used to check whether this or derived classes are cameras. Default is *true*.<br /><br /> |
36 |
| - |
37 |
| - You should not change this, as it used internally by the renderer for optimisation. |
38 |
| - </div> |
39 |
| - |
40 |
| - <h3>[property:Layers layers]</h3> |
41 |
| - <div> |
42 |
| - The [page:Layers layers] that the camera is a member of. This is an inherited |
43 |
| - property from [page:Object3D].<br /><br /> |
44 |
| - |
45 |
| - Objects must share at least one layer with the camera to be seen |
46 |
| - when the camera's viewpoint is rendered. |
47 |
| - </div> |
48 |
| - |
49 |
| - <h3>[property:Matrix4 matrixWorldInverse]</h3> |
50 |
| - <div> |
51 |
| - This is the inverse of matrixWorld. MatrixWorld contains the Matrix which has |
52 |
| - the world transform of the Camera. |
53 |
| - </div> |
54 |
| - |
55 |
| - <h3>[property:Matrix4 projectionMatrix]</h3> |
56 |
| - <div>This is the matrix which contains the projection.</div> |
57 |
| - |
58 |
| - |
59 |
| - <h2>Methods</h2> |
60 |
| - <div>See the base [page:Object3D] class for common methods.</div> |
61 |
| - |
62 |
| - <h3>[method:Camera clone]( )</h3> |
63 |
| - <div> |
64 |
| - Return a new camera with the same properties as this one. |
65 |
| - </div> |
66 |
| - |
67 |
| - <h3>[method:Camera copy]( [page:Camera source] )</h3> |
68 |
| - <div> |
69 |
| - Copy the properties from the source camera into this one. |
70 |
| - </div> |
71 |
| - |
72 |
| - <h3>[method:Vector3 getWorldDirection]( [page:Vector3 optionalTarget] )</h3> |
73 |
| - <div> |
74 |
| - Returns a [page:Vector3] representing the world space direction in which the camera is looking.<br /><br /> |
75 |
| - |
76 |
| - Note: This is not the camera’s positive, but its negative z-axis, in contrast to |
77 |
| - [page:Object3D.getWorldDirection getWorldDirection] of the base class (Object3D).<br /><br /> |
78 |
| - |
79 |
| - If an [page:Vector3 optionalTarget] vector is specified, the result will be copied into this vector |
80 |
| - (which can be reused in this way), otherwise a new vector will be created. |
81 |
| - </div> |
82 |
| - |
83 |
| - <h2>Source</h2> |
84 |
| - |
85 |
| - [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js] |
86 |
| - </body> |
87 |
| -</html> |
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8" /> |
| 5 | + <base href="../../" /> |
| 6 | + <script src="list.js"></script> |
| 7 | + <script src="page.js"></script> |
| 8 | + <link type="text/css" rel="stylesheet" href="page.css" /> |
| 9 | + </head> |
| 10 | + <body> |
| 11 | + [page:Object3D] → |
| 12 | + |
| 13 | + <h1>[name]</h1> |
| 14 | + |
| 15 | + <div class="desc"> |
| 16 | + Abstract base class for cameras. This class should always be inherited when you build a new camera. |
| 17 | + </div> |
| 18 | + |
| 19 | + |
| 20 | + <h2>Constructor</h2> |
| 21 | + |
| 22 | + |
| 23 | + <h3>[name]()</h3> |
| 24 | + <div> |
| 25 | + Creates a new [name]. Note that this class is not intended to be called directly; |
| 26 | + you probably want a [page:PerspectiveCamera] or [page:OrthographicCamera] instead. |
| 27 | + </div> |
| 28 | + |
| 29 | + |
| 30 | + <h2>Properties</h2> |
| 31 | + <div>See the base [page:Object3D] class for common properties.</div> |
| 32 | + |
| 33 | + <h3>[property:Boolean isCamera]</h3> |
| 34 | + <div> |
| 35 | + Used to check whether this or derived classes are cameras. Default is *true*.<br /><br /> |
| 36 | + |
| 37 | + You should not change this, as it used internally by the renderer for optimisation. |
| 38 | + </div> |
| 39 | + |
| 40 | + <h3>[property:Layers layers]</h3> |
| 41 | + <div> |
| 42 | + The [page:Layers layers] that the camera is a member of. This is an inherited |
| 43 | + property from [page:Object3D].<br /><br /> |
| 44 | + |
| 45 | + Objects must share at least one layer with the camera to be seen |
| 46 | + when the camera's viewpoint is rendered. |
| 47 | + </div> |
| 48 | + |
| 49 | + <h3>[property:Matrix4 matrixWorldInverse]</h3> |
| 50 | + <div> |
| 51 | + This is the inverse of matrixWorld. MatrixWorld contains the Matrix which has |
| 52 | + the world transform of the Camera. |
| 53 | + </div> |
| 54 | + |
| 55 | + <h3>[property:Matrix4 projectionMatrix]</h3> |
| 56 | + <div>This is the matrix which contains the projection.</div> |
| 57 | + |
| 58 | + |
| 59 | + <h2>Methods</h2> |
| 60 | + <div>See the base [page:Object3D] class for common methods.</div> |
| 61 | + |
| 62 | + <h3>[method:Camera clone]( )</h3> |
| 63 | + <div> |
| 64 | + Return a new camera with the same properties as this one. |
| 65 | + </div> |
| 66 | + |
| 67 | + <h3>[method:Camera copy]( [page:Camera source] )</h3> |
| 68 | + <div> |
| 69 | + Copy the properties from the source camera into this one. |
| 70 | + </div> |
| 71 | + |
| 72 | + <h3>[method:Vector3 getWorldDirection]( [page:Vector3 optionalTarget] )</h3> |
| 73 | + <div> |
| 74 | + Returns a [page:Vector3] representing the world space direction in which the camera is looking.<br /><br /> |
| 75 | + |
| 76 | + Note: This is not the camera’s positive, but its negative z-axis, in contrast to |
| 77 | + [page:Object3D.getWorldDirection getWorldDirection] of the base class (Object3D).<br /><br /> |
| 78 | + |
| 79 | + If an [page:Vector3 optionalTarget] vector is specified, the result will be copied into this vector |
| 80 | + (which can be reused in this way), otherwise a new vector will be created. |
| 81 | + </div> |
| 82 | + |
| 83 | + <h2>Source</h2> |
| 84 | + |
| 85 | + [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js] |
| 86 | + </body> |
| 87 | +</html> |
0 commit comments