Sudo-Generic -> Pseudo-generic |
Clarify the separation between the two cast nodes |
||
Line 3: | Line 3: | ||
[[File:ProtoFlux_visuals_Value_Cast.png|alt=A picture of a value cast. Looks like a square object with one side a different color than the other, with a split down the middle that has a beveled edge. Though it's just an image so you can't actually feel such bevel in game even with detailed haptics.|thumb]] | [[File:ProtoFlux_visuals_Value_Cast.png|alt=A picture of a value cast. Looks like a square object with one side a different color than the other, with a split down the middle that has a beveled edge. Though it's just an image so you can't actually feel such bevel in game even with detailed haptics.|thumb]] | ||
Value Cast | The '''Value Cast''' node exists in two forms. In the '''Casts''' category, it casts any [[Type:Value|Value]] or [[Type:Nullable`1|Nullable]] into an [[Type:Object|Object]]. In the '''Core/Casts''' category, it exists as a menu for all valid casts between any two respective values, such as casting a [[Type:float4|float4]] into a [[Type:float3|float3]]. | ||
== Inputs == | == Inputs == | ||
Line 9: | Line 9: | ||
=== Input (Pseudo-generic) === | === Input (Pseudo-generic) === | ||
The | The [[Type:Value|Value]] or [[Type:Nullable`1|Nullable]] to cast. | ||
=== * (Pseudo-generic) === | |||
<code>Input</code> casted to either an object, in the case of the <code>Casts/ValueCast</code> node, or to the respective output Value type, in the case of the <code>Core/Casts/ValueCast</code> node. | |||
== See Also == | |||
- [[ProtoFlux:Object Cast]] | |||
[[Category:ProtoFlux:Casts]] | [[Category:ProtoFlux:Casts]] |
Revision as of 18:54, 29 June 2024
HTML Visual replaced by image due to wiki limitations
The Value Cast node exists in two forms. In the Casts category, it casts any Value or Nullable into an Object. In the Core/Casts category, it exists as a menu for all valid casts between any two respective values, such as casting a float4 into a float3.
Inputs
Input (Pseudo-generic)
The Value or Nullable to cast.
* (Pseudo-generic)
Input
casted to either an object, in the case of the Casts/ValueCast
node, or to the respective output Value type, in the case of the Core/Casts/ValueCast
node.