Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

lineBasicMaterial

Firtina Ozbalikci edited this page Mar 11, 2016 · 16 revisions

Wiki » Internal Components » Materials » lineBasicMaterial

lineBasicMaterial

Creates a THREE.LineBasicMaterial

Attributes

slot

string: This decides which property of the mesh the material should be assigned to.

Defaults to material. Other example values:

  • customDepthMaterial
  • customDistanceMaterial
  • and so on

transparent

bool

alphaTest

number

side

one of [THREE.FrontSide, THREE.BackSide, THREE.DoubleSide]

opacity

number

visible

bool

color

one of types [THREE.Color, number, string]

linewidth

number

linecap

one of [round]

linejoin

one of [round]

vertexColors

one of [THREE.NoColors, THREE.FaceColors, THREE.VertexColors]

fog

bool

resourceId

string: The resource id of this object, only used if it is placed into resources.

This component can be added into <resources/>! See Resource Types for more information.

===

View Source
Clone this wiki locally