Added a sentence suggesting that you can use complex types when making IFields. |
overhaul. TODO: move that removed information to the SyncField<T> and SyncRef<T> pages, which is what *actually* houses reference types by wrapping IField<RefID> |
||
Line 1: | Line 1: | ||
The '''IField<nowiki><T></nowiki>''' type is an [[Interface Type|Interface Type]] that designates the type it is applied to as something that is a field. This includes anything that is exposed within the [[Scene Inspector]] UI. | |||
In addition to every feature that [[Type:IValue]] implements, this type makes things implementing it: | |||
* Have the ability to be [[Drive|driven]]. | |||
* Synced by default, requiring a drive to become local. | |||
== Interfaces Implemented == | |||
* [[Type:ISyncMember]] | |||
** [[Type:IWorldElement]] | |||
** [[Type:ILinkable]] | |||
* [[Type:IValue`1|IValue`1]], matching the type used for the IField | |||
** [[Type:IChangeable]] | |||
** [[Type:IInitializable]] | |||
== Types Implementing IField == | |||
* [[Type:SyncField`1]] | |||
[[Category:Type]] | [[Category:Type]] |
Revision as of 20:59, 13 August 2024
The IField<T> type is an Interface Type that designates the type it is applied to as something that is a field. This includes anything that is exposed within the Scene Inspector UI.
In addition to every feature that Type:IValue implements, this type makes things implementing it:
- Have the ability to be driven.
- Synced by default, requiring a drive to become local.
Interfaces Implemented
- Type:ISyncMember
- IValue`1, matching the type used for the IField