Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Camera.activeTexture

Switch to Manual
public RenderTexture activeTexture;

Description

Gets or sets the temporary RenderTexture target for this Camera.

The current Camera being rendered tenders its image to this temporary render target. The render target is accessible in the Camera's OnPostRender method.

See Also: Camera.OnPostRender