ドキュメント

Unity Engine

Unity Engine

clearColor

Determines whether the color buffer is cleared before the panel is rendered.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public bool clearColor { get; set; }

Remarks

This is typically used when a RenderTexture is assigned to PanelSettings.targetTexture. Otherwise, if a camera already clears the color of the render target, avoid redundant clearing to optimize performance.