Interface

ArrowSpec

ArrowSpec

Arrow shape specification.

View Source GLShape.ts, line 1667

Extends

Members

Func

# callback Optional

function to call on click

Inherited From:

View Source GLShape.ts, line 1595

boolean

# clickable Optional

if true, user can click on object to trigger callback

Inherited From:

View Source GLShape.ts, line 1590

ColorSpec

# color Optional

color

Overrides:

View Source GLShape.ts, line 1697

XYZ

# dir Optional

direction to extend from start (instead of specifying end)

View Source GLShape.ts, line 1682

XYZ

# end Optional

ending position

View Source GLShape.ts, line 1677

number

# frame Optional

if set, only display in this frame of an animation

Inherited From:

View Source GLShape.ts, line 1615

boolean

# hidden Optional

hidden

Overrides:

View Source GLShape.ts, line 1702

Func

# hover_callback Optional

hover callback

Inherited From:

View Source GLShape.ts, line 1605

boolean

# hoverable Optional

if true, user can hover on object to trigger callback

Inherited From:

View Source GLShape.ts, line 1600

number

# length Optional

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

View Source GLShape.ts, line 1687

number

# linewidth Optional

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

Inherited From:

View Source GLShape.ts, line 1585

number

# mid Optional

relative position of arrow base (0.618034 default)

View Source GLShape.ts, line 1712

number

# midpos Optional

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

View Source GLShape.ts, line 1717

number

# opacity Optional

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

Inherited From:

View Source GLShape.ts, line 1570

number

# radius Optional

radius (default 0.1A)

View Source GLShape.ts, line 1692

number

# radiusRatio Optional

ratio of arrow base to cylinder (1.618034 default)

View Source GLShape.ts, line 1707

XYZ

# start Optional

starting position

View Source GLShape.ts, line 1672

Func

# unhover_callback Optional

unhover callback

Inherited From:

View Source GLShape.ts, line 1610

boolean

# wireframe Optional

draw as wireframe, not surface

Inherited From:

View Source GLShape.ts, line 1575