文档

Unity Engine


User Manual

Script Reference

Unity Engine


forceAllMotionVectorObjects

Determines if Unity renders not moving GameObjects in motion vector pass. This refers to GameObjects that have an active Motion Vector pass assigned to their Material and did not move since the last frame. This flag can be used to render both moving objects and not moving objects in the motion vector pass to populate object motion data and scene depth data together.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool forceAllMotionVectorObjects { get; set; }

Remarks

Additional Resources: ScriptableRenderContext.DrawRenderers, Creating a simple render loop in a custom render pipeline.