Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.Close
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
Specifies the mode for motion vector rendering.
Motion vectors track the per-pixel object velocity from one frame to the next. Using this information you can apply specific Image Effects such as motion blur or temporal anti-aliasing.
MotionVectorGenerationMode.Camera: Use only camera movement to track motion. MotionVectorGenerationMode.Object: This object will have a per-object motion vector pass rendered. MotionVectorGenerationMode.ForceNoMotion: This object will have zero motion rendered.
See Also: DepthTextureMode.MotionVectors, SkinnedMeshRenderer.skinnedMotionVectors, PassType.MotionVectors, SystemInfo.supportsMotionVectors.
Did you find this page useful? Please give it a rating: