Camera.OnRenderObject 在渲染物体之后

function OnRenderObject () : void

Description描述

OnRenderObject is called after camera has rendered the scene.

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

This can be used to render your own objects using Graphics.DrawMeshNow or other functions. This function is similar to OnPostRender, 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在任意物体有一个脚本带有这个函数被调用。不论是否它附加到相机或没有。

Page last updated: 2011-3-7