Your IP address will be publicly visible if you make any edits.
Component:Float4ToColorXSwizzleDriver
The Float 4To Color XSwizzle Driver component.
More actions
Component image
Float 4To Color XSwizzle Driver component as seen in the Scene Inspector
The Float4ToColorXSwizzleDriver component drives a ColorX value based on the channels of the input Float4. Each output channel (counting from 0) is assigned to an input channel (or -1 for zero), allowing for arbitrary rearrangement (i.e. swizzling). It's equivalent to unpacking the input value and packing it again with ProtoFlux.