setFromPoints method

dynamic setFromPoints(
  1. dynamic points
)

Implementation

setFromPoints(points) {
  vertices = [];

  for (var i = 0, l = points.length; i < l; i++) {
    var point = points[i];
    vertices.add(three.Vector3(point.x, point.y, point.z ?? 0));
  }

  return this;
}