ProtoFlux:To String: Difference between revisions

From Resonite Wiki
m needs to be under flux nodes
fill out missing stuff, don't use level 1 for headings
Line 15: Line 15:
|}}
|}}


= Usage =
== 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 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.
You can also use this for huds, like turning your FPS into text for a display, or readouts of objects or values.


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


= Inputs = <!--T:3-->
=== V (Generic) ===
The value to turn into a string.


== V (Generic) ==
=== Format (String) ===
The value to turn into a string
A [https://learn.microsoft.com/en-us/dotnet/standard/base-types/composite-formatting#composite-format-string Composite Format String].


== Format (String) ==
=== FormatProvider (IFormatProvider) ===
(TODO: What is this?)
The locale to use for the output. Defaults to the invariant culture.


== FormatProvider (IFormatProvider) ==
== Outputs == <!--T:3-->
(TODO: What is this?)


= Outputs = <!--T:3-->
=== * (String) ===
 
The value as a string following the format.
== * (String) ==
The value as a string

Revision as of 07:53, 13 January 2024


Script error: The function "ProtoFlux" does not exist.

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.