GL.ClearWithSkybox 用天空盒清除缓冲

static function ClearWithSkybox (clearDepth : bool, camera : Camera) : void

Parameters参数

Description描述

Clear the current render buffer with camera's skybox.

用camera的天空盒清空缓冲区。

This draws skybox into the screen or the active RenderTexture. If the passed camera does not have custom Skybox component, the global skybox from RenderSettings will be used.

用camera' 的天空盒清空缓冲区。如何用camera没有天空盒,将用RenderSettings中的天空盒。

参见:GL.Clear.

Page last updated: 2011-3-22