Camera.current 当前相机

static var current : Camera


The camera we are currently rendering with, for low-level render control only (Read Only).


Most of the time you will want to use Camera.main instead. Use this function only when implementing one of the following events: MonoBehaviour.OnRenderImage, MonoBehaviour.OnPreRender, MonoBehaviour.OnPostRender.

多数时候你会使用 Camera.main,只有在执行下面事件的时候使用这个函数MonoBehaviour.OnRenderImageMonoBehaviour.OnPreRender,MonoBehaviour.OnPostRender

Page last updated: 2011-3-7