LineMaterial

THREE.LineMaterial
class LineMaterial(parameters: UndefOr[Dynamic]) extends Material

A material for drawing line segments with custom width.

Attributes

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): 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(): Material.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 color: Color

The color of the line. Default is white (0xffffff).

The color of the line. Default is white (0xffffff).

Attributes

var flatShading: Boolean

Defines whether the material is rendered with flat shading. Default is false.

Defines whether the material is rendered with flat shading. Default is false.

Attributes

var fog: Boolean

Whether fog is applied to the line. Default is false.

Whether fog is applied to the line. Default is false.

Attributes

val isLineMaterial: Boolean

This flag can be used for type testing.

This flag can be used for type testing.

Attributes

var linecap: String

Define appearance of line ends. Default is 'round'. Other options are 'butt' and 'square'.

Define appearance of line ends. Default is 'round'. Other options are 'butt' and 'square'.

Attributes

var linejoin: String

Define appearance of line joints. Default is 'round'. Other options are 'butt' and 'bevel'.

Define appearance of line joints. Default is 'round'. Other options are 'butt' and 'bevel'.

Attributes

var linewidth: Double

Line thickness. Default is 1.

Line thickness. Default is 1.

Attributes

The current resolution of the renderer.

The current resolution of the renderer.

Attributes

var uniforms: Dynamic

The uniforms of the material.

The uniforms of the material.

Attributes

var worldUnits: Boolean

Whether the line width is defined in world units or pixels. Default is false (pixels).

Whether the line width is defined in world units or pixels. Default is false (pixels).

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