Version: 2022.3
언어: 한국어
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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961