createCylinderMeshDataFromArc
-
Util.createCylinderMeshDataFromArc() Creates a cylinder that is deformed by an arc. An example of the resulting geometry can be observed in the Handles implementation.
Parameters
arc: number[]
an array of numbers describing points on an arc that will be used to deform the cylinderaxisDirection:
Point3cylinder axis.numSegments: number
the number of segments to use when constructing the cylinder. A higher number will give a smoother appearance but consume more memory.scale: number
a scaling factor to apply to the geometry.Returns:
MeshData