Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Component:Sbyte3ToSbyte4SwizzleDriver

From Resonite Wiki
Component image 
File:Sbyte3ToSbyte4SwizzleDriverComponent.png
Sbyte 3To Sbyte 4Swizzle Driver component as seen in the Scene Inspector

The Sbyte3ToSbyte4SwizzleDriver component drives a Sbyte4 value based on the channels of the input Sbyte3. 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.

Fields

Fields
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. Some components stop their functionality when this field is disabled, but some don't.
Source direct RelayRef`1<IField`1<Sbyte3>> The field which to take values from it's components and drive Target's components with them.
Target field drive of Sbyte4 The field which to drive the components of.
X Int Takes the n'th component from Source and drives the X component of Target with it.
Y Int Takes the n'th component from Source and drives the Y component of Target with it.
Z Int Takes the n'th component from Source and drives the Z component of Target with it.
W Int Takes the n'th component from Source and drives the W component of Target with it.

Usage

Examples

See Also