new Arrow(options)
A Arrow is a THREE object that can be used to display an arrow model.
Parameters:
Name | Type | Description |
---|---|---|
options |
object with following keys:
|
- Source:
Methods
setColor(hex)
Set the color of this arrow to the given hex value.
Parameters:
Name | Type | Description |
---|---|---|
hex |
the hex value of the color to use |
- Source:
setDirection(direction)
Set the direction of this arrow to that of the given vector.
Parameters:
Name | Type | Description |
---|---|---|
direction |
the direction to set this arrow |
- Source:
setLength(length)
Set this arrow to be the given length.
Parameters:
Name | Type | Description |
---|---|---|
length |
the new length of the arrow |
- Source: