Module:Test2/doc: Difference between revisions

From Resonite Wiki
No edit summary
No edit summary
Line 5: Line 5:
|Fields=
|Fields=
[
[
{"Name":"persistent", "FieldType":"Sync", "Type":"Bool", "Value": true},
{"Name":"persistent", "FieldType":"Sync", "Type":"bool", "Value": true},
{"Name":"UpdateOrder", "FieldType":"Sync", "Type":"Int", "Value": 0},
{"Name":"UpdateOrder", "FieldType":"Sync", "Type":"int", "Value": 0},
{"Name":"Enabled", "FieldType":"Sync", "Type":"Bool", "Value": true},
{"Name":"Enabled", "FieldType":"Sync", "Type":"bool", "Value": true},
{"Name":"Font", "FieldType":"AssetRef", "Type":"FrooxEngine.FontSet", "Value": "FontChain on Root (ID16F00)"},
{"Name":"Font", "FieldType":"AssetRef", "Type":"FrooxEngine.FontSet", "Value": "FontChain on Root (ID16F00)"},
{"Name":"Content", "FieldType":"Sync", "Type":"String", "Value": null},
{"Name":"Content", "FieldType":"Sync", "Type":"String", "Value": null},
{"Name":"ParseRichText", "FieldType":"Sync", "Type":"Bool", "Value": true},
{"Name":"ParseRichText", "FieldType":"Sync", "Type":"bool", "Value": true},
{"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"},
{"Name":"VerticalAlign", "FieldType":"Sync", "Type":"TextVerticalAlignment", "Value": "Top"},
{"Name":"VerticalAlign", "FieldType":"Sync", "Type":"TextVerticalAlignment", "Value": "Top"},
{"Name":"AlignmentMode", "FieldType":"Sync", "Type":"Elements.Assets.AlignmentMode", "Value": "Geometric"},
{"Name":"AlignmentMode", "FieldType":"Sync", "Type":"Elements.Assets.AlignmentMode", "Value": "Geometric"},
{"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)"]},
{"Name":"LineHeight", "FieldType":"Sync", "Type":"Float", "Range":[0.25, 2.0], "Value": 0.8},
{"Name":"LineHeight", "FieldType":"Sync", "Type":"float", "Range":[0.25, 2.0], "Value": 0.8},
{"Name":"MaskPattern", "FieldType":"Sync", "Type":"String", "Value": null},
{"Name":"MaskPattern", "FieldType":"Sync", "Type":"String", "Value": null},
{"Name":"HorizontalAutoSize", "FieldType":"Sync", "Type":"Bool", "Value": false},
{"Name":"HorizontalAutoSize", "FieldType":"Sync", "Type":"bool", "Value": false},
{"Name":"VerticalAutoSize", "FieldType":"Sync", "Type":"Bool", "Value": false},
{"Name":"VerticalAutoSize", "FieldType":"Sync", "Type":"bool", "Value": false},
{"Name":"AutoSizeMin", "FieldType":"Sync", "Type":"Float", "Value": 8.0},
{"Name":"AutoSizeMin", "FieldType":"Sync", "Type":"float", "Value": 8.0},
{"Name":"AutoSizeMax", "FieldType":"Sync", "Type":"Float", "Value": 64.0},
{"Name":"AutoSizeMax", "FieldType":"Sync", "Type":"float", "Value": 64.0},
{"Name":"CaretPosition", "FieldType":"Sync", "Type":"Int", "Value": -1},
{"Name":"CaretPosition", "FieldType":"Sync", "Type":"int", "Value": -1},
{"Name":"SelectionStart", "FieldType":"Sync", "Type":"Int", "Value": -1},
{"Name":"SelectionStart", "FieldType":"Sync", "Type":"int", "Value": -1},
{"Name":"CaretColor", "FieldType":"Sync", "Type":"ColorX", "Value": [0,0,0,0,"Linear"]},
{"Name":"CaretColor", "FieldType":"Sync", "Type":"colorX", "Value": [0,0,0,0,"Linear"]},
{"Name":"SelectionColor", "FieldType":"Sync", "Type":"ColorX", "Value": [0,0,0,0,"Linear"]},
{"Name":"SelectionColor", "FieldType":"Sync", "Type":"colorX", "Value": [0,0,0,0,"Linear"]},
{"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"}
Line 39: Line 39:
|Name=RelativePositioner
|Name=RelativePositioner
|Fields=[
|Fields=[
{"Name":"persistent", "FieldType":"Sync", "Type":"Bool", "Value": true},
{"Name":"persistent", "FieldType":"Sync", "Type":"bool", "Value": true},
{"Name":"UpdateOrder", "FieldType":"Sync", "Type":"Int", "Value": 0},
{"Name":"UpdateOrder", "FieldType":"Sync", "Type":"int", "Value": 0},
{"Name":"Enabled", "FieldType":"Sync", "Type":"Bool", "Value": true},
{"Name":"Enabled", "FieldType":"Sync", "Type":"bool", "Value": true},
{"Name":"Reference", "FieldType":"SyncRef", "Type":"Slot", "Value": null},
{"Name":"Reference", "FieldType":"SyncRef", "Type":"Slot", "Value": null},
{"Name":"ReferenceBoundsSpace", "FieldType": "SyncObject", "Type": "RootSpace", "Fields": [
{"Name":"ReferenceBoundsSpace", "FieldType": "SyncObject", "Type": "RootSpace", "Fields": [
   {"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"},
   {"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 -->
Line 52: Line 52:
   {"Name": "Use Parent Space", "FieldType": "DelegateButton"}
   {"Name": "Use Parent Space", "FieldType": "DelegateButton"}
]},
]},
{"Name":"ReferenceAnchor", "FieldType":"Sync", "Type":"Float3", "Value": [0,0,0]},
{"Name":"ReferenceAnchor", "FieldType":"Sync", "Type":"float3", "Value": [0,0,0]},
{"Name":"ReferenceOffset", "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":"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 -->
]
]
|}}
|}}

Revision as of 18:00, 11 February 2024

The Text Component

Text
Duplicate
Destroy
persistent:
UpdateOrder:
0
Enabled:
Font:
FontChain on Root (ID16F00)
Content:
null
ParseRichText:
NullContent:
null
Size:
64
HorizontalAlign:
Sync<TextHorizontalAlignment>
VerticalAlign:
Sync<TextVerticalAlignment>
AlignmentMode:
Sync<Elements.Assets.AlignmentMode>
Color:
R
0
G
0
B
0
A
1
Profile:
<<
sRGB
>>
Materials (list):
0:
UI_TextUnlitMaterial on Root (ID1A600)
X
Add
LineHeight:
0.8
MaskPattern:
null
HorizontalAutoSize:
VerticalAutoSize:
AutoSizeMin:
8
AutoSizeMax:
64
CaretPosition:
-1
SelectionStart:
-1
CaretColor:
R
0
G
0
B
0
A
0
Profile:
<<
Linear
>>
SelectionColor:
R
0
G
0
B
0
A
0
Profile:
<<
Linear
>>
interactionTarget:
_legacyFontMaterial:
null
_legacyAlign:
Sync<Alignment>

The RelativePositioner Component

RelativePositioner
Duplicate
Destroy
persistent:
UpdateOrder:
0
Enabled:
Reference:
null
ReferenceBoundsSpace:
LocalSpace:
null
UseParentSpace:
Default:
Sync<DefaultSpace>
OverrideRootSpace:
null
Use Global Space
Use Local Space
Use Parent Space
ReferenceAnchor:
x
0
y
0
z
0
ReferenceOffset:
x
0
y
0
z
0
DestroyAfterDone:
_target:
null