new LineScene(points, color, divisionsopt)
- Source:
Properties:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
points |
Array | [THREE.Vector3] path points | ||
length |
number | path length | ||
color |
THREE.Color | line init color | ||
divisions |
number |
<optional> |
1
|
default segments |
geometry |
THREE.geometry | geometry | ||
material |
THREE.material | material | ||
mesh |
THREE.mesh | mesh object |
Creates an instance of LineScene.
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
points |
Array | [THREE.Vector3] Path, Array of Vector3 | ||
color |
THREE.Color | The color of new line, THREE.Color() | ||
divisions |
number |
<optional> |
1
|
default segments |