ドキュメント

Unity Engine

Unity Engine

WorldPosition

The render request outputs a world position buffer.
読み終わるまでの所要時間 1 分最終更新 24日前

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.