void setWith({required Vector2 origin, required Vector2 direction}) { this.origin.setFrom(origin); this.direction = direction; }