ProtoFlux:Unbox: Difference between revisions

From Resonite Wiki
m added Ns to As
Added visuals and descriptors, slightly updated description of node.
 
Line 1: Line 1:
Allows casting an input [[Type:Object|Object (Type)]] to a certain [[Type:Value|ValueType]]. Only works if the input Object is actually storing an instance of ValueType.
{{#Invoke:ProtoFlux|GenerateUI
|Name=Unbox
|Category=Core
|Inputs=
[
{"Name":"Input", "Type":"Object"}
]
|Outputs=
[
{"Name":"*", "Type":"Dummy"}
]
|}}
 
The <code>Unbox</code> node allows casting an input [[Type:Object|Object (Type)]] to a certain [[Type:Value|ValueType]]. Only works if the input Object is actually storing an instance of ValueType.
 
== Inputs ==
 
=== Input ([[Type:Object|Object (Type)]]) ===
 
The object we want to unbox.
 
== Outputs ==
 
=== * (Generic) ===
 
The unboxed object value of some value type.
{{Stub}}
{{Stub}}


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

Latest revision as of 18:26, 13 April 2024

Unbox
Input
*
Core

The Unbox node allows casting an input Object (Type) to a certain ValueType. Only works if the input Object is actually storing an instance of ValueType.

Inputs

Input (Object (Type))

The object we want to unbox.

Outputs

* (Generic)

The unboxed object value of some value type.

This article or section is a Stub. You can help the Resonite Wiki by expanding it.