Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WorldPosition

The render request outputs a world position buffer.
Read time 1 minuteLast updated 7 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
WorldPosition = 4

Remarks

Outputs a buffer that maps the the WorldPosition (RGB) at each pixel. Alpha=1 means the position is valid. Alpha=0 means it is invalid. GraphicsFormat.R32G32B32A32_SFloat is recommended as the render texture format.