setX method

void setX(
  1. double x, {
  2. Vector3? direction,
})

Implementation

void setX(double x, {Vector3? direction}) {
  setCoord(x, 0, direction: direction);
}