文档

Unity Engine

Unity Engine

dimension

Dimensionality (type) of the Texture (Read Only).
阅读时间1 分钟最后更新于 1 天前

Definition

public virtual TextureDimension dimension { get; set; }

Remarks

Indicates type of a Texture (2D Texture, cubemap, 3D volume Texture etc.).
Additional Resources: TextureDimension.