Version: 2022.3
public Rendering.TextureDimension dimension ;

描述

Dimensionality (type) of the Texture (Read Only).

Indicates type of a Texture (2D Texture, cubemap, 3D volume Texture etc.).

另请参阅:TextureDimension