Camera.shake

void shake(float strength, float duration) @safe nothrow @nogc

Starts a shake that fades out over the given duration. A weaker shake does not replace a stronger one that is still running.