Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


scene

If not null, the camera will only render the contents of the specified Scene.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Scene scene { get; set; }

Remarks

Currently, only Scenes created by EditorSceneManager.NewPreviewScene are supported.