forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWebGLRenderTargetCube.html
More file actions
53 lines (35 loc) · 1.23 KB
/
WebGLRenderTargetCube.html
File metadata and controls
53 lines (35 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
[page:WebGLRenderTarget] →
<h1>[name]</h1>
<div class="desc">[page:CubeCamera] uses this as its [page:WebGLRenderTarget]</div>
<h2>Examples</h2>
<div>See [page:CubeCamera] for examples.</div>
<h2>Constructor</h2>
<h3>[name]([page:Number width], [page:Number height], [page:Object options])</h3>
<div>
width -- The width of the renderTarget. <br />
height -- The height of the renderTarget. <br />
options -- The options sets the properties of the render target.
</div>
<h2>Properties</h2>
<h3>[property:integer activeCubeFace]</h3>
<div>
The activeCubeFace property corresponds to a cube side (PX 0, NX 1, PY 2, NY 3, PZ 4, NZ 5) and is
used and set internally by the [page:CubeCamera].
</div>
<h3>See [page:WebGLRenderTarget] for inherited properties</h3>
<h2>Methods</h2>
<h3>See [page:WebGLRenderTarget] for inherited methods</h3>
<h2>Source</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</body>
</html>