文档

Unity Engine

Unity Engine

forceIntoRenderTexture

Should camera rendering be forced into a RenderTexture.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool forceIntoRenderTexture { get; set; }

Remarks

If set to true camera rendering will always happen into a RenderTexture instead of direct into the backbuffer. This can be useful if you have no image effects but want to use command buffers to act on the current rendering target.