ProtoFlux:To String: Difference between revisions

From Resonite Wiki
m reword example caption slightly better
m Update to new script name space
Line 1: Line 1:
[[Category:NodeMenu]]
[[Category:NodeMenu]]


{{#Invoke:Test|ProtoFlux|
{{#Invoke:ProtoFlux|GenerateUI
Name=To String
|Name=To String
|Inputs=
|Inputs=
[
[

Revision as of 21:46, 13 January 2024


To String
V
*
Format
FormatProvider

Usage

You can use this node for turning values into strings, even an object. Turning an object into a string is useful for taking what you see in a display node for a value directly into a string object. You can also use this for huds, like turning your FPS into text for a display, or readouts of objects or values.

Inputs

V (Generic)

The value to turn into a string.

Format (String)

A Composite Format String.

FormatProvider (IFormatProvider)

The locale to use for the output. Defaults to the invariant culture.

Outputs

* (String)

The value as a string following the format.

Examples