Create Value Cast ProtoFlux Node Page |
m lists are * not - |
||
(4 intermediate revisions by 3 users not shown) | |||
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 == | ||
=== Input ( | === 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:Core:Casts]] |
Latest revision as of 19:28, 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.