ProtoFlux:Value Cast: Difference between revisions

From Resonite Wiki
Clarify the separation between the two cast nodes
m add to core casts category
Line 19: Line 19:


[[Category:ProtoFlux:Casts]]
[[Category:ProtoFlux:Casts]]
[[Category:ProtoFlux:Core:Casts]]

Revision as of 18:58, 29 June 2024

HTML Visual replaced by image due to wiki limitations

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.

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.

See Also

- ProtoFlux:Object Cast