Skip to content

Threepp.ArrowHelper

Arrow helper

Displays an arrow that visualizes a direction.

Members

Constructors

Methods


ArrowHelper

Constructor

Arguments

Arguments Default Description
dir [0,0,1] Direction vector [x, y, z].
origin [0,0,0] Origin point [x, y, z].
length 1 Length.
color 0xffff00 Color (0xRRGGBB).

Description

Constructor


setDirection

Method

Arguments

Arguments Default Description
dir  

Description

Sets the direction


setLength

Method

Arguments

Arguments Default Description
length  
headLength void
headWidth void

Description

Sets the length


setColor

Method

Arguments

Arguments Default Description
color  

Description

Sets the color