# motionVectorGenerationMode

> Specifies the mode for motion vector rendering.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public MotionVectorGenerationMode motionVectorGenerationMode { get; set; }
```

### Remarks

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](/engine/6000.0/script-reference/unityengine/motionvectorgenerationmode/camera.md): Use only camera movement to track motion. [MotionVectorGenerationMode.Object](/engine/6000.0/script-reference/unityengine/motionvectorgenerationmode/object.md): This object will have a per-object motion vector pass rendered. [MotionVectorGenerationMode.ForceNoMotion](/engine/6000.0/script-reference/unityengine/motionvectorgenerationmode/forcenomotion.md): This object will have zero motion rendered.

Additional Resources: [DepthTextureMode.MotionVectors](/engine/6000.0/script-reference/unityengine/depthtexturemode/motionvectors.md), [SkinnedMeshRenderer.skinnedMotionVectors](/engine/6000.0/script-reference/unityengine/skinnedmeshrenderer/skinnedmotionvectors.md), [PassType.MotionVectors](/engine/6000.0/script-reference/unityengine/rendering/passtype/motionvectors.md), [SystemInfo.supportsMotionVectors](/engine/6000.0/script-reference/unityengine/systeminfo/supportsmotionvectors.md).
