[page:Material] →
[name]
A material that maps the normal vectors to RGB colors.
Constructor
[name]([page:Object parameters])
parameters is an object with one or more properties defining the material's appearance.
wireframe -- Render geometry as wireframe. Default is false (i.e. render as smooth shaded).
wireframeLinewidth -- Controls wireframe thickness. Default is 1.
morphTargets -- Define whether the material uses morphTargets. Default is false.
Properties
[property:boolean wireframe]
Render geometry as wireframe. Default is false (i.e. render as smooth shaded).
[property:number wireframeLinewidth]
Controls wireframe thickness. Default is 1.
Due to limitations in the ANGLE layer, on Windows platforms linewidth will always be 1 regardless of the set value.
[property:boolean morphTargets]
Define whether the material uses morphTargets. Default is false.
Methods
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]