diff --git a/Nodes%2FImage%2FTexture2DImport.md b/Nodes%2FImage%2FTexture2DImport.md new file mode 100644 index 0000000..3fecca8 --- /dev/null +++ b/Nodes%2FImage%2FTexture2DImport.md @@ -0,0 +1,39 @@ +# Texture2D Import + +--- + +## 🔌 INPUT PORTS + +| Name | Type | Description | +|-----------|------------|--------------------------------------------------| +| `textureImport`| `Texture2D` | The texture asset to import and process. | + +--- + +## 📤 EXPORT PORTS + +| Name | Type | Description | +|-----------------|------------|---------------------------------------------| +| `textureOutput` | `ImageData` | The converted texture as internal image data. | +| File Name | `string` | The name of the imported texture file. | +| File Directory | `string` | The directory path of the texture asset. | + +--- + +## 📝 DESCRIPTION + +The **Texture2D Import** node is designed to import a `Texture2D` from the Unity Asset Database, modify its import settings, and convert it into an internal `ImageData` object for further processing. + +It also outputs the **file name** and **file path** for easy reference + + +This node is derived from [`BaseImageNode`](Nodes/BaseImageNode). + + +--- + +## ⚠️ KNOWN ISSUES + +- This node modifies texture import settings directly within the Unity Editor, which can affect the texture permanently if not handled carefully. + +---