GL
- Begin
- ClearWithSkybox
- Clear
- Color
- End
- InvalidateState
- LINES
- LoadIdentity
- LoadOrtho
- LoadPixelMatrix
- LoadProjectionMatrix
- modelview
- MultiTexCoord2
- MultiTexCoord3
- MultiTexCoord
- MultMatrix
- PopMatrix
- PushMatrix
- QUADS
- SetRevertBackfacing
- TexCoord2
- TexCoord3
- TexCoord
- TRIANGLE_STRIP
- TRIANGLES
- Vertex3
- Vertex
- Viewport
GL.ClearWithSkybox 用天空盒清除缓冲
static function ClearWithSkybox (clearDepth : bool, camera : Camera) : void
Parameters参数
-
clearDepthShould the depth buffer be cleared?
是否清除深度缓冲区? - cameraCamera to get projection parameters and skybox from.
从相机获得投影参数和天空盒。
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.
最后修改:2011年3月22日 Tuesday 14:57