textureShape
The shape of the imported texture.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public TextureImporterShape textureShape { get; set; }
Remarks
The default value is Texture2D. The texture can also be imported as a Cubemap, Texture2DArray or a Texture3D.
Additional Resources: TextureImporterShape, Texture Assets.