跳转至

WidgetGroup

文档版本:1.21.60.21

WidgetGroup类。script_api.minecraft/server-editor-bindings.widgetgroup.description

属性

selectedWidgetCount
read-only selectedWidgetCount: int32;
visible
visible: boolean;
visibleBounds
visibleBounds: boolean;

方法

createWidget

script_api.minecraft/server-editor-bindings.widgetgroup.createwidget.description

createWidget(location: Vector3, options?: WidgetCreateOptions): Widget
delete

script_api.minecraft/server-editor-bindings.widgetgroup.delete.description

delete(): void
deleteWidget

script_api.minecraft/server-editor-bindings.widgetgroup.deletewidget.description

deleteWidget(widgetToDelete: Widget): void
deselectAllWidgets

script_api.minecraft/server-editor-bindings.widgetgroup.deselectallwidgets.description

deselectAllWidgets(): void
selectAllWidgets

script_api.minecraft/server-editor-bindings.widgetgroup.selectallwidgets.description

selectAllWidgets(): void