ProtoFlux:To String: Difference between revisions

From Resonite Wiki
m Update to new script name space
m Yeet that pesky Node Menu with this last one. Horray!
Line 1: Line 1:
[[Category:NodeMenu]]
[[Category:ProtoFlux:Strings]]


{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI

Revision as of 21:47, 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