文档

Unity Engine

Download Unity

Unity Engine

EarlyUpdate.ClearIntermediateRenderers

Native Player loop system that clears meshes drawn with Graphics.DrawMesh and similar methods at the start of the frame in the Editor.
阅读时间1 分钟最后更新于 6 天前

Definition

public struct EarlyUpdate.ClearIntermediateRenderers

Remarks

This system is active only in the Editor. Unity clears these meshes at the start of the frame so that the Editor can still draw the previous frame's meshes while paused or while you resize windows. In Players,
PostLateUpdate.ClearImmediateRenderers
clears them at the end of the frame instead.
This struct identifies a native system in the Player loop. It has no members, and the system's update logic runs in native engine code. Use this type with PlayerLoopSystem.type to find the system when you reorder, replace, or remove it in a custom Player loop. For more information, refer to Customizing the Player loop.