기술 자료

Unity Engine

Unity Engine

current

The camera we are currently rendering with, for low-level render control only (Read Only).
읽는 시간 1분최근 업데이트: 한 달 전

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().