No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
{"Name":"NullContent", "FieldType":"Sync", "Type":"String", "Value": null}, | {"Name":"NullContent", "FieldType":"Sync", "Type":"String", "Value": null}, | ||
{"Name":"Size", "FieldType":"Sync", "Type":"float", "Range":[0.1, 128.0], "Value": 64.0}, | {"Name":"Size", "FieldType":"Sync", "Type":"float", "Range":[0.1, 128.0], "Value": 64.0}, | ||
{"Name":"HorizontalAlign", "FieldType":"Sync", "Type":"TextHorizontalAlignment", "Value": "Left"}, | {"Name":"HorizontalAlign", "FieldType":"Sync", "Type":"TextHorizontalAlignment", "Value": "Left", "Enum": true}, | ||
{"Name":"VerticalAlign", "FieldType":"Sync", "Type":"TextVerticalAlignment", "Value": "Top"}, | {"Name":"VerticalAlign", "FieldType":"Sync", "Type":"TextVerticalAlignment", "Value": "Top", "Enum": true}, | ||
{"Name":"AlignmentMode", "FieldType":"Sync", "Type":"Elements.Assets.AlignmentMode", "Value": "Geometric"}, | {"Name":"AlignmentMode", "FieldType":"Sync", "Type":"Elements.Assets.AlignmentMode", "Value": "Geometric", "Enum": true}, | ||
{"Name":"Color", "FieldType":"Sync", "Type":"colorX", "Value": [0,0,0,1,"sRGB"]}, | {"Name":"Color", "FieldType":"Sync", "Type":"colorX", "Value": [0,0,0,1,"sRGB"]}, | ||
{"Name":"Materials", "FieldType":"SyncAssetList", "Type":"Material", "Value": ["UI_TextUnlitMaterial on Root (ID1A600)"]}, | {"Name":"Materials", "FieldType":"SyncAssetList", "Type":"Material", "Value": ["UI_TextUnlitMaterial on Root (ID1A600)"]}, | ||
Line 30: | Line 30: | ||
{"Name":"interactionTarget", "FieldType":"Sync", "Type":"bool", "Value": true}, | {"Name":"interactionTarget", "FieldType":"Sync", "Type":"bool", "Value": true}, | ||
{"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", "Enum": true} | ||
] | ] | ||
|}} | |}} | ||
Line 46: | Line 46: | ||
{"Name": "LocalSpace", "FieldType":"SyncRef", "Type":"Slot", "Value": null}, | {"Name": "LocalSpace", "FieldType":"SyncRef", "Type":"Slot", "Value": null}, | ||
{"Name": "UseParentSpace", "FieldType":"Sync", "Type":"bool", "Value": false}, | {"Name": "UseParentSpace", "FieldType":"Sync", "Type":"bool", "Value": false}, | ||
{"Name": "Default", "FieldType":"Sync", "Type":"DefaultSpace", "Value": "WorldRoot"}, | {"Name": "Default", "FieldType":"Sync", "Type":"DefaultSpace", "Value": "WorldRoot", "Enum": true}, | ||
{"Name": "OverrideRootSpace", "FieldType":"SyncRef", "Type":"RootSpace", "Value": null}, <!-- it's actually a RelayRef, but it looks the same --> | {"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 Global Space", "FieldType": "DelegateButton"}, | ||
Line 56: | Line 56: | ||
{"Name":"DestroyAfterDone", "FieldType":"Sync", "Type":"bool", "Value": false}, | {"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 --> | {"Name": "_target", "FieldType":"SyncRef", "Type":"float3", "Value": null} <!-- it's actually a FieldDrive, but it looks the same --> | ||
] | |||
|}} | |||
<h2>The [[Component:AssetMultiplexer|AssetMultiplexer<ITexture2D>]] Component</h2> | |||
{{#Invoke:Test2|GenerateUI | |||
|Name=AssetMultiplexer<ITexture2D> | |||
|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":"Target", "FieldType":"SyncRef", "Type":"AssetRef<ITexture2D>", "Value": null}, <!-- it's actually a DriveRef, but it looks the same --> | |||
{"Name":"Index", "FieldType":"Sync", "Type":"int", "Value": 0}, | |||
{"Name":"Assets", "FieldType":"SyncAssetList", "Type":"ITexture2D", "Value": [0, 0, 0]} | |||
] | ] | ||
|}} | |}} |