User:AmasterAmaster/Community ProtoFlux Library/AmasterAmaster/Color/Set String Color: Difference between revisions
From Resonite Wiki
Created the custom node page for the Set String Color node. (This is a test to make sure this works before trying to make a bunch of these pages) |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{delete|This page has been superseeded by [[Community_ProtoFlux_Library/AmasterAmaster/Color/Set_String_Color]]}} | |||
{{Custom Node|[[User:AmasterAmaster|AmasterAmaster]]}} | |||
{{#Invoke:ProtoFlux|GenerateUI | {{#Invoke:ProtoFlux|GenerateUI | ||
|Name=Set String Color | |Name=Set String Color | ||
Line 11: | Line 14: | ||
{"Name":"DecoratedString", "Type":"String"} | {"Name":"DecoratedString", "Type":"String"} | ||
] | ] | ||
|Custom=true | |||
|}} | |}} | ||
The '''Set String Color''' node takes in a [[Type:String|String]] and a [[Type:ColorX|ColorX]] and returns a decorated string that has Rich Text Formatting (RTF) color tags surrounding it. The color this node is using is in a Hex Code format. | The '''Set String Color''' node takes in a [[Type:String|String]] and a [[Type:ColorX|ColorX]] and returns a decorated string that has Rich Text Formatting (RTF) color tags surrounding it. The color this node is using is in a Hex Code format. | ||
Line 25: | Line 27: | ||
=== Color ([[Type:ColorX|ColorX]]) === | === Color ([[Type:ColorX|ColorX]]) === | ||
The color to set the | The color to set the Hex Code value to. | ||
== Outputs == | == Outputs == | ||
Line 33: | Line 35: | ||
Returns the decorated string with the color tags. | Returns the decorated string with the color tags. | ||
[[Category:User:AmasterAmaster/Community ProtoFlux Library/AmasterAmaster/Color:Set String Color]] | <!-- you might want to drop this! you've created a category for a single item! --> | ||
<!-- [[Category:User:AmasterAmaster/Community ProtoFlux Library/AmasterAmaster/Color:Set String Color]] --> | |||
<!-- Something better would be [[Category:Community ProtoFlux Library:AmasterAmaster:Color]] --> |
Latest revision as of 21:14, 22 August 2024
Set String Color
Amaster's Color Library
The Set String Color node takes in a String and a ColorX and returns a decorated string that has Rich Text Formatting (RTF) color tags surrounding it. The color this node is using is in a Hex Code format.
Inputs
String (String)
The string to decorate with RTF color tags.
Color (ColorX)
The color to set the Hex Code value to.
Outputs
DecoratedString (String)
Returns the decorated string with the color tags.