blockbench-types 5.1.0 → 5.2.0-beta.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -30
- package/custom/animation.d.ts +257 -256
- package/custom/animation_controller.d.ts +124 -124
- package/custom/blockbench.d.ts +73 -73
- package/custom/canvas.d.ts +324 -307
- package/custom/codec.d.ts +182 -182
- package/custom/copy_paste.d.ts +43 -42
- package/custom/cube.d.ts +151 -151
- package/custom/desktop.d.ts +61 -73
- package/custom/display_mode.d.ts +141 -137
- package/custom/edit_session.d.ts +38 -37
- package/custom/global.d.ts +181 -168
- package/custom/group.d.ts +113 -113
- package/custom/interface.d.ts +88 -78
- package/custom/io.d.ts +12 -12
- package/custom/{toolbars.d.ts → keybind.d.ts} +150 -221
- package/custom/keyframe.d.ts +94 -94
- package/custom/libs.d.ts +13 -13
- package/custom/menu_bar.d.ts +66 -0
- package/custom/mesh.d.ts +196 -196
- package/custom/misc.d.ts +196 -199
- package/custom/molang.d.ts +159 -159
- package/custom/outliner.d.ts +158 -158
- package/custom/painter.d.ts +102 -69
- package/custom/preview_scene.d.ts +120 -120
- package/custom/screencam.d.ts +71 -71
- package/custom/spline_mesh.d.ts +190 -189
- package/custom/texture_group.d.ts +68 -68
- package/custom/textures.d.ts +526 -515
- package/custom/timeline.d.ts +66 -66
- package/custom/undo.d.ts +209 -208
- package/custom/util/version_util.d.ts +32 -32
- package/custom/util.d.ts +235 -235
- package/custom/uveditor.d.ts +3 -3
- package/custom/validator.d.ts +99 -99
- package/documentation.md +12 -12
- package/generated/animations/mirror_animating.d.ts +7 -0
- package/generated/animations/timeline_animators.d.ts +1 -1
- package/generated/api.d.ts +8 -1
- package/generated/file_system.d.ts +2 -1
- package/generated/find_replace.d.ts +6 -0
- package/generated/formats/standards/obj.d.ts +9 -11
- package/generated/interface/actions.d.ts +16 -12
- package/generated/interface/form.d.ts +2 -1
- package/generated/interface/main_tools.d.ts +23 -0
- package/generated/interface/menu.d.ts +141 -0
- package/generated/interface/menu_bar.d.ts +2 -3
- package/generated/interface/resize_lines.d.ts +2 -0
- package/generated/interface/settings.d.ts +6 -2
- package/generated/interface/shared_actions.d.ts +5 -0
- package/generated/interface/start_screen.d.ts +62 -42
- package/generated/interface/toolbars.d.ts +146 -46
- package/generated/io/format.d.ts +1 -0
- package/generated/io/project.d.ts +10 -2
- package/generated/lib/CanvasFrame.d.ts +1 -0
- package/generated/main.d.ts +4 -1
- package/generated/modeling/mesh/add_mesh.d.ts +6 -0
- package/generated/modeling/mesh/proportional_edit.d.ts +15 -13
- package/generated/modeling/mesh/util.d.ts +8 -2
- package/generated/modeling/mirror_modeling.d.ts +4 -0
- package/generated/modeling/weight_paint.d.ts +11 -0
- package/generated/modes.d.ts +2 -2
- package/generated/native_apis.d.ts +3 -0
- package/generated/outliner/abstract/outliner_element.d.ts +1 -0
- package/generated/outliner/abstract/outliner_node.d.ts +1 -0
- package/generated/outliner/types/armature.d.ts +1 -1
- package/generated/outliner/types/armature_bone.d.ts +1 -1
- package/generated/outliner/types/billboard.d.ts +1 -1
- package/generated/outliner/types/bounding_box.d.ts +1 -1
- package/generated/outliner/types/cube.d.ts +1 -1
- package/generated/outliner/types/group.d.ts +1 -1
- package/generated/outliner/types/locator.d.ts +1 -1
- package/generated/outliner/types/mesh.d.ts +1 -1
- package/generated/outliner/types/null_object.d.ts +1 -1
- package/generated/outliner/types/spline_mesh.d.ts +1 -2
- package/generated/outliner/types/texture_mesh.d.ts +1 -1
- package/generated/plugin_loader.d.ts +1 -1
- package/generated/preview/preview.d.ts +280 -0
- package/generated/preview/reference_images.d.ts +1 -1
- package/generated/texturing/layers.d.ts +140 -0
- package/generated/util/gif.d.ts +12 -3
- package/generated/util/state_memory.d.ts +3 -11
- package/index.d.ts +2 -2
- package/package.json +39 -39
- package/tsconfig.json +19 -19
- package/type_config.json +43 -46
- package/custom/menu.d.ts +0 -136
- package/custom/preview.d.ts +0 -137
- package/custom/start_screen.d.ts +0 -15
- package/custom/texture_layers.d.ts +0 -117
- package/generated/global_types.d.ts +0 -47
- package/generated/io/formats/bedrock.d.ts +0 -4
- package/generated/io/formats/bedrock_old.d.ts +0 -4
- package/generated/io/formats/collada.d.ts +0 -4
- package/generated/io/formats/fbx.d.ts +0 -17
- package/generated/io/formats/gltf.d.ts +0 -6
- package/generated/io/formats/java_block.d.ts +0 -4
- package/generated/io/formats/modded_entity.d.ts +0 -139
- package/generated/io/formats/obj.d.ts +0 -12
- package/generated/io/formats/optifine_jem.d.ts +0 -3
- package/generated/io/formats/optifine_jpm.d.ts +0 -3
- package/generated/io/formats/skin.d.ts +0 -22
|
@@ -1,50 +1,150 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toolbars are UI elements that are usually constantly displayed on screen, e. g inside a panel, and can hold any number of BarItems, including Actions, Tools, BarSelects etc.
|
|
3
|
+
* Toolbars are made to be customized by users
|
|
4
|
+
* @module
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Registry of all toolbars
|
|
8
|
+
*/
|
|
9
|
+
export interface ToolbarRegistry {
|
|
10
|
+
tools: Toolbar;
|
|
11
|
+
main_tools: Toolbar;
|
|
12
|
+
element_position: Toolbar;
|
|
13
|
+
element_size: Toolbar;
|
|
14
|
+
element_stretch: Toolbar;
|
|
15
|
+
element_origin: Toolbar;
|
|
16
|
+
element_rotation: Toolbar;
|
|
17
|
+
brush: Toolbar;
|
|
18
|
+
vertex_snap: Toolbar;
|
|
19
|
+
seam_tool: Toolbar;
|
|
20
|
+
weight_brush: Toolbar;
|
|
21
|
+
outliner: Toolbar;
|
|
22
|
+
reference_images: Toolbar;
|
|
23
|
+
animations: Toolbar;
|
|
24
|
+
collections: Toolbar;
|
|
25
|
+
texturelist: Toolbar;
|
|
26
|
+
layers: Toolbar;
|
|
27
|
+
uv_editor: Toolbar;
|
|
28
|
+
display: Toolbar;
|
|
29
|
+
keyframe: Toolbar;
|
|
30
|
+
timeline: Toolbar;
|
|
31
|
+
color_picker: Toolbar;
|
|
32
|
+
palette: Toolbar;
|
|
33
|
+
skin_pose: Toolbar;
|
|
34
|
+
[id: string]: Toolbar;
|
|
35
|
+
}
|
|
36
|
+
export declare const Toolbars: Record<string, Toolbar>;
|
|
37
|
+
export interface ToolbarOptions {
|
|
38
|
+
id?: string;
|
|
39
|
+
name?: string;
|
|
40
|
+
/**
|
|
41
|
+
* If true, the toolbar will display a label abovee
|
|
42
|
+
*/
|
|
43
|
+
label?: boolean;
|
|
44
|
+
condition?: ConditionResolvable;
|
|
45
|
+
/**
|
|
46
|
+
* If true, the toolbar will only take as much width as needed
|
|
47
|
+
*/
|
|
48
|
+
narrow?: boolean;
|
|
49
|
+
vertical?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* If true, the toolbar will not wrap into new line, and will instead display an overflow button in case of overflow
|
|
52
|
+
*/
|
|
53
|
+
no_wrap?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* If true, add the toolbar automatically to it's designated spot in the UI
|
|
56
|
+
* @deprecated
|
|
57
|
+
*/
|
|
58
|
+
default_place?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Default content of the toolbar. Separators are available, where _ = separator, + = spaces, # = line break
|
|
61
|
+
*/
|
|
62
|
+
children: ('_' | '+' | '#' | string | BarItem)[];
|
|
63
|
+
}
|
|
64
|
+
export declare class Toolbar {
|
|
65
|
+
id: string;
|
|
66
|
+
name: string;
|
|
67
|
+
label: boolean;
|
|
68
|
+
label_node: HTMLElement;
|
|
69
|
+
condition: ConditionResolvable;
|
|
70
|
+
children: (BarItem | string)[];
|
|
71
|
+
no_wrap: boolean;
|
|
72
|
+
narrow: boolean;
|
|
73
|
+
vertical: boolean;
|
|
74
|
+
default_place: boolean;
|
|
75
|
+
default_children: (BarItem | string)[];
|
|
76
|
+
positionLookup: any;
|
|
77
|
+
condition_cache: any;
|
|
78
|
+
previously_enabled: any;
|
|
79
|
+
postload: any;
|
|
80
|
+
node: HTMLElement;
|
|
81
|
+
constructor(id: string, data: ToolbarOptions);
|
|
82
|
+
/**
|
|
83
|
+
* Legacy constructor
|
|
84
|
+
* @deprecated
|
|
85
|
+
*/
|
|
86
|
+
constructor(data: ToolbarOptions);
|
|
87
|
+
/**
|
|
88
|
+
* Builds the toolbar from data
|
|
89
|
+
* @param {object} data Data used to build the toolbar
|
|
90
|
+
* @param {boolean} force If true, customization data will be ignored. Used when resetting toolbar
|
|
91
|
+
*/
|
|
92
|
+
build(data: any, force?: boolean): this;
|
|
93
|
+
contextmenu(event: MouseEvent): void;
|
|
94
|
+
editMenu(): this;
|
|
95
|
+
add(action: BarItem, position?: number): this;
|
|
96
|
+
remove(action: BarItem | string, update?: boolean): this;
|
|
97
|
+
update(force?: boolean): this;
|
|
98
|
+
toPlace(place: string): this;
|
|
99
|
+
save(): this;
|
|
100
|
+
reset(): this;
|
|
101
|
+
menu: Menu;
|
|
102
|
+
}
|
|
103
|
+
export declare const BARS: {
|
|
104
|
+
stored: {
|
|
105
|
+
_known: any[];
|
|
106
|
+
};
|
|
107
|
+
editing_bar: any;
|
|
108
|
+
action_definers: any[];
|
|
109
|
+
condition: typeof Condition;
|
|
110
|
+
dialog: Dialog;
|
|
111
|
+
defineActions(definer: () => void): void;
|
|
112
|
+
setupActions(): void;
|
|
113
|
+
setupToolbars(): void;
|
|
114
|
+
setupVue(): void;
|
|
115
|
+
updateConditions(): void;
|
|
116
|
+
};
|
|
117
|
+
type ToolboxToolbar = Toolbar & {
|
|
118
|
+
selected: Tool;
|
|
119
|
+
original: any;
|
|
120
|
+
toggleTransforms(event?: MouseEvent): void;
|
|
121
|
+
};
|
|
122
|
+
declare const global: {
|
|
123
|
+
Toolbar: typeof import("./toolbars").Toolbar;
|
|
124
|
+
BARS: {
|
|
125
|
+
stored: {
|
|
126
|
+
_known: any[];
|
|
127
|
+
};
|
|
128
|
+
editing_bar: any;
|
|
129
|
+
action_definers: any[];
|
|
130
|
+
condition: typeof Condition;
|
|
131
|
+
dialog: Dialog;
|
|
132
|
+
defineActions(definer: () => void): void;
|
|
133
|
+
setupActions(): void;
|
|
134
|
+
setupToolbars(): void;
|
|
135
|
+
setupVue(): void;
|
|
136
|
+
updateConditions(): void;
|
|
137
|
+
};
|
|
138
|
+
Toolbars: Record<string, import("./toolbars").Toolbar>;
|
|
139
|
+
};
|
|
1
140
|
declare global {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
condition: any;
|
|
10
|
-
children: any[];
|
|
11
|
-
condition_cache: any[];
|
|
12
|
-
postload: any[][];
|
|
13
|
-
positionLookup: {};
|
|
14
|
-
no_wrap: boolean;
|
|
15
|
-
vertical: boolean;
|
|
16
|
-
default_children: any;
|
|
17
|
-
previously_enabled: boolean;
|
|
18
|
-
node: HTMLElement;
|
|
19
|
-
/**
|
|
20
|
-
* Builds the toolbar from data
|
|
21
|
-
* @param {object} data Data used to build the toolbar
|
|
22
|
-
* @param {boolean} force If true, customization data will be ignored. Used when resetting toolbar
|
|
23
|
-
*/
|
|
24
|
-
build(data: object, force: boolean): this;
|
|
25
|
-
contextmenu(event: any): void;
|
|
26
|
-
editMenu(): this;
|
|
27
|
-
add(action: any, position: any): this;
|
|
28
|
-
remove(action: any, update?: boolean): this;
|
|
29
|
-
update(force: any): this;
|
|
30
|
-
toPlace(place: any): this;
|
|
31
|
-
save(): this;
|
|
32
|
-
reset(): this;
|
|
33
|
-
menu: Menu;
|
|
34
|
-
}
|
|
35
|
-
namespace BARS {
|
|
36
|
-
namespace stored {
|
|
37
|
-
let _known: any[];
|
|
38
|
-
}
|
|
39
|
-
let editing_bar: any;
|
|
40
|
-
let action_definers: any[];
|
|
41
|
-
let condition: typeof Condition;
|
|
42
|
-
function defineActions(definer: any): void;
|
|
43
|
-
function setupActions(): void;
|
|
44
|
-
function setupToolbars(): void;
|
|
45
|
-
function setupVue(): void;
|
|
46
|
-
function updateConditions(): void;
|
|
141
|
+
type Toolbar = import('./toolbars').Toolbar;
|
|
142
|
+
const Toolbar: typeof global.Toolbar;
|
|
143
|
+
const Toolbars: ToolbarRegistry;
|
|
144
|
+
const BARS: typeof global.BARS;
|
|
145
|
+
const Toolbox: ToolboxToolbar;
|
|
146
|
+
interface Window {
|
|
147
|
+
Toolbox: ToolboxToolbar;
|
|
47
148
|
}
|
|
48
149
|
}
|
|
49
|
-
|
|
50
150
|
export {};
|
package/generated/io/format.d.ts
CHANGED
|
@@ -278,6 +278,7 @@ export type FormatOptions = FormatFeatures & {
|
|
|
278
278
|
confidential?: boolean;
|
|
279
279
|
condition?: ConditionResolvable;
|
|
280
280
|
show_on_start_screen?: boolean;
|
|
281
|
+
show_in_new_list?: boolean;
|
|
281
282
|
can_convert_to?: boolean;
|
|
282
283
|
format_page?: FormatPage;
|
|
283
284
|
onFormatPage?(): void;
|
|
@@ -92,7 +92,7 @@ export declare class ModelProject {
|
|
|
92
92
|
selected_groups: any;
|
|
93
93
|
spline_selection: any;
|
|
94
94
|
texture_groups: any;
|
|
95
|
-
collections:
|
|
95
|
+
collections: Collection[];
|
|
96
96
|
animation_controllers: any;
|
|
97
97
|
constructor(options?: ModelProjectOptions, uuid?: UUID);
|
|
98
98
|
extend(object: any): void;
|
|
@@ -112,7 +112,7 @@ export declare class ModelProject {
|
|
|
112
112
|
get nodes_3d(): Record<UUID, THREE.Object3D>;
|
|
113
113
|
getDisplayName(with_extension?: boolean): string;
|
|
114
114
|
getFileExtension(): string;
|
|
115
|
-
getProjectMemory(): RecentProjectData;
|
|
115
|
+
getProjectMemory(): import("../desktop").RecentProjectData;
|
|
116
116
|
getMultiFileRuleset(): MultiFileRuleset | undefined;
|
|
117
117
|
getUVWidth(texture?: Texture): number;
|
|
118
118
|
getUVHeight(texture?: Texture): number;
|
|
@@ -158,5 +158,13 @@ declare global {
|
|
|
158
158
|
const updateTabBarVisibility: typeof global.updateTabBarVisibility;
|
|
159
159
|
const updateProjectResolution: typeof global.updateProjectResolution;
|
|
160
160
|
const setStartScreen: typeof global.setStartScreen;
|
|
161
|
+
interface BarItemRegistry {
|
|
162
|
+
project_window: Action;
|
|
163
|
+
close_project: Action;
|
|
164
|
+
duplicate_project: Action;
|
|
165
|
+
convert_project: Action;
|
|
166
|
+
switch_tabs: Action;
|
|
167
|
+
tab_overview: Action;
|
|
168
|
+
}
|
|
161
169
|
}
|
|
162
170
|
export {};
|
|
@@ -3,6 +3,7 @@ export declare class CanvasFrame {
|
|
|
3
3
|
ctx: CanvasRenderingContext2D;
|
|
4
4
|
constructor();
|
|
5
5
|
constructor(width: number, height: number);
|
|
6
|
+
constructor(source: HTMLCanvasElement | HTMLImageElement);
|
|
6
7
|
get width(): number;
|
|
7
8
|
get height(): number;
|
|
8
9
|
createCanvas(width: number, height: number): void;
|
package/generated/main.d.ts
CHANGED
|
@@ -38,9 +38,11 @@ import "./interface/keybinding";
|
|
|
38
38
|
import "./interface/settings";
|
|
39
39
|
import "./interface/about";
|
|
40
40
|
import "./interface/action_control";
|
|
41
|
+
import "./interface/toolbars";
|
|
42
|
+
import "./interface/main_tools";
|
|
41
43
|
import "./copy_paste";
|
|
42
44
|
import "./undo";
|
|
43
|
-
import './desktop.
|
|
45
|
+
import './desktop.ts';
|
|
44
46
|
import "./interface/setup_settings";
|
|
45
47
|
import "./interface/settings_window";
|
|
46
48
|
import "./edit_sessions";
|
|
@@ -74,6 +76,7 @@ import "./modeling/mirror_modeling";
|
|
|
74
76
|
import "./modeling/spline_editing";
|
|
75
77
|
import "./modeling/weight_paint";
|
|
76
78
|
import "./modeling/generate_bounding_box";
|
|
79
|
+
import "./find_replace";
|
|
77
80
|
import "./texturing/textures";
|
|
78
81
|
import "./texturing/layers";
|
|
79
82
|
import "./texturing/texture_groups";
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
selection: string;
|
|
9
|
-
};
|
|
10
|
-
calculateWeights(mesh: Mesh): void;
|
|
11
|
-
editVertices(mesh: Mesh, per_vertex: (vkey: string, blend: number) => void): void;
|
|
1
|
+
export declare const ProportionalEdit: {
|
|
2
|
+
vertex_weights: {};
|
|
3
|
+
config: {
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
range: number;
|
|
6
|
+
falloff: string;
|
|
7
|
+
selection: string;
|
|
12
8
|
};
|
|
9
|
+
calculateWeights(mesh: Mesh): void;
|
|
10
|
+
editVertices(mesh: Mesh, per_vertex: (vkey: string, blend: number) => void): void;
|
|
11
|
+
};
|
|
12
|
+
declare global {
|
|
13
|
+
interface BarItemRegistry {
|
|
14
|
+
proportional_editing_range: NumSlider;
|
|
15
|
+
proportional_editing: Toggle;
|
|
16
|
+
}
|
|
13
17
|
}
|
|
14
|
-
|
|
15
|
-
export {};
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
export declare function sameMeshEdge(edge_a: MeshEdge, edge_b: MeshEdge): boolean;
|
|
2
|
+
declare const global: {
|
|
3
|
+
sameMeshEdge: typeof import("./util").sameMeshEdge;
|
|
4
|
+
};
|
|
1
5
|
declare global {
|
|
2
|
-
|
|
6
|
+
const sameMeshEdge: typeof global.sameMeshEdge;
|
|
7
|
+
interface BarItemRegistry {
|
|
8
|
+
selection_mode: BarSelect;
|
|
9
|
+
}
|
|
3
10
|
}
|
|
4
|
-
|
|
5
11
|
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
interface BarItemRegistry {
|
|
3
|
+
opacity_slider: NumSlider;
|
|
4
|
+
weight_brush: Tool;
|
|
5
|
+
slider_weight_brush_size: NumSlider;
|
|
6
|
+
slider_weight_brush_limit: NumSlider;
|
|
7
|
+
weight_brush_xray: Toggle;
|
|
8
|
+
weight_brush_blend_mode: BarSelect;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export {};
|
package/generated/modes.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export declare const Modes: {
|
|
|
52
52
|
edit: boolean;
|
|
53
53
|
paint: boolean;
|
|
54
54
|
pose: boolean;
|
|
55
|
-
mobileModeMenu(button: any, event: any): Menu;
|
|
55
|
+
mobileModeMenu(button: any, event: any): import("./interface/menu").Menu;
|
|
56
56
|
};
|
|
57
57
|
declare const global: {
|
|
58
58
|
Mode: typeof import("./modes").Mode;
|
|
@@ -67,7 +67,7 @@ declare const global: {
|
|
|
67
67
|
edit: boolean;
|
|
68
68
|
paint: boolean;
|
|
69
69
|
pose: boolean;
|
|
70
|
-
mobileModeMenu(button: any, event: any): Menu;
|
|
70
|
+
mobileModeMenu(button: any, event: any): import("./interface/menu").Menu;
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
73
|
declare global {
|
|
@@ -12,6 +12,7 @@ interface OutlinerElementData {
|
|
|
12
12
|
}
|
|
13
13
|
export declare abstract class OutlinerElement extends OutlinerNode {
|
|
14
14
|
allow_mirror_modeling?: boolean;
|
|
15
|
+
faces?: Record<string, Face>;
|
|
15
16
|
static animator?: BoneAnimator;
|
|
16
17
|
static isParent: false;
|
|
17
18
|
static all: OutlinerElement[];
|
|
@@ -44,7 +44,7 @@ export declare class Armature extends OutlinerElement {
|
|
|
44
44
|
icon: string;
|
|
45
45
|
name_regex: () => false | "a-zA-Z0-9_";
|
|
46
46
|
buttons: OutlinerToggle[];
|
|
47
|
-
menu: Menu;
|
|
47
|
+
menu: import("../../interface/menu").Menu;
|
|
48
48
|
static all: Armature[];
|
|
49
49
|
static selected: Armature[];
|
|
50
50
|
}
|
|
@@ -73,7 +73,7 @@ export declare class ArmatureBone extends OutlinerElement {
|
|
|
73
73
|
icon: string;
|
|
74
74
|
name_regex: () => false | "a-zA-Z0-9_";
|
|
75
75
|
buttons: OutlinerToggle[];
|
|
76
|
-
menu: Menu;
|
|
76
|
+
menu: import("../../interface/menu").Menu;
|
|
77
77
|
}
|
|
78
78
|
export declare function getAllArmatureBones(): any[];
|
|
79
79
|
declare const global: {
|
|
@@ -118,7 +118,6 @@ declare global {
|
|
|
118
118
|
* Refresh the dummy face object of this spline, allowing us to paint on it, or to convert it to a Mesh.
|
|
119
119
|
*/
|
|
120
120
|
refreshTubeFaces(): void;
|
|
121
|
-
faces: {};
|
|
122
121
|
getSelectedVertices(make: any): any;
|
|
123
122
|
/**
|
|
124
123
|
Readonly list of selected handles, based on selected vertices.
|
|
@@ -206,7 +205,7 @@ declare global {
|
|
|
206
205
|
isSmoothShaded(): boolean;
|
|
207
206
|
title: string;
|
|
208
207
|
icon: string;
|
|
209
|
-
menu: Menu;
|
|
208
|
+
menu: import("../../interface/menu").Menu;
|
|
210
209
|
buttons: OutlinerToggle[];
|
|
211
210
|
}
|
|
212
211
|
}
|
|
@@ -215,7 +215,7 @@ export declare class Plugin {
|
|
|
215
215
|
fetchChangelog(force?: boolean): Promise<void>;
|
|
216
216
|
getPluginDetails(force_refresh?: boolean): PluginDetails;
|
|
217
217
|
static selected: Plugin | null;
|
|
218
|
-
static menu: Menu;
|
|
218
|
+
static menu: import("./interface/menu").Menu;
|
|
219
219
|
static register(id: string, data: PluginOptions): Plugin;
|
|
220
220
|
}
|
|
221
221
|
export declare const BBPlugin: typeof Plugin;
|