Module:Test2/doc: Difference between revisions

From Resonite Wiki
No edit summary
No edit summary
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]}
]
]
|}}
|}}

Revision as of 19:21, 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

The AssetMultiplexer<ITexture2D> Component

AssetMultiplexer<ITexture2D>
Duplicate
Destroy
persistent:
UpdateOrder:
0
Enabled:
Target:
null
Index:
0
Assets (list):
0:
null
---
Clear
📋
X
1:
null
---
Clear
📋
X
2:
null
---
Clear
📋
X
Add