setColor method

void setColor(
  1. Color color
)

Implementation

void setColor(Color color) {
  line.material?.color?.set(color);
  cone.material?.color?.set(color);
}