-
Notifications
You must be signed in to change notification settings - Fork 155
lineBasicMaterial
Wiki » Internal Components » Materials » lineBasicMaterial
Creates a THREE.LineBasicMaterial
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
Default: 'material'
bool
number
Default: 0
one of [THREE.FrontSide, THREE.BackSide, THREE.DoubleSide]
Default: THREE.FrontSide
number
bool
Default: true
one of types [THREE.Color, number, string]
Default: 0xffffff
number
Default: 1
one of [round]
Default: 'round'
one of [round]
Default: 'round'
one of [THREE.NoColors, THREE.FaceColors, THREE.VertexColors]
Default: THREE.NoColors
bool
Default: true
string
: The resource id of this object, only used if it is placed into resources.
Default: ''
If you would like to set a texture as a map for this material, you can do this by declaring the texture within:
<...material>
<texture url={...} .../>
</...material>
This component can be added into <resources/>! See Resource Types for more information.
===
View Source |
---|
Home | Usage | API Reference | Examples