new traceLine(options)
trace line of moving of the point during playing
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
object | the following options are available
Properties
|
Methods
addPoint(index)
add point into trace line.
Parameters:
Name | Type | Description |
---|---|---|
mesh. |
THREE.Mesh | See Mech for tracing. |
index |
number | of the point for tracing. |
color. |
THREE.Color | Line color. See Color. |
isVisible()
Is trace line visible?
Returns:
true - trace line is visible.
false - trace line is not visible.
remove()
Remove trace line.
visible(visible)
Show or hide trace line.
Parameters:
Name | Type | Description |
---|---|---|
visible |
boolean | true - show trace line.
false - hide trace line. |