文档

Unity Engine


User Manual

Script Reference

Unity Engine


depth

The depth of the texture (Read Only).
阅读时间1 分钟最后更新于 24 天前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int depth { get; }

Remarks

Additional Resources: Texture.width, Texture.height.