Camera.current 当前相机


static var current : Camera

Description描述

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.OnRenderImage, MonoBehaviour.OnPreRender,MonoBehaviour.OnPostRender


,