disableMotionBlur
Disable the motion blur for all virtual content.
Declaration
static let disableMotionBlur: ARView.RenderOptionsMentioned in
Discussion
A video stream consists of a sequence of images. Each image in the sequence represents a short, but non-zero period of time. Fast-moving, real-world objects captured within a frame can experience a visual smearing, known as motion blur.
By default, virtual objects that appear in the scene don’t experience motion blur. Instead, they exist at exactly one point in the frame for any given image in the image sequence. RealityKit offers an effect that introduces motion blur for virtual objects, taking into account the relative motion of the camera and the object.
Because of its computational cost, motion blur is off by default on all but the latest hardware. To enable or disable the effect, you add or remove the disableMotionBlur option to or from the renderOptions set, respectively. If you do enable motion blur, be sure to measure your app’s CPU and GPU utilization to find out how it affects your app’s performance, as described in Improving the Performance of a RealityKit App.