MeshMatcapMaterial

THREE.MeshMatcapMaterial
See theMeshMatcapMaterial companion object
class MeshMatcapMaterial(parameters: UndefOr[Object]) extends Material

A material for rendering objects using matcap (material capture) textures.

Matcap materials use pre-rendered sphere textures that capture how a material should appear under different lighting conditions and viewing angles. This technique is commonly used for clay-like materials, metals, and stylized rendering.

Attributes

Companion
object
Graph
Supertypes
class Material
class Object
trait Any
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def copy(material: Material): this.type

Attributes

Inherited from:
Material
def customProgramCacheKey(): String

Attributes

Inherited from:
Material
def dispose(): Unit

Attributes

Inherited from:
Material
def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def jsClone(): this.type

Attributes

Inherited from:
Material
def onBeforeCompile(shader: Object): Unit

Attributes

Inherited from:
Material
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def setValues(values: Object): Unit

Attributes

Inherited from:
Material
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object

Concrete fields

var alphaMap: UndefOr[Object]

The alpha map.

The alpha map.

Attributes

var bumpMap: UndefOr[Object]

The bump map.

The bump map.

Attributes

var bumpScale: Double

How much the bump map affects the material.

How much the bump map affects the material.

Attributes

var color: Color

Color of the material.

Color of the material.

Attributes

var displacementBias: Double

The offset of the displacement map's values.

The offset of the displacement map's values.

Attributes

var displacementMap: UndefOr[Object]

The displacement map.

The displacement map.

Attributes

var displacementScale: Double

How much the displacement map affects the mesh.

How much the displacement map affects the mesh.

Attributes

var flatShading: Boolean

Whether the material is rendered with flat shading.

Whether the material is rendered with flat shading.

Attributes

var fog: Boolean

Whether the material is affected by fog.

Whether the material is affected by fog.

Attributes

val isMeshMatcapMaterial: Boolean

This flag can be used for type testing.

This flag can be used for type testing.

Attributes

var matcap: UndefOr[Object]

The matcap texture map.

The matcap texture map.

Attributes

var normalMap: UndefOr[Object]

The normal map.

The normal map.

Attributes

var normalMapType: Int

The type of normal map.

The type of normal map.

Attributes

How much the normal map affects the material.

How much the normal map affects the material.

Attributes

var wireframe: Boolean

Whether to render as wireframe.

Whether to render as wireframe.

Attributes

var wireframeLinecap: String

Defines appearance of wireframe ends.

Defines appearance of wireframe ends.

Attributes

var wireframeLinejoin: String

Defines appearance of wireframe joints.

Defines appearance of wireframe joints.

Attributes

var wireframeLinewidth: Double

Controls wireframe thickness.

Controls wireframe thickness.

Attributes

Inherited fields

val `type`: String

Attributes

Inherited from:
Material
var alphaTest: Double

Attributes

Inherited from:
Material
var alphaToCoverage: Boolean

Attributes

Inherited from:
Material
var blending: Int

Attributes

Inherited from:
Material
var depthTest: Boolean

Attributes

Inherited from:
Material
var depthWrite: Boolean

Attributes

Inherited from:
Material
val id: Int

Attributes

Inherited from:
Material
var name: String

Attributes

Inherited from:
Material
var opacity: Double

Attributes

Inherited from:
Material
var polygonOffset: Boolean

Attributes

Inherited from:
Material
var polygonOffsetFactor: Double

Attributes

Inherited from:
Material
var polygonOffsetUnits: Double

Attributes

Inherited from:
Material
var precision: UndefOr[String]

Attributes

Inherited from:
Material
var premultipliedAlpha: Boolean

Attributes

Inherited from:
Material
var side: Int

Attributes

Inherited from:
Material
var stencilWrite: Boolean

Attributes

Inherited from:
Material
var toneMapped: Boolean

Attributes

Inherited from:
Material
var transparent: Boolean

Attributes

Inherited from:
Material
var userData: Object

Attributes

Inherited from:
Material
val uuid: String

Attributes

Inherited from:
Material
var version: Int

Attributes

Inherited from:
Material
var vertexColors: Boolean

Attributes

Inherited from:
Material
var visible: Boolean

Attributes

Inherited from:
Material