找回密码
 注册帐号

扫一扫,访问微社区

camera.onrenderobject 在渲染物体之后

2015-1-4 04:27| 发布者: 杨炎| 查看: 2733| 评论: 0|原作者: 蛮牛|来自: unity3d脚本manual

摘要: camera.onrenderobject 在渲染物体之后functiononrenderobject() : voiddescription描述onrenderobject is called after camera has rendered the scene.onrenderobject 被用来渲染你自己的物体,使用或者其他函数。 ...

camera.onrenderobject渲染物体之后

functiononrenderobject() : void

description描述

onrenderobject is called after camera has rendered the scene.

onrenderobject 被用来渲染你自己的物体,使用或者其他函数。

this can be used to render your own objects usinggraphics.drawmeshnowor other functions. this function is similar toonpostrender, except onrenderobject is called on any object that has a script with the function; no matter if it's attached to a camera or not.

该函数被用来渲染你自己的物体,使用graphics.drawmeshnow或者其他函数。这个函数类似于onpostrender,除了onrenderobject在任意物体有一个脚本带有这个函数被调用。不论是否它附加到相机或没有。

相关阅读

文章点评
相关文章