Interface: TubeMesh
Defined in: packages/sdvplot/src/three/tube.ts:84
A tube mesh, ready for a three.js BufferGeometry (world units).
Properties
color
color:
string
Defined in: packages/sdvplot/src/three/tube.ts:92
The tube's colour, #rrggbb (sRGB, as a three.js Color takes it).
indices
indices:
Uint32Array
Defined in: packages/sdvplot/src/three/tube.ts:90
Three vertex indices per triangle, counter-clockwise seen from outside the tube.
length
length:
number
Defined in: packages/sdvplot/src/three/tube.ts:95
The path's length, world units.
normals
normals:
Float32Array
Defined in: packages/sdvplot/src/three/tube.ts:88
The outward unit normal of each vertex.
positions
positions:
Float32Array
Defined in: packages/sdvplot/src/three/tube.ts:86
x, y, z per vertex: radialSegments vertices round each point of the path, ring after ring.
radius
radius:
number
Defined in: packages/sdvplot/src/three/tube.ts:93