(3 intermediate revisions by one other user not shown)
Line 3:
Line 3:
|Name=Legacy Panel
|Name=Legacy Panel
}}
}}
The '''LegacyPanel''' component is used in old migrated legacy content UI.
The '''LegacyPanel''' component is used in old migrated legacy content UI.
== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Style|{{RootFieldType|RelayRef`1|[[Component:LegacyUIStyle|LegacyUIStyle]]}}|TypeAdv0=true| The style that determines what this panel looks like.
|Style|{{RootFieldType|RelayRef`1|[[Component:LegacyUIStyle|LegacyUIStyle]]}}|TypeAdv0=true| The style that determines what this panel looks like.
Line 33:
Line 34:
|_title|String| The title name of this panel.
|_title|String| The title name of this panel.
|_titleText|'''[[Component:TextRenderer|TextRenderer]]'''|TypeAdv25=true| The text renderer that displays the title of this panel.
|_titleText|'''[[Component:TextRenderer|TextRenderer]]'''|TypeAdv25=true| The text renderer that displays the title of this panel.
|_indicatePrivate|Bool| Is used to change the colors of the panel to indicate that it is in the dash world.
|_indicatePrivate|Bool| Is used to change the colors of the panel to indicate that it is in [[userspace]].
|_titlePos|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv27=true| The position field of the title of this panel
|_titlePos|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv27=true| The position field of the title of this panel
|_titleBounds|{{RootFieldType|FieldDrive`1|[[Type:Float2|Float2]]}}|TypeAdv28=true| The bounds of the title of this panel.
|_titleBounds|{{RootFieldType|FieldDrive`1|[[Type:Float2|Float2]]}}|TypeAdv28=true| The bounds of the title of this panel.
Line 53:
Line 54:
|OnHide:[[Type:Action`1|Action`1]]<[[Component:LegacyPanel#TitleButton|LegacyPanel.TitleButton]]>|[[Type:Action`1|Action`1]]<[[Component:LegacyPanel#TitleButton|LegacyPanel.TitleButton]]>|true| Called when the panel is hidden by the user.
|OnHide:[[Type:Action`1|Action`1]]<[[Component:LegacyPanel#TitleButton|LegacyPanel.TitleButton]]>|[[Type:Action`1|Action`1]]<[[Component:LegacyPanel#TitleButton|LegacyPanel.TitleButton]]>|true| Called when the panel is hidden by the user.
|OnParent:[[Type:Action`1|Action`1]]<[[Component:LegacyPanel#TitleButton|LegacyPanel.TitleButton]]>|[[Type:Action`1|Action`1]]<[[Component:LegacyPanel#TitleButton|LegacyPanel.TitleButton]]>|true| Called when the panel is pinned to the user via the pin button.
|OnParent:[[Type:Action`1|Action`1]]<[[Component:LegacyPanel#TitleButton|LegacyPanel.TitleButton]]>|[[Type:Action`1|Action`1]]<[[Component:LegacyPanel#TitleButton|LegacyPanel.TitleButton]]>|true| Called when the panel is pinned to the user via the pin button.
|OnUserspaceTransfer:[[Type:Action`1|Action`1]]<[[Component:LegacyPanel#TitleButton|LegacyPanel.TitleButton]]>|[[Type:Action`1|Action`1]]<[[Component:LegacyPanel#TitleButton|LegacyPanel.TitleButton]]>|true| Called when the panel is transfered from the dash world to the currently focused world.
|OnUserspaceTransfer:[[Type:Action`1|Action`1]]<[[Component:LegacyPanel#TitleButton|LegacyPanel.TitleButton]]>|[[Type:Action`1|Action`1]]<[[Component:LegacyPanel#TitleButton|LegacyPanel.TitleButton]]>|true| Called when the panel is transfered from [[userspace]] to the currently focused world.
}}
}}
== TitleButton ==
== TitleButton ==
{{Table TypeFields
{{Table TypeFields
|ItemColor|ColorX|
|ItemColor|ColorX| The color of the button item
|Pressed|{{RootFieldType|SyncDelegate`1|[[Component:TitleButton|TitleButton]]}}|TypeAdv1=true| The sync delegate to call when this button is pressed.
|Pressed|{{RootFieldType|SyncDelegate`1|[[Component:LegacyPanel#TitleButton|LegacyPanel.TitleButton]]}}|TypeAdv1=true| The sync delegate to call when this button is pressed.
|Enabled|bool| Whether the button is enabled.
|Enabled|bool| Whether the button is enabled.
|_material|{{RootFieldType|DriveRef`1|[[Component:PBS_RimMetallic|PBS_RimMetallic]]}}|TypeAdv3=true| The material of the button.
|_material|{{RootFieldType|DriveRef`1|[[Component:PBS_RimMetallic|PBS_RimMetallic]]}}|TypeAdv3=true| The material of the button.
Latest revision as of 18:30, 14 April 2025
This article describes a feature marked as legacy—this usually means there's a newer, better alternative. Legacy features might not be removed but they will not be updated, and the team will not provide any support for them.