Builder

THREE.PointsMaterialParameters.Builder
final class Builder(val params: Dynamic) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
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 setAlphaMap(alphaMap: Texture): Builder

Sets the alpha map of the points.

Sets the alpha map of the points.

Attributes

def setColor(color: Int): Builder

Sets the color of the points.

Sets the color of the points.

Attributes

def setColor(color: Color): Builder

Sets the color of the points using a Color object.

Sets the color of the points using a Color object.

Attributes

def setMap(map: Texture): Builder

Sets the color map of the points.

Sets the color map of the points.

Attributes

def setSize(size: Double): Builder

Sets the size of the points in pixels.

Sets the size of the points in pixels.

Attributes

def setSizeAttenuation(sizeAttenuation: Boolean): Builder

Sets whether the size is attenuated by the camera depth.

Sets whether the size is attenuated by the camera depth.

Attributes

Concrete fields

val params: Dynamic

Implicits

Implicits

implicit def toJsObject: Object

Implicitly converts the builder to a JavaScript object.

Implicitly converts the builder to a JavaScript object.

Attributes