Documentation

Unity Engine

Unity Engine

depth

Number of elements in a texture array (Read Only).
Read time 1 minuteLast updated 20 hours ago

Definition

public int depth { get; }

Remarks

Additional Resources: Texture.width, Texture.height.