ProtoFlux:Unbox: Difference between revisions

From Resonite Wiki
Remove one of the links
Added visuals and descriptors, slightly updated description of node.
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Allows casting a input [[Type:Object|Object (Type)]] to a certain ValueType. Only works if the input Object is actually storing a 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}}
 
[[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.