Type:IValue`1: Difference between revisions

From Resonite Wiki
change types to type
m typo AGAIN RAAAH
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Stub}}
The '''IValue<nowiki><T></nowiki>''' type is an [[Interface Type]] that designates the type it is applied to as something that contains a [[Value Type]].
 
This allows for the thing implementing the type to be [[ProtoFlux:Source|sourced]] in ProtoFlux, which in turn allows for the thing to be written to via a [[ProtoFlux:Write|Write]] node. This does <em>not</em> allow the object to be [[Drive|driven]], which requires it to implement [[Type:ILinkable|ILinkable]].
 
== Interfaces Implemented ==
* [[Type:IChangeable]]
* [[Type:IWorldElement]]
 
== Types Implementing IValue ==
* [[Type:IField`1]]
* [[Type:ValueStream`1]]
 
== Components Implementing IValue ==
The following components implement the IValue type, allowing the component itself to be sourced and written to, which is usually not possible.
 
* [[Component:AuthorityTimeBase]]
* [[Component:ValueMultiplexer]]


A IValue<nowiki><T></nowiki> Is a reference value type. This is used for writing to a value like a variable or components values.
[[Category:Type]]
[[Category:Type]]

Latest revision as of 20:16, 13 August 2024

The IValue<T> type is an Interface Type that designates the type it is applied to as something that contains a Value Type.

This allows for the thing implementing the type to be sourced in ProtoFlux, which in turn allows for the thing to be written to via a Write node. This does not allow the object to be driven, which requires it to implement ILinkable.

Interfaces Implemented

Types Implementing IValue

Components Implementing IValue

The following components implement the IValue type, allowing the component itself to be sourced and written to, which is usually not possible.