Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


volumeDepth

Volume extent of a 3D render texture.
Read time 1 minuteLast updated 10 days ago

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.