Skip to content

Commit 7d2c0ff

Browse files
committed
added references to base material class in docu
1 parent 4c3404e commit 7d2c0ff

11 files changed

+33
-30
lines changed

docs/api/materials/LineBasicMaterial.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ <h3>[name]( [page:Object parameters] )</h3>
3131
</div>
3232

3333
<h2>Properties</h2>
34+
<div>See the base [page:Material] class for common properties.</div>
3435

3536
<h3>[property:Integer color]</h3>
3637
<div>Sets the color of the line. Default is 0xffffff.</div>
@@ -55,7 +56,7 @@ <h3>[property:Boolean fog]</h3>
5556
<div>Define whether the material color is affected by global fog settings.</div>
5657
<div>This setting might not have any effect when used with certain renderers. For example, it is ignored with the [page:CanvasRenderer Canvas] renderer, but does work with the [page:WebGLRenderer WebGL] renderer.</div>
5758

58-
59+
5960
<h2>Source</h2>
6061

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

docs/api/materials/LineDashedMaterial.html

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,12 @@ <h3>[name]([page:Object parameters])</h3>
3232

3333

3434
<h2>Properties</h2>
35-
36-
35+
<div>See the base [page:Material] class for common properties.</div>
3736

3837
<h3>[property:Color color]</h3>
3938
<div>
4039
Sets the color of the line. Default is 0xffffff.
41-
</div>
40+
</div>
4241

4342
<h3>[property:number linewidth]</h3>
4443
<div>Controls line thickness. Default is 1.</div>
@@ -47,17 +46,17 @@ <h3>[property:number linewidth]</h3>
4746
<h3>[property:number scale]</h3>
4847
<div>
4948
The scale of the dashed part of a line.
50-
</div>
49+
</div>
5150

5251
<h3>[property:number dashSize]</h3>
5352
<div>
5453
The size of the dash. This is both the gap with the stroke. Default is 3.
55-
</div>
54+
</div>
5655

5756
<h3>[property:number gapSize]</h3>
5857
<div>
5958
The size of the gap. Default is 1.
60-
</div>
59+
</div>
6160

6261
<h3>[property:boolean vertexColors]</h3>
6362
<div>Define how the vertices gets colored. Possible values are THREE.NoColors, THREE.FaceColors and THREE.VertexColors. Default is THREE.NoColors.</div>

docs/api/materials/MeshBasicMaterial.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ <h3>[name]( [page:Object parameters] )</h3>
4646
</div>
4747

4848
<h2>Properties</h2>
49+
<div>See the base [page:Material] class for common properties.</div>
4950

5051
<h3>[property:Integer color]</h3>
5152
<div>Sets the color of the geometry. Default is 0xffffff.</div>

docs/api/materials/MeshDepthMaterial.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
<h1>[name]</h1>
1414

1515
<div class="desc">A material for drawing geometry by depth. Depth is based off of the camera near and far plane. White is nearest, black is farthest.</div>
16-
16+
1717
<iframe src='scenes/material-browser.html#MeshDepthMaterial'></iframe>
1818

1919
<h2>Constructor</h2>
2020

2121

2222
<h3>[name]([page:Object parameters])</h3>
2323
<div>
24-
parameters is an object with one or more properties defining the material's appearance.
24+
parameters is an object with one or more properties defining the material's appearance.
2525
</div>
2626
<div>
2727
morphTargets -- Define whether the material uses morphTargets. Default is false.<br/>
@@ -31,20 +31,20 @@ <h3>[name]([page:Object parameters])</h3>
3131

3232

3333
<h2>Properties</h2>
34-
34+
<div>See the base [page:Material] class for common properties.</div>
3535

3636
<h3>[property:boolean morphTargets]</h3>
37-
<div>Define whether the material uses morphTargets. Default is false.</div>
37+
<div>Define whether the material uses morphTargets. Default is false.</div>
3838

3939
<h3>[property:boolean wireframe]</h3>
40-
<div>Render geometry as wireframe. Default is false (i.e. render as smooth shaded).</div>
41-
40+
<div>Render geometry as wireframe. Default is false (i.e. render as smooth shaded).</div>
41+
4242
<h3>[property:number wireframeLinewidth]</h3>
4343
<div>
4444
Controls wireframe thickness. Default is 1.<br/><br/>
4545
Due to limitations in the ANGLE layer, on Windows platforms linewidth will always be 1 regardless of the set value.
46-
</div>
47-
46+
</div>
47+
4848
<h2>Methods</h2>
4949

5050

docs/api/materials/MeshLambertMaterial.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ <h3>[name]([page:Object parameters])</h3>
5252

5353

5454
<h2>Properties</h2>
55-
<div>See the base [page:Material] class for common parameters.</div>
55+
<div>See the base [page:Material] class for common properties.</div>
5656

5757
<h3>[property:Color color]</h3>
5858
<div>

docs/api/materials/MeshNormalMaterial.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ <h3>[name]([page:Object parameters])</h3>
3232

3333

3434
<h2>Properties</h2>
35-
35+
<div>See the base [page:Material] class for common properties.</div>
3636

3737
<h3>[property:boolean wireframe]</h3>
3838
<div>

docs/api/materials/MeshPhongMaterial.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ <h3>[name]([page:Object parameters])</h3>
6767

6868

6969
<h2>Properties</h2>
70-
<div>See the base [page:Material] class for common parameters.</div>
70+
<div>See the base [page:Material] class for common properties.</div>
7171

7272
<h3>[property:Color color]</h3>
7373
<div>

docs/api/materials/MeshStandardMaterial.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ <h3>[name]([page:Object parameters])</h3>
6767

6868

6969
<h2>Properties</h2>
70-
<div>See the base [page:Material] class for common parameters.</div>
70+
<div>See the base [page:Material] class for common properties.</div>
7171

7272
<h3>[property:Color color]</h3>
7373
<div>

docs/api/materials/PointsMaterial.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h2>Constructor</h2>
2020
<h3>[name]( [page:Object parameters] )</h3>
2121

2222
<div>parameters is an object with one or more properties defining the material's appearance.</div>
23-
23+
2424
<div>
2525
color — Particle color in hexadecimal. Default is 0xffffff.<br />
2626
map — a [page:Texture texture].If defined, then a point has the data from texture as colors. Default is null.<br />
@@ -31,27 +31,28 @@ <h3>[name]( [page:Object parameters] )</h3>
3131
</div>
3232

3333
<h2>Properties</h2>
34+
<div>See the base [page:Material] class for common properties.</div>
3435

3536
<h3>[property:Number color]</h3>
36-
37+
3738
<div>Sets the color of the particles. Default is 0xffffff.</div>
38-
39+
3940
<h3>[property:Texture map]</h3>
40-
41+
4142
<div>Sets the color of the particles using data from a texture.</div>
42-
43+
4344
<h3>[property:Number size]</h3>
44-
45+
4546
<div>Sets the size of the particles. Default is 1.0.</div>
4647

4748
<h3>[property:Boolean sizeAttenuation]</h3>
48-
49+
4950
<div>Specify whether particles' size will get smaller with the distance. Default is true.</div>
5051

5152
<h3>[property:Boolean vertexColors]</h3>
5253
<div>Define how the vertices gets colored. Possible values are THREE.NoColors, THREE.FaceColors and THREE.VertexColors. Default is THREE.NoColors.</div>
5354
<div>This setting might not have any effect when used with certain renderers. For example, it is ignored with the [page:CanvasRenderer Canvas] renderer, but does work with the [page:WebGLRenderer WebGL] renderer.</div>
54-
55+
5556
<h3>[property:Boolean fog]</h3>
5657
<div>Define whether the material color is affected by global fog settings.</div>
5758
<div>This setting might not have any effect when used with certain renderers. For example, it is ignored with the [page:CanvasRenderer Canvas] renderer, but does work with the [page:WebGLRenderer WebGL] renderer.</div>

docs/api/materials/ShaderMaterial.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ <h3>[name]([page:Object parameters])</h3>
211211
</div>
212212

213213
<h2>Properties</h2>
214+
<div>See the base [page:Material] class for common properties.</div>
214215

215216
<h3>[property:Object uniforms]</h3>
216217
<div>

0 commit comments

Comments
 (0)