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.
Additional Resources: TextureImporterSettings.textureShape, Texture Assets.
Fields
Value | Description |
|---|---|
| Texture2D | Import the texture as a 2D texture (default). |
| Texture2DArray | Import the texture as a 2D Array texture. |
| Texture3D | Import the texture as a 3D texture. |
| TextureCube | Import the texture as a Cubemap. |