Component:LegacyRadio: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
Line 3: Line 3:
|Name=Legacy Radio
|Name=Legacy Radio
}}
}}
{{stub}}
The '''LegacyRadio''' component was used in old UI mainly in export and import dialogues. This component should not be used in new content and replaced whenever possible.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Style|{{RootFieldType|RelayRef`1|[[Component:LegacyUIStyle|LegacyUIStyle]]}}|TypeAdv0=true|
|Style|{{RootFieldType|RelayRef`1|[[Component:LegacyUIStyle|LegacyUIStyle]]}}|TypeAdv0=true| {{Template:LegacyUI_Style}}
|AcceptPhysicalTouch|Bool|
|AcceptPhysicalTouch|Bool| {{Template:Touchable_AcceptPhysicalTouch}}
|AcceptRemoteTouch|Bool|
|AcceptRemoteTouch|Bool| {{Template:Touchable_AcceptRemoteTouch}}
|IsEnabled|Bool|
|IsEnabled|Bool| {{Template:LegacyUI_IsEnabled}}
|Radius|Float|
|Radius|Float| The radius of this option sphere.
|Color|ColorX|
|Color|ColorX| The color of the option.
|Selected|{{RootFieldType|RawOutput`1|[[Type:Bool|Bool]]}}|TypeAdv6=true|
|Selected|{{RootFieldType|RawOutput`1|[[Type:Bool|Bool]]}}|TypeAdv6=true| Whether this option is selected.
|_colliderRadius|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv7=true|
|_colliderRadius|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv7=true| The field to drive for the radius of the collider so it matches the visual.
|_icosphere|{{RootFieldType|DriveRef`1|[[Component:IcoSphereMesh|IcoSphereMesh]]}}|TypeAdv8=true|
|_icosphere|{{RootFieldType|DriveRef`1|[[Component:IcoSphereMesh|IcoSphereMesh]]}}|TypeAdv8=true| The ico sphere mesh used to make the option click able visual.
|_material|{{RootFieldType|DriveRef`1|[[PBS_RimMetallic|PBS_RimMetallic]]}}|TypeAdv9=true|
|_material|{{RootFieldType|DriveRef`1|[[PBS_RimMetallic|PBS_RimMetallic]]}}|TypeAdv9=true| The material used for this component's visual.
|_group|{{RootFieldType|RelayRef`1|[[Component:LegacyRadioGroup|LegacyRadioGroup]]}}|TypeAdv10=true|
|_group|{{RootFieldType|RelayRef`1|[[Component:LegacyRadioGroup|LegacyRadioGroup]]}}|TypeAdv10=true| The manager for this component as a part of a group of radio options.
|_orderNumber|Int|
|_orderNumber|Int| Which option in the list this is.
}}
}}


== Behavior ==
== Usage ==
Just dont.


== Examples ==
== Examples ==
{{stub}}


== See Also ==
== See Also ==
* [[Component:LegacyRadioGroup]]


[[Category:Components:UI:Physical{{#translation:}}|Legacy Radio]]
[[Category:Components:UI:Physical{{#translation:}}|Legacy Radio]]
[[Category:Components{{#translation:}}|Legacy Radio]]
[[Category:Components{{#translation:}}|Legacy Radio]]
[[Category:ComponentStubs]]

Revision as of 19:33, 21 January 2025

Component image 
Legacy Radio component as seen in the Scene Inspector

The LegacyRadio component was used in old UI mainly in export and import dialogues. This component should not be used in new content and replaced whenever possible.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Style direct RelayRef`1<LegacyUIStyle> The source of the legacy color styles for this component.
AcceptPhysicalTouch Bool Whether to allow Component:TipTouchSources to interact with/activate this component.
AcceptRemoteTouch Bool Whether this component allows interaction via the user's interaction laser.
IsEnabled Bool Whether this Legacy UI element is enabled and usable.
Radius Float The radius of this option sphere.
Color ColorX The color of the option.
Selected raw output of Bool Whether this option is selected.
_colliderRadius field drive of Float The field to drive for the radius of the collider so it matches the visual.
_icosphere reference drive of IcoSphereMesh The ico sphere mesh used to make the option click able visual.
_material reference drive of PBS_RimMetallic The material used for this component's visual.
_group direct RelayRef`1<LegacyRadioGroup> The manager for this component as a part of a group of radio options.
_orderNumber Int Which option in the list this is.

Usage

Just dont.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.

See Also