camera.render 渲染

2015-1-4 05:57| 发布者: 杨炎| 查看: 2013| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: camera.render 渲染functionrender() : voiddescription描述render the camera manually.手动渲染相机。this will render the camera. it will use the camera's clear flags, target texture and all other setting ...

camera.render 渲染

functionrender() : 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 sendonprecull,onprerender&onpostrenderto 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.

相关阅读

文章点评
相关文章