Extract XY

Obtains the X or Y component of a vec2.

The inverse of this node is "Vec2 Value", which can have either or both its X and Y parameters exposed as graph inputs.

Interface

Inputs

ParameterDetailsPossible Types
Vector

Primary Input

IVec2
UVec2
vec2
Axis

Default: X

XY

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64