Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TextureImporterShape

The shape of the imported texture.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor
[Flags]public enum TextureImporterShape

Remarks

The default value is Texture2D. The texture can also be imported as a Cubemap, Texture2DArray or a Texture3D.

Fields

Value

Description

Texture2DImport the texture as a 2D texture (default).
Texture2DArrayImport the texture as a 2D Array texture.
Texture3DImport the texture as a 3D texture.
TextureCubeImport the texture as a Cubemap.