ArrowSpec

Arrow shape specification.

Extends

Members

callback :Func

function to call on click

Type:
  • Func
Inherited From

clickable :boolean

if true, user can click on object to trigger callback

Type:
  • boolean
Inherited From

color :ColorSpec

color

contextMenuEnabled :boolean

if true, user can right-click or long press to trigger callback

Type:
  • boolean

dir :XYZ

direction to extend from start (instead of specifying end)

Type:

end :XYZ

ending position

Type:

frame :number

if set, only display in this frame of an animation

Type:
  • number
Inherited From

hidden :boolean

hidden

Type:
  • boolean

hover_callback :Func

hover callback

Type:
  • Func

hoverable :boolean

if true, user can hover on object to trigger callback

Type:
  • boolean
Inherited From

length :number

length to extend in dir direction from start (instead of specifying end)

Type:
  • number

linewidth :number

width of line for wireframe rendering No longer supported by most browsers

Type:
  • number
Inherited From

mid :number

relative position of arrow base (0.618034 default)

Type:
  • number

midpos :number

position of arrow base in length units, if negative positioned from end instead of start. Overrides mid.

Type:
  • number

opacity :number

transparency, between 0 (invisible) and 1 (opaque)

Type:
  • number
Inherited From

radius :number

radius (default 0.1A)

Type:
  • number

radiusRatio :number

ratio of arrow base to cylinder (1.618034 default)

Type:
  • number

start :XYZ

starting position

Type:

unhover_callback :Func

unhover callback

Type:
  • Func

wireframe :boolean

draw as wireframe, not surface

Type:
  • boolean
Inherited From