Add Nodes/Image/GetDimensions
parent
ab0a11afe5
commit
3b9410e119
36
Nodes%2FImage%2FGetDimensions.md
Normal file
36
Nodes%2FImage%2FGetDimensions.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# Texture Get Dimensions
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🔌 INPUT PORTS
|
||||||
|
|
||||||
|
| Name | Type | Description |
|
||||||
|
|-----------------|-------------|-----------------------------------------------------|
|
||||||
|
| `inputTexture` | `ImageData` | The input texture data from which the dimensions are extracted. |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📤 EXPORT PORTS
|
||||||
|
|
||||||
|
| Name | Type | Description |
|
||||||
|
|-----------------|--------|-------------------------------------------------|
|
||||||
|
| `Width` | `int` | The width of the input texture. |
|
||||||
|
| `Height` | `int` | The height of the input texture. |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📝 DESCRIPTION
|
||||||
|
|
||||||
|
The **Texture Get Dimensions** node extracts the dimensions (width and height) of an input texture. This node is used to retrieve the size of a texture asset for further processing or adjustments in the image processing graph.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
This node is derived from [`BaseImageNode`](Nodes/BaseImageNode).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## ⚠️ KNOWN ISSUES
|
||||||
|
|
||||||
|
- The node assumes that the input texture is valid. If the texture is null or invalid, the dimensions may not be accurately retrieved.
|
||||||
|
|
||||||
|
---
|
Loading…
x
Reference in New Issue
Block a user