forked from serjIII/threejsSDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AmbientLightProbe.html
49 lines (40 loc) · 1.35 KB
/
AmbientLightProbe.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<base href="../../../" />
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
[page:Object3D] → [page:Light] → [page:LightProbe]
<h1>[name]</h1>
<p class="desc">
Light probes are an alternative way of adding light to a 3D scene.
AmbientLightProbe is the light estimation data of a single ambient light
in the scene. For more information about light probes, go to
[page:LightProbe].
</p>
<h2>Constructor</h2>
<h3>[name]( [param:Color color], [param:Float intensity] )</h3>
<p>
[page:Color color] - (optional) An instance of Color, string representing
a color or a number representing a color.<br />
[page:Float intensity] - (optional) Numeric value of the light probe's
intensity. Default is `1`.<br /><br />
Creates a new [name].
</p>
<h2>Properties</h2>
<p>
See the base [page:LightProbe LightProbe] class for common properties.
</p>
<h3>[property:Boolean isAmbientLightProbe]</h3>
<p>Read-only flag to check if a given object is of type [name].</p>
<h2>Methods</h2>
<p>See the base [page:LightProbe LightProbe] class for common methods.</p>
<h2>Source</h2>
<p>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</p>
</body>
</html>