Automated: create new component page |
add desc |
||
Line 3: | Line 3: | ||
|Name=Bool 4To Bool 3Swizzle Driver | |Name=Bool 4To Bool 3Swizzle Driver | ||
}} | }} | ||
{{ | {{Template:SwizzleDriverDescription|bool|4|bool|3}} | ||
== Usage == | == Usage == |
Revision as of 16:59, 26 March 2024
Component image
Swizzle drivers are a type of component that allow for taking the components of a packed value (packed 3 or 4s) and rearrange them into the output. The different packed channels are numbered 0->2 for pack 3's and 0->3 for pack 4's. When driving the output, you have a choice of taking any channel within the pack 3 or 4 by number and driving an output channel with said source number. This can be used to flip axes, zero them out by using -1 as a source channel, or rearrange them. For example, making a 3d point move only on the y axis position of another point (-1, 1, -1).
Usage
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
Source
|
direct RelayRef`1<IField`1<Bool4>> | |
Target
|
field drive of Bool3 | |
X
|
Int | |
Y
|
Int | |
Z
|
Int |