textureShape
The shape of the imported texture.
Read time 1 minuteLast updated 10 days ago
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.