文档

Unity Engine


User Manual

Script Reference

Unity Engine


volumeDepth

Volume extent of a 3D render texture.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int volumeDepth { readonly get; set; }

Remarks

For volumetric render textures (see RenderTextureDescriptor.dimension), this variable determines the volume extent. Ignored for non-3D textures. The valid range for 3D textures is 1 to 2000.