Capítulo 67 de 859
A material for drawing geometries in a simple shaded (flat or wireframe) way.
This material is not affected by lights.
[0,1], where 0 disables ambient occlusion. Where intensity is 1 and the AO map's …Constructor
| Signature |
|---|
new MeshBasicMaterial( parameters : Object ) |
Properties
| Property | Description |
|---|---|
.alphaMap : Texture | The alpha map is a grayscale texture that controls the opacity across the surface (black: fully transparent; white: fully opaque). |
.aoMap : Texture | The red channel of this texture is used as the ambient occlusion map. Requires a second set of UVs. |
.aoMapIntensity : number | Intensity of the ambient occlusion effect. Range is [0,1], where 0 disables ambient occlusion. Where intensity is 1 and the AO map's red channel is also 1, ambient light is fully occluded on … |
.color : Color | Color of the material. |
| `.combine : MultiplyOperation | MixOperation |
.envMap : Texture | The environment map. |
.envMapRotation : Euler | The rotation of the environment map in radians. |
.fog : boolean | Whether the material is affected by fog or not. |
.isMeshBasicMaterial : boolean (readonly) | This flag can be used for type testing. |
.lightMap : Texture | The light map. Requires a second set of UVs. |
.lightMapIntensity : number | Intensity of the baked light. |
.map : Texture | The color map. May optionally include an alpha channel, typically combined with Material#transparent or Material#alphaTest. The texture map col… |
.reflectivity : number | How much the environment map affects the surface. The valid range is between 0 (no reflections) and 1 (full reflections). |
.refractionRatio : number | The index of refraction (IOR) of air (approximately 1) divided by the index of refraction of the material. It is used with environment mapping modes [CubeRefractionMapping](global.html#CubeRefraction… |
.specularMap : Texture | Specular map used by the material. |
.wireframe : boolean | Renders the geometry as a wireframe. |
| `.wireframeLinecap : 'round' | 'bevel' |
| `.wireframeLinejoin : 'round' | 'bevel' |
.wireframeLinewidth : number | Controls the thickness of the wireframe. |