setStartEnd method

Line3 setStartEnd(
  1. Vector3 start,
  2. Vector3 end
)

start - set the page:.start start point of the line.

end - set the page:.end end point of the line.

Sets the start and end values by copying the provided vectors.

Implementation

Line3 setStartEnd(Vector3 start, Vector3 end) {
  this.start.setFrom(start);
  this.end.setFrom(end);

  return this;
}