No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<h2>The [[Component:Text|Text]] Component</h2> | |||
{{#Invoke:Test2|GenerateUI | {{#Invoke:Test2|GenerateUI | ||
|Name=Text | |Name=Text | ||
Line 29: | Line 31: | ||
{"Name":"_legacyFontMaterial", "FieldType":"SyncRef", "Type":"FontMaterial", "Value": null}, | {"Name":"_legacyFontMaterial", "FieldType":"SyncRef", "Type":"FontMaterial", "Value": null}, | ||
{"Name":"_legacyAlign", "FieldType":"Sync", "Type":"Alignment", "Value": "TopLeft"} | {"Name":"_legacyAlign", "FieldType":"Sync", "Type":"Alignment", "Value": "TopLeft"} | ||
] | |||
|}} | |||
<h2>The [[Component:RelativePositioner|RelativePositioner]] Component</h2> | |||
{{#Invoke:Test2|GenerateUI | |||
|Name=RelativePositioner | |||
|Fields=[ | |||
{"Name":"persistent", "FieldType":"Sync", "Type":"Bool", "Value": true}, | |||
{"Name":"UpdateOrder", "FieldType":"Sync", "Type":"Int", "Value": 0}, | |||
{"Name":"Enabled", "FieldType":"Sync", "Type":"Bool", "Value": true}, | |||
{"Name":"Reference", "FieldType":"SyncRef", "Type":"Slot", "Value": null}, | |||
{"Name":"ReferenceBoundsSpace", "FieldType": "SyncObject", "Type": "RootSpace", "Fields": [ | |||
{"Name": "LocalSpace", "FieldType":"SyncRef", "Type":"Slot", "Value": null}, | |||
{"Name": "UseParentSpace", "FieldType":"Sync", "Type":"Bool", "Value": false}, | |||
{"Name": "Default", "FieldType":"Sync", "Type":"DefaultSpace", "Value": "WorldRoot"}, | |||
{"Name": "OverrideRootSpace", "FieldType":"SyncRef", "Type":"RootSpace", "Value": null}, <!-- it's actually a RelayRef, but it looks the same --> | |||
{"Name": "Use Global Space", "FieldType": "DelegateButton"}, | |||
{"Name": "Use Local Space", "FieldType": "DelegateButton"}, | |||
{"Name": "Use Parent Space", "FieldType": "DelegateButton"} | |||
]}, | |||
{"Name":"ReferenceAnchor", "FieldType":"Sync", "Type":"Float3", "Value": [0,0,0]}, | |||
{"Name":"ReferenceOffset", "FieldType":"Sync", "Type":"Float3", "Value": [0,0,0]}, | |||
{"Name":"DestroyAfterDone", "FieldType":"Sync", "Type":"Bool", "Value": false}, | |||
{"Name": "_target", "FieldType":"SyncRef", "Type":"float3", "Value": null} <!-- it's actually a FieldDrive, but it looks the same --> | |||
] | ] | ||
|}} | |}} |