CylinderSpec

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

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

Type:
Inherited From

contextMenuEnabled :boolean

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

Type:
  • boolean

dashLength :number

Length of dashes (default 0.25)

Type:
  • number

dashed :boolean

Make the cylinder dashed.

Type:
  • boolean

end :XYZ

ending position

Type:

frame :number

if set, only display in this frame of an animation

Type:
  • number
Inherited From

fromCap :CAP|string

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

Type:

gapLength :number

Length of gaps (default 0.25)

Type:
  • number

hidden :boolean

if true, do not display object

Type:
  • boolean
Inherited From

hover_callback :Func

hover callback

Type:
  • Func

hoverable :boolean

if true, user can hover on object to trigger callback

Type:
  • boolean
Inherited From

linewidth :number

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

Type:
  • number
Inherited From

opacity :number

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

Type:
  • number
Inherited From

radius :number

radius

Type:
  • number

start :XYZ

starting vector

Type:

toCap :CAP|string

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

Type:

unhover_callback :Func

unhover callback

Type:
  • Func

wireframe :boolean

draw as wireframe, not surface

Type:
  • boolean
Inherited From