Camera.Render 渲染

function Render () : void


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.

相机将发送OnPreCullOnPreRender & 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.


参见: RenderWithShader.

Page last updated: 2011-3-7