Template:RootFieldType: Difference between revisions

Template page
Fix non-generic direct types
fix Sync delegate
 
(6 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|SyncRef`1='''{{{2}}}'''
|SyncRef`1='''{{{2}}}'''
|AssetRef`1='''{{{2}}}'''
|AssetRef`1='''{{{2}}}'''
|SyncDelegate`1='''{{{2}}}'''
|SyncDelegate`1=''[[Type:SyncDelegate`1|delegate of identity]]'' '''{{{2}}}'''
|SyncList`1=''list'' of '''{{{2}}}'''
|SyncDelegateList`1=''[[Type:SyncDelegateList`1|list]]'' of '''{{{2}}}'''
|SyncRefList`1=''list'' of '''{{{2}}}'''
|SyncList`1=''[[Type:SyncList`1|list]]'' of '''{{{2}}}'''
|SyncAssetList`1=''list'' of '''{{{2}}}'''
|SyncRefList`1=''[[Type:SyncRefList`1|list]]'' of '''{{{2}}}'''
|FieldDrive`1=''field drive'' of '''{{{2}}}'''
|SyncTypeList=''[[Type:SyncTypeList`1|list]]'' of '''[[Type:SyncType|SyncType]]'''
|RawOutput`1=''raw output'' of '''{{{2}}}'''
|SyncAssetList`1=''[[Type:SyncAssetList`1|list]]'' of '''{{{2}}}'''
|SyncArray`1=''array'' of '''{{{2}}}'''
|FieldDrive`1=''[[Type:FieldDrive`1|field drive]]'' of '''{{{2}}}'''
|DriveRef`1=''[[Type:DriveRef`1|reference drive]]'' of '''{{{2}}}'''
|SyncBag`1=''[[Type:SyncBag`1|unordered list]]'' of '''{{{2}}}'''
|RawOutput`1=''[[Type:RawOutput`1|raw output]]'' of '''{{{2}}}'''
|SyncArray`1=''[[Type:SyncArray`1|array]]'' of '''{{{2}}}'''
|(nested)=''direct'' '''{{{2}}}'''
|''direct'' '''[[Type:{{{1}}}|{{{1}}}]]{{#if:{{{2|}}}|&lt;{{{2}}}&gt;}}'''}}</onlyinclude></includeonly>
|''direct'' '''[[Type:{{{1}}}|{{{1}}}]]{{#if:{{{2|}}}|&lt;{{{2}}}&gt;}}'''}}</onlyinclude></includeonly>


Line 19: Line 24:


{{RootFieldType|SyncList`1|[[Type:Float|Float]]}}
{{RootFieldType|SyncList`1|[[Type:Float|Float]]}}
{{RootFieldType|SyncDelegate`1|[[Type:Action`1|Action`1]]&lt;[[Type:Float|Float]]&gt;}}


{{RootFieldType|SyncRefList`1|[[Type:Sync`1|Sync`1]]&lt;[[Type:Float|Float]]&gt;}}
{{RootFieldType|SyncRefList`1|[[Type:Sync`1|Sync`1]]&lt;[[Type:Float|Float]]&gt;}}
{{RootFieldType|SyncTypeList}}


{{RootFieldType|IKSolverVR}}
{{RootFieldType|IKSolverVR}}

Latest revision as of 20:36, 16 February 2025


This type is used by component field tables to "hide" the real field type. We don't want to explain to people that 99% of field types are actually Sync`1 or something, so common types get hidden or turned into something nice. Cases where the real field type is shown are listed as "direct" as an unambiguous fallback.

The first parameter is the real field type, without generic args. So like Sync`1. The second argument is the generic contents, comma separated.

Float

list of Float

delegate of identity Action`1<Float>

list of Sync`1<Float>

list of SyncType

direct IKSolverVR

direct FooBar`1<Float>

direct FooBar`2<Float, Float>