ComfyUI Node
SWIZZLE (JOV) ๐ต
Swap components between two vectors based on specified swizzle patterns and values. It provides flexibility in rearranging vector elements dynamically.
SWIZZLE (JOV) ๐ต
- ๐ ฐ๏ธ
- ๐ ฑ๏ธ
- VECTOR
- ๐ฆ
โโVEC3โบ
โSWAP XA_Xโบ
โSWAP YA_Yโบ
โSWAP ZA_Zโบ
โSWAP WA_Wโบ
CategoryJOVIMETRIX ๐บ๐ฉ๐ต/CALC
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| ๐ ฐ๏ธopt | BOOLEAN,FLOAT,INT,VEC2,VEC3,VEC4,VEC2INT,VEC3INT,VEC4INT,COORD2D,COORD3D | Input A | |
| ๐ ฑ๏ธopt | BOOLEAN,FLOAT,INT,VEC2,VEC3,VEC4,VEC2INT,VEC3INT,VEC4INT,COORD2D,COORD3D | Input B | |
| โopt | COMBO | VEC3 | Output type desired from resultant operation |
| SWAP Xopt | COMBO | A_X | Replace input Red channel with target channel or constant |
| SWAP Yopt | COMBO | A_Y | Replace input Red channel with target channel or constant |
| SWAP Zopt | COMBO | A_Z | Replace input Red channel with target channel or constant |
| SWAP Wopt | COMBO | A_W | Replace input W channel with target channel or constant |
| VECTORopt | VEC4 | 0,0,0,0 | Compound value of type float, vec2, vec3 or vec4 |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| ๐ฆ | * | โ |