Skip to content

Commit 3d4893c

Browse files
committed
Bumped docs version number to r50. Updated Material docs.
1 parent c3b4b64 commit 3d4893c

File tree

2 files changed

+10
-16
lines changed

2 files changed

+10
-16
lines changed

docs/api/materials/Material.html

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ <h3>.[page:Integer id]</h3>
2323
<div>
2424
Unique number of this material instance.
2525
</div>
26-
26+
2727
<h3>.[page:String name]</h3>
2828
<div>
2929
Material name. Default is an empty string.
3030
</div>
31-
31+
3232
<h3>.[page:Number opacity]</h3>
3333
<div>
3434
Opacity. Default is *1*.
@@ -49,12 +49,12 @@ <h3>.[page:Integer blendSrc]</h3>
4949
<div>
5050
Blending source. It's one of the blending mode constants defined in [page:Three Three.js]. Default is *SrcAlphaFactor*.
5151
</div>
52-
52+
5353
<h3>.[page:Integer blendDst]</h3>
5454
<div>
5555
Blending destination. It's one of the blending mode constants defined in [page:Three Three.js]. Default is *OneMinusSrcAlphaFactor*.
5656
</div>
57-
57+
5858
<h3>.[page:Integer blendEquation]</h3>
5959
<div>
6060
Blending equation to use when applying blending. It's one of the constants defined in [page:Three Three.js]. Default is *AddEquation*.
@@ -82,7 +82,7 @@ <h3>.[page:Integer polygonOffsetFactor]</h3>
8282
<div>
8383
Sets the polygon offset factor. Default is *0*.
8484
</div>
85-
85+
8686
<h3>.[page:Integer polygonOffsetUnits]</h3>
8787
<div>
8888
Sets the polygon offset units. Default is *0*.
@@ -100,21 +100,15 @@ <h3>.[page:Boolean overdraw]</h3>
100100

101101
<h3>.[page:Boolean visible]</h3>
102102
<div>
103-
Define whether this material is visible. Default is *true*.
103+
Defines whether this material is visible. Default is *true*.
104104
</div>
105105

106-
<h3>.[page:Boolean doubleSided]</h3>
107-
<div>
108-
Defines whether this both sides of faces will be visible. Default is *false*.
109-
</div>
110-
106+
<h3>.[page:Enum side]</h3>
111107
<div>
112-
The normals in each face will be used in order to determine which side is visible; positive normals are the front face and thus visible, whereas negative normals correspond to the back faces and are normally not rendered, which can cause a 'disappearing' effect if an object is rotated and its backfaces are looking at the camera.
108+
Defines which of the face sides will be rendered - front, back or both.
113109
</div>
114-
115-
<h3>.[page:Boolean flipSided]</h3>
116110
<div>
117-
Defines if the object's faces are flipsided. If enabled, faces with negative normals will be visible (which is the opposite of the default behaviour). Default is *false*.
111+
Default is *THREE.FrontSide*. Other options are *THREE.BackSide* and *THREE.DoubleSide*.
118112
</div>
119113

120114
<h3>.[page:Boolean needsUpdate]</h3>

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484

8585
<script src="list.js"></script>
8686
<script>
87-
var REVISION = '49';
87+
var REVISION = '50';
8888

8989
var panel = document.getElementById( 'panel' );
9090
var viewer = document.getElementById( 'viewer' );

0 commit comments

Comments
 (0)