[page:Material] →
[name]
A material that maps the normal vectors to RGB colors.
Constructor
[name]( [param:Object parameters] )
[page:Object parameters] - (optional) an object with one or more properties defining the material's appearance.
Any property of the material (including any property inherited from [page:Material]) can be passed in here.
Properties
See the base [page:Material] class for common properties.
[property:Boolean fog]
Whether the material is affected by fog. Default is *false*.
[property:Boolean isMeshNormalMaterial]
Used to check whether this or derived classes are mesh normal materials. Default is *true*.
You should not change this, as it used internally for optimisation.
[property:Boolean lights]
Whether the material is affected by lights. Default is *false*.
[property:boolean morphTargets]
Define whether the material uses morphTargets. Default is false.
[property:boolean wireframe]
Render geometry as wireframe. Default is false (i.e. render as smooth shaded).
[property:Float wireframeLinewidth]
Controls wireframe thickness. Default is 1.
Due to limitations in the [link:https://code.google.com/p/angleproject ANGLE layer],
on Windows platforms linewidth will always be 1 regardless of the set value.
Methods
See the base [page:Material] class for common methods.
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]