ドキュメント

Unity Engine

Unity Engine

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.