Camera.Render 渲染

function Render () : void

Description描述

Render the camera manually.

手动渲染相机。

This will render the camera. It will use the camera's clear flags, target texture and all other settings.

这个将渲染相机,这将使用相机的清除标记,目标纹理和所有其它设置。

The camera will send OnPreCull, OnPreRender & OnPostRender to any scripts attached, and render any eventual image filters.

相机将发送OnPreCull, OnPreRender & OnPostRender到任何附加的脚本上,并渲染任何最后的图像滤镜。

This is used for taking precise control of render order. To make use of this feature, create a camera and disable it. Then call Render on it.

这个用来精确地控制渲染次序,为了使用这个特性,创建一个相机并禁用它,然后在它上面调用Render。

参见: RenderWithShader.

Page last updated: 2011-3-7