Component:LegacyCheckbox

From Resonite Wiki
Component image 
Legacy Checkbox component as seen in the Scene Inspector

The LegacyCheckbox component is used in old migrated content. This is a Legacy component and should not be used for new content. This should be 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.
IsChecked Bool Whether the checkbox is checked.
IsEnabled Bool Whether this Legacy UI element is enabled and usable.
DriveField field drive of Bool The field to drive with this checkbooks state.
AllowWriteBack Bool Whether changes to the target value of DriveField are sent to this component's checked state instead.
Size Float How big the check box is.
BevelPercent Float How beveled the check box is.
Color ColorX The color of the check box.
_shellMesh BevelBoxMesh The outer shell of the check box.
_checkMesh BevelBoxMesh The inner check box indicator of the check box.
_titleBar LegacyHorizontalChoiceBar unused.
_shellSize field drive of Float3 The field to drive for the outer shell size mesh.
_shellBevel field drive of Float The field to drive for the outer shell bevel.
_checkSize field drive of Float3 The field to drive for the check indicator size.
_checkBevel field drive of Float The field to drive for the check indicator bevel.
_colliderSize field drive of Float3 The field to drive for the collider size.
_shellMaterial reference drive of PBS_RimMetallic The field to drive to set the shell material.
_checkMaterial reference drive of PBS_RimMetallic The field to drive to set the check indicator material.

Usage

Just dont.

Examples

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


See Also