Add Nodes/Image/Texture2DImport
parent
06030d3a79
commit
6df591d39d
39
Nodes%2FImage%2FTexture2DImport.md
Normal file
39
Nodes%2FImage%2FTexture2DImport.md
Normal file
@ -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.
|
||||
|
||||
---
|
Loading…
x
Reference in New Issue
Block a user