Legacy Documentation: Version 2017.2 (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 the temporary RenderTexture target for this Camera.

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

See Also: Camera.OnPostRender

Did you find this page useful? Please give it a rating: