文档

Unity Engine

Unity Engine

isVolume

If enabled, this Render Texture will be used as a Texture3D.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
警告
Deprecated. Use RenderTexture.dimension instead.
public bool isVolume { get; set; }

Remarks

Volumetric render textures currently only work on UsingDX11GL3Features. You can render into them using "random access writes" from a pixel shader or a compute shader.