お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseclearDepth | デプスバッファがクリアされるべきかどうか |
clearColor | カラーバッファがクリアされるべきかどうか |
backgroundColor |
true が true の場合のみ、この色でクリアします |
depth |
true が true の場合のみ、このデプスでZバッファをクリアします |
現在のレンダリングバッファをクリアします
これはスクリーンまたはアクティブなRenderTexture内に描画しているものをクリアします。 いくつかのカメラでどこかの何かを描画するような、ほとんどの状況では、おそらく スカイボックスの背景で既にクリアされています。 See Also: GL.ClearWithSkybox.