volumeDepth
Volume extent of a 3D render texture or number of slices of array texture.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public int volumeDepth { get; set; }
Remarks
For volumetric render textures (see RenderTexture.dimension), this variable determines the volume extent.
For array render texture (see RenderTexture.dimension), this variable determines the number of slices.
Additional Resources: RenderTexture.dimension.