Version: 2022.2
언어: 한국어
public MotionVectorGenerationMode motionMode ;

설명

Specifies how to generate motion vectors in this draw range.

This corresponds to Renderer.motionVectorGenerationMode. If you set this to MotionVectorGenerationMode.Camera, Unity doesn't render the draw commands in per-object motion vector passes, regardless of each draw command's BatchDrawCommand.flags. If you set this to MotionVectorGenerationMode.Object, Unity renders the draw commands in per-object motion vector passes if the draw command has BatchDrawCommandFlags.HasMotion set. If you set this to MotionVectorGenerationMode.ForceNoMotion, Unity renders the draw commands in per-object motion vector passes if the draw command has BatchDrawCommandFlags.HasMotion set, and it should output a zero motion vector. This behavior relies on the used shader being implemented correctly.