Line shape specification. Default to wireframe.
- Source
Extends
Members
callback :Func
function to call on click
Type:
- Func
- Inherited From
- Source
clickable :boolean
if true, user can click on object to trigger callback
Type:
- boolean
- Inherited From
- Source
color :ColorSpec|Array
Either a single color for the whole object or an array specifying the color at each vertex (CustomShapeSpec
).
Type:
- ColorSpec |
Array
- Inherited From
- Source
contextMenuEnabled :boolean
if true, user can right-click or long press to trigger callback
Type:
- boolean
- Inherited From
- Source
dashed :boolean
make dashed
Type:
- boolean
- Source
end :XYZ
Ending position
Type:
- Source
frame :number
if set, only display in this frame of an animation
Type:
- number
- Inherited From
- Source
hidden :boolean
if true, do not display object
Type:
- boolean
- Inherited From
- Source
hover_callback :Func
hover callback
Type:
- Func
- Inherited From
- Source
hoverable :boolean
if true, user can hover on object to trigger callback
Type:
- boolean
- Inherited From
- Source
linewidth :number
width of line for wireframe rendering No longer supported by most browsers
Type:
- number
- Inherited From
- Source
opacity :number
transparency, between 0 (invisible) and 1 (opaque)
Type:
- number
- Inherited From
- Source
start :XYZ
Starting position
Type:
- Source
unhover_callback :Func
unhover callback
Type:
- Func
- Inherited From
- Source
wireframe :boolean
draw as wireframe, not surface
Type:
- boolean
- Inherited From
- Source