Class: traceLine

Player~Player.traceLine(options)

new traceLine(options)

trace line of moving of the point during playing
Parameters:
Name Type Description
options object the following options are available
Properties
Name Type Description
player object See Player.
Source:

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.
Source:

isVisible()

Is trace line visible?
Source:
Returns:
true - trace line is visible.

false - trace line is not visible.

remove()

Remove trace line.
Source:

visible(visible)

Show or hide trace line.
Parameters:
Name Type Description
visible boolean true - show trace line.

false - hide trace line.

Source: