current
The camera we are currently rendering with, for low-level render control only (Read Only).
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static Camera current { get; }
Remarks
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(RenderTexture, RenderTexture), MonoBehaviour.OnPreRender(), MonoBehaviour.OnPostRender().