diff --git a/docs/api/core/Projector.html b/docs/api/core/Projector.html index 2c459d9ad5ed62540900602792f14b1c2f4fe6b3..33726511c72c74f6df1e26cb4a59f48ef00c423f 100644 --- a/docs/api/core/Projector.html +++ b/docs/api/core/Projector.html @@ -19,49 +19,17 @@
Creates a new projector Object. It initializes a lot of variables that the projector uses to project the points.
- - + +

Properties

Methods

-

.projectVector( [page:Vector3 vector], [page:Camera camera] ) [page:Vector3]

-
- [page:Vector3 vector] — vector to project.
- [page:Camera camera] — camera to use in the projection.
-
-
- Projects a vector with the camera. Caution, this method changes 'vector'. -
- -

.unprojectVector( [page:Vector3 vector], [page:Camera camera] ) [page:Vector3]

-
- [page:Vector3 vector] — vector to unproject.
- [page:Camera camera] — camera to use in the projection.
-
-
- Unprojects a vector with the camera. Caution, this method changes 'vector'. -
-

.pickingRay( [page:Vector3 vector], [page:Camera camera] ) [page:Raycaster]

Translates a 2D point from NDC (Normalized Device Coordinates) to a [page:Raycaster] that can be used for picking. NDC range from [-1..1] in x (left to right) and [1.0 .. -1.0] in y (top to bottom).
-

.projectScene( [page:Scene scene], [page:Camera camera], [page:Boolean sort] ) [page:Object]

-
- [page:Scene scene] — scene to project.
- [page:Camera camera] — camera to use in the projection.
- [page:Boolean sort] — select whether to sort elements using the Painter's algorithm. -
- -
- Transforms a 3D [page:Scene scene] object into 2D render data that can be rendered in a screen with your renderer of choice, projecting and clipping things out according to the used camera. -
-
- If the scene were a real scene, this method would be the equivalent of taking a picture with the camera (and developing the film would be the next step, using a Renderer). -
-

Source

diff --git a/docs/api/math/Vector3.html b/docs/api/math/Vector3.html index cf26ebd9b4759f19c9b7263f7dac80b4e0ec84c5..f6d2ae790213e97cbf0630406990fb43437084e7 100644 --- a/docs/api/math/Vector3.html +++ b/docs/api/math/Vector3.html @@ -316,9 +316,9 @@ index -- [page:Integer] 0, 1, or 2
- + Returns the value of the vector component x, y, or z by an index.

- + Index 0: x
Index 1: y
Index 2: z
@@ -415,6 +415,22 @@ Applies a [page:Quaternion] transform to this vector.
+

.projectCamera( [page:Camera camera] ) [page:Vector3]

+
+ [page:Camera camera] — camera to use in the projection.
+
+
+ Projects the vector with the camera. +
+ +

.unprojectCamera( [page:Camera camera] ) [page:Vector3]

+
+ [page:Camera camera] — camera to use in the projection.
+
+
+ Unprojects the vector with the camera. +
+

Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]