RenderEngine.frame_set for viewport renders

It seems like calling RenderEngine.frame_set() to set the frame for motion blur purposes doesn’t work if Blender is doing viewport renders, for our custom render engine.

Is there a way to advance the frame so we can get things like deformation information? I noticed that Cycles doesn’t seem to do motion blur for viewport renders, so I don’t know if this is simply a limitation.

Ian