Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


motionVectors

Specifies whether this renderer has a per-object motion vector pass.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
Deprecated. Use motionVectorGenerationMode instead.
public bool motionVectors { get; set; }

Remarks

If set to true, this object will have a per-object motion vector pass rendererd (in addition to the default camera reconstruction motion vectors). 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.