文档

Unity Engine

Unity Engine

dimension

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

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public virtual TextureDimension dimension { get; set; }

Remarks

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