Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Depth

The render request outputs a depth value.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
Removed. The RenderRequest struct is obsolete, use the function overload with RequestData of supported types such as RenderPipeline.StandardRequest
Depth = 2

Remarks

Outputs a buffer that maps the the depth value at each pixel. The buffer will be generated from the camera used in the request.