ProtoFlux:Pack ColorX: Difference between revisions

From Resonite Wiki
Created page with "{{#Invoke:Test|ProtoFlux| Name=Pack rgba |Inputs= [ {"Name":"R", "Type":"float"}, {"Name":"G", "Type":"float"}, {"Name":"B", "Type":"float"}, {"Name":"A", "Type":"float"}, {"Name":"Profile", "Type":"ColorProfile"} ] |Outputs= [ {"Name":"*", "Type":"colorX"} ] |}} = Inputs = <!--T:3--> == 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 Transpare..."
 
Fixed link.
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#Invoke:Test|ProtoFlux|
{{#Invoke:ProtoFlux|GenerateUI
Name=Pack rgba
|Name=Pack rgba
|Category=Packing
|Inputs=
|Inputs=
[
[
Line 15: 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-->
== Inputs == <!--T:3-->


== R (float) ==
=== R ([[Type:Float|float]]) ===
Red Channel of resulting colorX
Red Channel of resulting [[Type:ColorX|ColorX]]


== G (float) ==
=== G ([[Type:Float|float]]) ===
Blue Channel of resulting colorX
Blue Channel of resulting [[Type:ColorX|ColorX]]


== B (float) ==
=== B ([[Type:Float|float]]) ===
Green Channel of resulting colorX
Green Channel of resulting [[Type:ColorX|ColorX]]


== A (float) ==
=== A ([[Type:Float|float]]) ===
Alpha (Aka Transparency) Channel of resulting colorX
Alpha (Aka Transparency) Channel of resulting [[Type:ColorX|ColorX]]


== Profile (ColorProfile) ==
=== Profile ([[Type:ColorProfile|ColorProfile]]) ===
Profile of resulting colorX. Can be either Linear, sRGB, sRGBA.
[[Type:ColorProfile|ColorProfile]] of resulting [[Type:ColorX|ColorX]]. Can be either Linear, sRGB, sRGBA.


= Outputs = <!--T:3-->
== Outputs == <!--T:3-->


== * (colorX) ==
=== * ([[Type:ColorX|ColorX]]) ===
ColorX output which is a compilation of all this node's inputs.
[[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
R
*
G
B
A
Profile
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.