No edit summary |
Fixed link. |
||
(11 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{#Invoke:ProtoFlux|GenerateUI | |||
|Name=Pack rgba | |||
{{#Invoke: | |Category=Packing | ||
Name=Pack rgba | |||
|Inputs= | |Inputs= | ||
[ | [ | ||
Line 17: | Line 16: | ||
|}} | |}} | ||
The '''Pack ColorX''' node combines the specified red, green, blue and alpha channels into a [[Type:ColorX|ColorX]] object after applying the specified [[Type:ColorProfile|Color Profile]]. This is not to be confused with [[ProtoFlux:Pack Color|Pack Color]], which does not use color profiles, and results in a [[Type:Color|Color]] object. | |||
== Inputs == <!--T:3--> | |||
= | === R ([[Type:Float|float]]) === | ||
Red Channel of resulting [[Type:ColorX|ColorX]] | |||
== | === G ([[Type:Float|float]]) === | ||
Blue Channel of resulting [[Type:ColorX|ColorX]] | |||
== | === B ([[Type:Float|float]]) === | ||
Green Channel of resulting [[Type:ColorX|ColorX]] | |||
== | === A ([[Type:Float|float]]) === | ||
Alpha (Aka Transparency) Channel of resulting [[Type:ColorX|ColorX]] | |||
== | === Profile ([[Type:ColorProfile|ColorProfile]]) === | ||
[[Type:ColorProfile|ColorProfile]] of resulting [[Type:ColorX|ColorX]]. Can be either Linear, sRGB, sRGBA. | |||
== | == Outputs == <!--T:3--> | ||
= | === * ([[Type:ColorX|ColorX]]) === | ||
[[Type:ColorX|ColorX]] output which is a compilation of all this node's inputs. | |||
[[Category:ProtoFlux:Colors:Packing]] | |||
Latest revision as of 14:21, 3 July 2024
Pack rgba
Packing
The Pack ColorX node combines the specified red, green, blue and alpha channels into a ColorX object after applying the specified Color Profile. This is not to be confused with Pack Color, which does not use color profiles, and results in a Color object.
Inputs
R (float)
Red Channel of resulting ColorX
G (float)
Blue Channel of resulting ColorX
B (float)
Green Channel of resulting ColorX
A (float)
Alpha (Aka Transparency) Channel of resulting ColorX
Profile (ColorProfile)
ColorProfile of resulting ColorX. Can be either Linear, sRGB, sRGBA.
Outputs
* (ColorX)
ColorX output which is a compilation of all this node's inputs.