文档

Unity Engine

Unity Engine

WorldPosition

The render request outputs a world position buffer.
阅读时间1 分钟最后更新于 25 天前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
警告
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.