Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


depth

The volumetric depth of a 3D GraphicsTexture.
Read time 1 minuteLast updated 7 days ago

Definition

public int depth

Remarks

For volumetric graphics textures (see GraphicsTextureDescriptor.dimension), this variable determines the depth in pixels. Must be 0 for non-3D textures.