Builder

THREE.LineBasicMaterialParameters.Builder

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def build(): Object

Converts the builder to a JavaScript object.

Converts the builder to a JavaScript object.

Attributes

def setColor(color: Color | String | Int): Builder

Sets the color of the line.

Sets the color of the line.

Attributes

def setFog(fog: Boolean): Builder

Whether the material is affected by fog.

Whether the material is affected by fog.

Attributes

def setLinecap(linecap: String): Builder

Define appearance of line ends. Default is 'butt'. Available values are 'butt', 'round' and 'square'.

Define appearance of line ends. Default is 'butt'. Available values are 'butt', 'round' and 'square'.

Attributes

def setLinejoin(linejoin: String): Builder

Define appearance of line joints. Default is 'round'. Available values are 'round', 'bevel' and 'miter'.

Define appearance of line joints. Default is 'round'. Available values are 'round', 'bevel' and 'miter'.

Attributes

def setLinewidth(linewidth: Double): Builder

Sets the line width. Default is 1. Due to limitations of the OpenGL Core Profile with the WebGL renderer on most platforms, line width will always be 1 regardless of the set value.

Sets the line width. Default is 1. Due to limitations of the OpenGL Core Profile with the WebGL renderer on most platforms, line width will always be 1 regardless of the set value.

Attributes

Concrete fields

Implicits

Implicits

implicit def toJsObject: Object

Implicitly converts the builder to a JavaScript object.

Implicitly converts the builder to a JavaScript object.

Attributes