文档

Unity Engine

Unity Engine

textureShape

The shape of the imported texture.
阅读时间1 分钟最后更新于 2 天前

Definition

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.