Interface

CylinderSpec

CylinderSpec

Cylinder shape specification.

View Source GLShape.ts, line 1723

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 | Array

# color Optional

Either a single color for the whole object or an array specifying the color at each vertex (CustomShapeSpec).

Inherited From:

View Source GLShape.ts, line 1565

number

# dashLength Optional

Length of dashes (default 0.25)

View Source GLShape.ts, line 1759

boolean

# dashed Optional

Make the cylinder dashed.

View Source GLShape.ts, line 1754

XYZ

# end Optional

ending position

View Source GLShape.ts, line 1734

number

# frame Optional

if set, only display in this frame of an animation

Inherited From:

View Source GLShape.ts, line 1615

CAP

# fromCap Optional

Place a cap at the start (none, flat or round)

View Source GLShape.ts, line 1744

number

# gapLength Optional

Length of gaps (default 0.25)

View Source GLShape.ts, line 1764

boolean

# hidden Optional

if true, do not display object

Inherited From:

View Source GLShape.ts, line 1580

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

# linewidth Optional

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

Inherited From:

View Source GLShape.ts, line 1585

number

# opacity Optional

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

Inherited From:

View Source GLShape.ts, line 1570

number

# radius Optional

radius

View Source GLShape.ts, line 1739

XYZ

# start Optional

starting vector

View Source GLShape.ts, line 1729

CAP

# toCap Optional

Place a cap at the end (none, flat or round)

View Source GLShape.ts, line 1749

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