Type:Object: Difference between revisions

From Resonite Wiki
Info about Object type
 
Added a sentence and links about this object type.
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Object is essentially a Type which can store any other Type or it can be null. It can be used as a 'transporter' which you can use as generic storage and then later cast it back to its intended Type.
The Object type is essentially a [[Type:Type|Type]] which can store any other Type instance or it can be null.
 
It can be used as a "transporter" which you can use as generic storage and then later cast it back to its intended Type. This can mostly be seen when using the [[ProtoFlux:Box|Box]] and [[ProtoFlux:Unbox|Unbox]] nodes.
 
Other nodes that use this type frequently are the [[ProtoFlux:To String|ToString (Object)]] node and [[ProtoFlux:Format String|Format String]] node, as these need a generic type like an object to convert into a string of information.
 
[[Category:Type]]

Latest revision as of 05:27, 26 June 2024

The Object type is essentially a Type which can store any other Type instance or it can be null.

It can be used as a "transporter" which you can use as generic storage and then later cast it back to its intended Type. This can mostly be seen when using the Box and Unbox nodes.

Other nodes that use this type frequently are the ToString (Object) node and Format String node, as these need a generic type like an object to convert into a string of information.