Skip to content

Threepp.MeshBasicMaterial

Basic material

The simplest material; it is not affected by lighting.

Members

Constructors

Properties

Methods


MeshBasicMaterial

Constructor

Description

Constructor


type

Property \ Access: r/w

Description

"MeshBasicMaterial" (read-only)


color

Property \ Access: r/w

Description

Color (0xRRGGBB)


wireframe

Property \ Access: r/w

Description

Renders as wireframe


wireframeLinewidth

Property \ Access: r/w

Description

Wireframe line width


setMap

Method

Arguments

Arguments Default Description
texture  

Description

Sets the color texture (e.g. the return value of textureFromLayer())