|
@@ -12,7 +12,7 @@
|
|
<h1>[name]</h1>
|
|
<h1>[name]</h1>
|
|
|
|
|
|
<div class="desc">A material that maps the normal vectors to RGB colors.</div>
|
|
<div class="desc">A material that maps the normal vectors to RGB colors.</div>
|
|
-
|
|
|
|
|
|
+
|
|
<iframe src='../../scenes/material-browser.html#MeshNormalMaterial'></iframe>
|
|
<iframe src='../../scenes/material-browser.html#MeshNormalMaterial'></iframe>
|
|
|
|
|
|
|
|
|
|
@@ -21,10 +21,9 @@
|
|
|
|
|
|
<h3>[name]([page:Object parameters])</h3>
|
|
<h3>[name]([page:Object parameters])</h3>
|
|
<div>
|
|
<div>
|
|
- parameters is an object with one or more properties defining the material's appearance.
|
|
|
|
|
|
+ parameters is an object with one or more properties defining the material's appearance.
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
- shading -- How the triangles of a curved surface are rendered. Default is [page:Materials THREE.FlatShading].<br/>
|
|
|
|
wireframe -- Render geometry as wireframe. Default is false (i.e. render as smooth shaded).<br/>
|
|
wireframe -- Render geometry as wireframe. Default is false (i.e. render as smooth shaded).<br/>
|
|
wireframeLinewidth -- Controls wireframe thickness. Default is 1.<br/>
|
|
wireframeLinewidth -- Controls wireframe thickness. Default is 1.<br/>
|
|
morphTargets -- Define whether the material uses morphTargets. Default is false.<br/>
|
|
morphTargets -- Define whether the material uses morphTargets. Default is false.<br/>
|
|
@@ -34,25 +33,19 @@
|
|
<h2>Properties</h2>
|
|
<h2>Properties</h2>
|
|
|
|
|
|
|
|
|
|
- <h3>[property:number shading]</h3>
|
|
|
|
|
|
+ <h3>[property:boolean wireframe]</h3>
|
|
<div>
|
|
<div>
|
|
- How the triangles of a curved surface are rendered: as a smooth surface, as flat separate facets, or no shading at all.<br/><br/>
|
|
|
|
- Options are [page:Materials THREE.SmoothShading], [page:Materials THREE.FlatShading](default)
|
|
|
|
|
|
+ Render geometry as wireframe. Default is false (i.e. render as smooth shaded).
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <h3>[property:boolean wireframe]</h3>
|
|
|
|
- <div>
|
|
|
|
- Render geometry as wireframe. Default is false (i.e. render as smooth shaded).
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
<h3>[property:number wireframeLinewidth]</h3>
|
|
<h3>[property:number wireframeLinewidth]</h3>
|
|
<div>
|
|
<div>
|
|
Controls wireframe thickness. Default is 1.<br/><br/>
|
|
Controls wireframe thickness. Default is 1.<br/><br/>
|
|
Due to limitations in the ANGLE layer, on Windows platforms linewidth will always be 1 regardless of the set value.
|
|
Due to limitations in the ANGLE layer, on Windows platforms linewidth will always be 1 regardless of the set value.
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
|
|
|
|
<h3>[property:boolean morphTargets]</h3>
|
|
<h3>[property:boolean morphTargets]</h3>
|
|
- <div>Define whether the material uses morphTargets. Default is false.</div>
|
|
|
|
|
|
+ <div>Define whether the material uses morphTargets. Default is false.</div>
|
|
|
|
|
|
<h2>Methods</h2>
|
|
<h2>Methods</h2>
|
|
|
|
|