Function CPUParticles2D.setDirection

void setDirection (
  const(Vector2) direction
) nothrow @nogc;