Vector X | Y | Z

Functionality

Sometimes a Vector is needed which only has a value in one of the 3 axes. For instance the rotation vector of the Matrix In node. Or the Axis parameter in the Lathe Node. Instead of using a Vector Node it can be useful to add this Node instead, which lets you easily toggle between:

X = 1, 0, 0
Y = 0, 1, 0
Z = 0, 0, 1

The added bonus is that the minimized state of the Node can show what type of Vector it represents.

https://cloud.githubusercontent.com/assets/619340/3489193/bfdd92d8-051b-11e4-84f5-0f140c5458b2.gif

Parameters

A toggle between X | Y | Z

Outputs

A single Vector output, only ever:

(1,0,0) or (0,1,0) or (0,0,1)