@woven-canvas/core 1.0.4 → 1.0.5
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/build/_tsup-dts-rollup.d.cts +561 -12
- package/build/_tsup-dts-rollup.d.ts +561 -12
- package/build/index.cjs +4024 -1298
- package/build/index.cjs.map +1 -1
- package/build/index.d.cts +72 -2
- package/build/index.d.ts +72 -2
- package/build/index.js +3911 -1219
- package/build/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -75,10 +75,37 @@ declare const AabbSchema: {
|
|
|
75
75
|
|
|
76
76
|
export { addComponent }
|
|
77
77
|
|
|
78
|
+
declare const AddFrameHighlight: CommandDef< {
|
|
79
|
+
frameId: EntityId;
|
|
80
|
+
}>;
|
|
81
|
+
export { AddFrameHighlight }
|
|
82
|
+
export { AddFrameHighlight as AddFrameHighlight_alias_1 }
|
|
83
|
+
export { AddFrameHighlight as AddFrameHighlight_alias_2 }
|
|
84
|
+
|
|
85
|
+
declare const AddHeld: CommandDef< {
|
|
86
|
+
entityId: EntityId;
|
|
87
|
+
}>;
|
|
88
|
+
export { AddHeld }
|
|
89
|
+
export { AddHeld as AddHeld_alias_1 }
|
|
90
|
+
export { AddHeld as AddHeld_alias_2 }
|
|
91
|
+
|
|
78
92
|
declare function addPointerSample(pointer: ReturnType<typeof Pointer.write>, position: Vec2, time: number): void;
|
|
79
93
|
export { addPointerSample }
|
|
80
94
|
export { addPointerSample as addPointerSample_alias_1 }
|
|
81
95
|
|
|
96
|
+
declare const AddSelectionBox: CommandDef<void>;
|
|
97
|
+
export { AddSelectionBox }
|
|
98
|
+
export { AddSelectionBox as AddSelectionBox_alias_1 }
|
|
99
|
+
export { AddSelectionBox as AddSelectionBox_alias_2 }
|
|
100
|
+
|
|
101
|
+
declare const AddTransformBox: CommandDef< {
|
|
102
|
+
transformBoxId: EntityId;
|
|
103
|
+
skipHandles?: boolean;
|
|
104
|
+
}>;
|
|
105
|
+
export { AddTransformBox }
|
|
106
|
+
export { AddTransformBox as AddTransformBox_alias_1 }
|
|
107
|
+
export { AddTransformBox as AddTransformBox_alias_2 }
|
|
108
|
+
|
|
82
109
|
export { AnyCanvasComponentDef }
|
|
83
110
|
|
|
84
111
|
export { AnyCanvasSingletonDef }
|
|
@@ -91,6 +118,16 @@ export { Asset }
|
|
|
91
118
|
export { Asset as Asset_alias_1 }
|
|
92
119
|
export { Asset as Asset_alias_2 }
|
|
93
120
|
|
|
121
|
+
declare const AssignFrameChildren: CommandDef< {
|
|
122
|
+
assignments: Array<{
|
|
123
|
+
entityId: EntityId;
|
|
124
|
+
frameId: EntityId | null;
|
|
125
|
+
}>;
|
|
126
|
+
}>;
|
|
127
|
+
export { AssignFrameChildren }
|
|
128
|
+
export { AssignFrameChildren as AssignFrameChildren_alias_1 }
|
|
129
|
+
export { AssignFrameChildren as AssignFrameChildren_alias_2 }
|
|
130
|
+
|
|
94
131
|
declare function attachKeyboardListeners(domElement: HTMLElement): void;
|
|
95
132
|
export { attachKeyboardListeners }
|
|
96
133
|
export { attachKeyboardListeners as attachKeyboardListeners_alias_1 }
|
|
@@ -145,6 +182,8 @@ export { BlockDef as BlockDef_alias_1 }
|
|
|
145
182
|
|
|
146
183
|
declare class BlockDef_2 extends CanvasComponentDef<typeof BlockSchema> {
|
|
147
184
|
constructor();
|
|
185
|
+
getWorldPosition(ctx: Context, entityId: EntityId, out?: Vec2): Vec2;
|
|
186
|
+
setWorldPosition(ctx: Context, entityId: EntityId, worldPos: Vec2): void;
|
|
148
187
|
getCenter(ctx: Context, entityId: EntityId, out?: Vec2): Vec2;
|
|
149
188
|
setCenter(ctx: Context, entityId: EntityId, center: Vec2): void;
|
|
150
189
|
getCorners(ctx: Context, entityId: EntityId, out?: [Vec2, Vec2, Vec2, Vec2]): [Vec2, Vec2, Vec2, Vec2];
|
|
@@ -174,8 +213,18 @@ declare const BlockSchema: {
|
|
|
174
213
|
flip: TupleFieldBuilder<BooleanFieldBuilder, 2>;
|
|
175
214
|
rank: StringFieldBuilder;
|
|
176
215
|
resizeMode: EnumFieldBuilder<"default" | "scale" | "text" | "free" | "groupOnly">;
|
|
216
|
+
parentId: RefFieldBuilder;
|
|
177
217
|
};
|
|
178
218
|
|
|
219
|
+
declare const blockSystem: EditorSystem;
|
|
220
|
+
export { blockSystem }
|
|
221
|
+
export { blockSystem as blockSystem_alias_1 }
|
|
222
|
+
|
|
223
|
+
declare const BringForwardSelected: CommandDef<void>;
|
|
224
|
+
export { BringForwardSelected }
|
|
225
|
+
export { BringForwardSelected as BringForwardSelected_alias_1 }
|
|
226
|
+
export { BringForwardSelected as BringForwardSelected_alias_2 }
|
|
227
|
+
|
|
179
228
|
declare const Camera: CameraDef;
|
|
180
229
|
export { Camera }
|
|
181
230
|
export { Camera as Camera_alias_1 }
|
|
@@ -229,6 +278,15 @@ export { CanvasComponentDef }
|
|
|
229
278
|
|
|
230
279
|
export { CanvasSingletonDef }
|
|
231
280
|
|
|
281
|
+
declare const captureFrameContainmentSystem: EditorSystem;
|
|
282
|
+
export { captureFrameContainmentSystem }
|
|
283
|
+
export { captureFrameContainmentSystem as captureFrameContainmentSystem_alias_1 }
|
|
284
|
+
|
|
285
|
+
declare function cascadeDelete(ctx: Context, entityId: EntityId): void;
|
|
286
|
+
export { cascadeDelete }
|
|
287
|
+
export { cascadeDelete as cascadeDelete_alias_1 }
|
|
288
|
+
export { cascadeDelete as cascadeDelete_alias_2 }
|
|
289
|
+
|
|
232
290
|
export declare function cleanupCommands(ctx: Context): void;
|
|
233
291
|
|
|
234
292
|
declare function clearBits(buffer: {
|
|
@@ -243,6 +301,15 @@ export { clearPointerTrackingState }
|
|
|
243
301
|
export { clearPointerTrackingState as clearPointerTrackingState_alias_1 }
|
|
244
302
|
export { clearPointerTrackingState as clearPointerTrackingState_alias_2 }
|
|
245
303
|
|
|
304
|
+
declare const CloneEntities: CommandDef< {
|
|
305
|
+
entityIds: EntityId[];
|
|
306
|
+
offset: Vec2;
|
|
307
|
+
seed: string;
|
|
308
|
+
}>;
|
|
309
|
+
export { CloneEntities }
|
|
310
|
+
export { CloneEntities as CloneEntities_alias_1 }
|
|
311
|
+
export { CloneEntities as CloneEntities_alias_2 }
|
|
312
|
+
|
|
246
313
|
declare const codeToIndex: Record<string, number>;
|
|
247
314
|
export { codeToIndex }
|
|
248
315
|
export { codeToIndex as codeToIndex_alias_1 }
|
|
@@ -283,10 +350,21 @@ name: StringFieldBuilder;
|
|
|
283
350
|
export { CommandMarker }
|
|
284
351
|
export { CommandMarker as CommandMarker_alias_1 }
|
|
285
352
|
|
|
353
|
+
declare function compareBlockOrder(getBlock: (id: unknown) => SortableBlock | null, a: SortableBlock, b: SortableBlock): number;
|
|
354
|
+
export { compareBlockOrder }
|
|
355
|
+
export { compareBlockOrder as compareBlockOrder_alias_1 }
|
|
356
|
+
export { compareBlockOrder as compareBlockOrder_alias_2 }
|
|
357
|
+
|
|
286
358
|
export { ComponentDef }
|
|
287
359
|
|
|
288
360
|
export { ComponentSchema }
|
|
289
361
|
|
|
362
|
+
declare type ComponentSchema_2 = Record<string, {
|
|
363
|
+
def?: {
|
|
364
|
+
type?: string;
|
|
365
|
+
};
|
|
366
|
+
}>;
|
|
367
|
+
|
|
290
368
|
declare function computeAabb(ctx: Context, entityId: EntityId, out: Aabb_2): void;
|
|
291
369
|
export { computeAabb }
|
|
292
370
|
export { computeAabb as computeAabb_alias_1 }
|
|
@@ -340,13 +418,38 @@ declare const ControlsSchema: {
|
|
|
340
418
|
wheelTool: StringFieldBuilder;
|
|
341
419
|
modWheelTool: StringFieldBuilder;
|
|
342
420
|
heldSnapshot: StringFieldBuilder;
|
|
421
|
+
activeToolName: StringFieldBuilder;
|
|
343
422
|
};
|
|
344
423
|
|
|
424
|
+
declare function convertRefsToUuids(ctx: Context, schema: ComponentSchema_2, data: Record<string, unknown>): Record<string, unknown>;
|
|
425
|
+
export { convertRefsToUuids }
|
|
426
|
+
export { convertRefsToUuids as convertRefsToUuids_alias_1 }
|
|
427
|
+
export { convertRefsToUuids as convertRefsToUuids_alias_2 }
|
|
428
|
+
|
|
345
429
|
export declare const CORE_PLUGIN_NAME = "core";
|
|
346
430
|
|
|
347
|
-
declare
|
|
348
|
-
export {
|
|
349
|
-
export {
|
|
431
|
+
declare type CorePluginOptions = z.output<typeof CorePluginOptionsSchema>;
|
|
432
|
+
export { CorePluginOptions }
|
|
433
|
+
export { CorePluginOptions as CorePluginOptions_alias_1 }
|
|
434
|
+
|
|
435
|
+
declare type CorePluginOptionsInput = z.input<typeof CorePluginOptionsSchema>;
|
|
436
|
+
export { CorePluginOptionsInput }
|
|
437
|
+
export { CorePluginOptionsInput as CorePluginOptionsInput_alias_1 }
|
|
438
|
+
|
|
439
|
+
declare const CorePluginOptionsSchema: z.ZodObject<{
|
|
440
|
+
edgeScrolling: z.ZodDefault<z.ZodObject<{
|
|
441
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
442
|
+
edgeSizePx: z.ZodDefault<z.ZodNumber>;
|
|
443
|
+
edgeScrollSpeedPxPerFrame: z.ZodDefault<z.ZodNumber>;
|
|
444
|
+
edgeScrollDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
445
|
+
}, z.core.$strip>>;
|
|
446
|
+
}, z.core.$strip>;
|
|
447
|
+
export { CorePluginOptionsSchema }
|
|
448
|
+
export { CorePluginOptionsSchema as CorePluginOptionsSchema_alias_1 }
|
|
449
|
+
|
|
450
|
+
declare function createCorePlugin(options?: CorePluginOptionsInput): EditorPlugin<CorePluginOptions>;
|
|
451
|
+
export { createCorePlugin }
|
|
452
|
+
export { createCorePlugin as createCorePlugin_alias_1 }
|
|
350
453
|
|
|
351
454
|
export { createEntity }
|
|
352
455
|
|
|
@@ -380,6 +483,24 @@ declare type CursorDefMap = Partial<Record<string, CursorDef>>;
|
|
|
380
483
|
export { CursorDefMap }
|
|
381
484
|
export { CursorDefMap as CursorDefMap_alias_1 }
|
|
382
485
|
|
|
486
|
+
declare enum CursorKind {
|
|
487
|
+
Drag = "drag",
|
|
488
|
+
NESW = "nesw",
|
|
489
|
+
NWSE = "nwse",
|
|
490
|
+
NS = "ns",
|
|
491
|
+
EW = "ew",
|
|
492
|
+
RotateNW = "rotateNW",
|
|
493
|
+
RotateNE = "rotateNE",
|
|
494
|
+
RotateSW = "rotateSW",
|
|
495
|
+
RotateSE = "rotateSE"
|
|
496
|
+
}
|
|
497
|
+
export { CursorKind }
|
|
498
|
+
export { CursorKind as CursorKind_alias_1 }
|
|
499
|
+
|
|
500
|
+
declare const CURSORS: Record<string, CursorDef>;
|
|
501
|
+
export { CURSORS }
|
|
502
|
+
export { CURSORS as CURSORS_alias_1 }
|
|
503
|
+
|
|
383
504
|
declare const CursorSchema: {
|
|
384
505
|
cursorKind: StringFieldBuilder;
|
|
385
506
|
rotation: NumberFieldBuilder<"float64">;
|
|
@@ -413,6 +534,28 @@ export { defineQuery }
|
|
|
413
534
|
|
|
414
535
|
export { defineSystem }
|
|
415
536
|
|
|
537
|
+
declare const DeselectAll: CommandDef<void>;
|
|
538
|
+
export { DeselectAll }
|
|
539
|
+
export { DeselectAll as DeselectAll_alias_1 }
|
|
540
|
+
export { DeselectAll as DeselectAll_alias_2 }
|
|
541
|
+
|
|
542
|
+
declare function deselectAll(ctx: Context): void;
|
|
543
|
+
export { deselectAll }
|
|
544
|
+
export { deselectAll as deselectAll_alias_1 }
|
|
545
|
+
export { deselectAll as deselectAll_alias_2 }
|
|
546
|
+
|
|
547
|
+
declare const DeselectBlock: CommandDef< {
|
|
548
|
+
entityId: EntityId;
|
|
549
|
+
}>;
|
|
550
|
+
export { DeselectBlock }
|
|
551
|
+
export { DeselectBlock as DeselectBlock_alias_1 }
|
|
552
|
+
export { DeselectBlock as DeselectBlock_alias_2 }
|
|
553
|
+
|
|
554
|
+
declare function deselectBlock(ctx: Context, entityId: EntityId): void;
|
|
555
|
+
export { deselectBlock }
|
|
556
|
+
export { deselectBlock as deselectBlock_alias_1 }
|
|
557
|
+
export { deselectBlock as deselectBlock_alias_2 }
|
|
558
|
+
|
|
416
559
|
declare function detachKeyboardListeners(domElement: HTMLElement): void;
|
|
417
560
|
export { detachKeyboardListeners }
|
|
418
561
|
export { detachKeyboardListeners as detachKeyboardListeners_alias_1 }
|
|
@@ -434,6 +577,39 @@ export { detectEmbedProvider }
|
|
|
434
577
|
export { detectEmbedProvider as detectEmbedProvider_alias_1 }
|
|
435
578
|
export { detectEmbedProvider as detectEmbedProvider_alias_2 }
|
|
436
579
|
|
|
580
|
+
declare const DragBlock: CommandDef< {
|
|
581
|
+
entityId: EntityId;
|
|
582
|
+
position: Vec2;
|
|
583
|
+
}>;
|
|
584
|
+
export { DragBlock }
|
|
585
|
+
export { DragBlock as DragBlock_alias_1 }
|
|
586
|
+
export { DragBlock as DragBlock_alias_2 }
|
|
587
|
+
|
|
588
|
+
declare const dragHandlerSystem: EditorSystem;
|
|
589
|
+
export { dragHandlerSystem }
|
|
590
|
+
export { dragHandlerSystem as dragHandlerSystem_alias_1 }
|
|
591
|
+
|
|
592
|
+
declare const DragStart: CanvasComponentDef< {
|
|
593
|
+
position: TupleFieldBuilder<NumberFieldBuilder<"float64">, 2>;
|
|
594
|
+
size: TupleFieldBuilder<NumberFieldBuilder<"float64">, 2>;
|
|
595
|
+
rotateZ: NumberFieldBuilder<"float64">;
|
|
596
|
+
flip: TupleFieldBuilder<BooleanFieldBuilder, 2>;
|
|
597
|
+
fontSize: NumberFieldBuilder<"float64">;
|
|
598
|
+
}, "dragStart">;
|
|
599
|
+
export { DragStart }
|
|
600
|
+
export { DragStart as DragStart_alias_1 }
|
|
601
|
+
export { DragStart as DragStart_alias_2 }
|
|
602
|
+
|
|
603
|
+
declare const DuplicateSelected: CommandDef<void>;
|
|
604
|
+
export { DuplicateSelected }
|
|
605
|
+
export { DuplicateSelected as DuplicateSelected_alias_1 }
|
|
606
|
+
export { DuplicateSelected as DuplicateSelected_alias_2 }
|
|
607
|
+
|
|
608
|
+
declare const EditAfterPlacing: CanvasComponentDef< {}, "editAfterPlacing">;
|
|
609
|
+
export { EditAfterPlacing }
|
|
610
|
+
export { EditAfterPlacing as EditAfterPlacing_alias_1 }
|
|
611
|
+
export { EditAfterPlacing as EditAfterPlacing_alias_2 }
|
|
612
|
+
|
|
437
613
|
declare const Edited: CanvasComponentDef< {}, "edited">;
|
|
438
614
|
export { Edited }
|
|
439
615
|
export { Edited as Edited_alias_1 }
|
|
@@ -476,6 +652,21 @@ export { EditorOptionsInput as EditorOptionsInput_alias_1 }
|
|
|
476
652
|
|
|
477
653
|
export declare const EditorOptionsSchema: z.ZodObject<{
|
|
478
654
|
plugins: z.ZodDefault<z.ZodArray<z.ZodCustom<EditorPluginInput, EditorPluginInput>>>;
|
|
655
|
+
corePlugin: z.ZodDefault<z.ZodCustom<{
|
|
656
|
+
edgeScrolling?: {
|
|
657
|
+
enabled?: boolean | undefined;
|
|
658
|
+
edgeSizePx?: number | undefined;
|
|
659
|
+
edgeScrollSpeedPxPerFrame?: number | undefined;
|
|
660
|
+
edgeScrollDelayMs?: number | undefined;
|
|
661
|
+
} | undefined;
|
|
662
|
+
}, {
|
|
663
|
+
edgeScrolling?: {
|
|
664
|
+
enabled?: boolean | undefined;
|
|
665
|
+
edgeSizePx?: number | undefined;
|
|
666
|
+
edgeScrollSpeedPxPerFrame?: number | undefined;
|
|
667
|
+
edgeScrollDelayMs?: number | undefined;
|
|
668
|
+
} | undefined;
|
|
669
|
+
}>>;
|
|
479
670
|
maxEntities: z.ZodDefault<z.ZodNumber>;
|
|
480
671
|
user: z.ZodDefault<z.ZodCustom<{
|
|
481
672
|
userId?: string | undefined;
|
|
@@ -694,6 +885,11 @@ export { EmbedProvider }
|
|
|
694
885
|
export { EmbedProvider as EmbedProvider_alias_1 }
|
|
695
886
|
export { EmbedProvider as EmbedProvider_alias_2 }
|
|
696
887
|
|
|
888
|
+
declare const EndTransformBoxEdit: CommandDef<void>;
|
|
889
|
+
export { EndTransformBoxEdit }
|
|
890
|
+
export { EndTransformBoxEdit as EndTransformBoxEdit_alias_1 }
|
|
891
|
+
export { EndTransformBoxEdit as EndTransformBoxEdit_alias_2 }
|
|
892
|
+
|
|
697
893
|
export { EntityId }
|
|
698
894
|
export { EntityId as EntityId_alias_1 }
|
|
699
895
|
|
|
@@ -701,6 +897,11 @@ export { EventType }
|
|
|
701
897
|
|
|
702
898
|
export { field }
|
|
703
899
|
|
|
900
|
+
declare function findFrameAtPoint(ctx: Context, point: [number, number], exclude?: EntityId | null): EntityId | null;
|
|
901
|
+
export { findFrameAtPoint }
|
|
902
|
+
export { findFrameAtPoint as findFrameAtPoint_alias_1 }
|
|
903
|
+
export { findFrameAtPoint as findFrameAtPoint_alias_2 }
|
|
904
|
+
|
|
704
905
|
declare const FontFamily: z.ZodObject<{
|
|
705
906
|
name: z.ZodString;
|
|
706
907
|
displayName: z.ZodString;
|
|
@@ -732,16 +933,39 @@ declare class FontLoader {
|
|
|
732
933
|
export { FontLoader }
|
|
733
934
|
export { FontLoader as FontLoader_alias_1 }
|
|
734
935
|
|
|
735
|
-
declare const Frame:
|
|
736
|
-
|
|
737
|
-
delta: NumberFieldBuilder<"float64">;
|
|
738
|
-
time: NumberFieldBuilder<"float64">;
|
|
739
|
-
lastTime: NumberFieldBuilder<"float64">;
|
|
936
|
+
declare const Frame: CanvasComponentDef< {
|
|
937
|
+
label: StringFieldBuilder;
|
|
740
938
|
}, "frame">;
|
|
741
939
|
export { Frame }
|
|
742
940
|
export { Frame as Frame_alias_1 }
|
|
743
941
|
export { Frame as Frame_alias_2 }
|
|
744
942
|
|
|
943
|
+
export declare const FRAME_EDGE_THICKNESS = 12;
|
|
944
|
+
|
|
945
|
+
declare const FrameContainmentState: EditorStateDef< {
|
|
946
|
+
state: StringFieldBuilder;
|
|
947
|
+
highlightedFrame: RefFieldBuilder;
|
|
948
|
+
}>;
|
|
949
|
+
export { FrameContainmentState }
|
|
950
|
+
export { FrameContainmentState as FrameContainmentState_alias_1 }
|
|
951
|
+
export { FrameContainmentState as FrameContainmentState_alias_2 }
|
|
952
|
+
|
|
953
|
+
declare const FrameContainmentStateEnum: {
|
|
954
|
+
readonly Idle: "idle";
|
|
955
|
+
readonly Tracking: "tracking";
|
|
956
|
+
};
|
|
957
|
+
export { FrameContainmentStateEnum }
|
|
958
|
+
export { FrameContainmentStateEnum as FrameContainmentStateEnum_alias_1 }
|
|
959
|
+
|
|
960
|
+
declare type FrameContainmentStateValue = (typeof FrameContainmentStateEnum)[keyof typeof FrameContainmentStateEnum];
|
|
961
|
+
export { FrameContainmentStateValue }
|
|
962
|
+
export { FrameContainmentStateValue as FrameContainmentStateValue_alias_1 }
|
|
963
|
+
|
|
964
|
+
declare const FrameDropTarget: CanvasComponentDef< {}, "frameDropTarget">;
|
|
965
|
+
export { FrameDropTarget }
|
|
966
|
+
export { FrameDropTarget as FrameDropTarget_alias_1 }
|
|
967
|
+
export { FrameDropTarget as FrameDropTarget_alias_2 }
|
|
968
|
+
|
|
745
969
|
declare interface FrameInput {
|
|
746
970
|
type: 'frame';
|
|
747
971
|
ctx: Context;
|
|
@@ -753,9 +977,10 @@ export { FrameInput }
|
|
|
753
977
|
export { FrameInput as FrameInput_alias_1 }
|
|
754
978
|
export { FrameInput as FrameInput_alias_2 }
|
|
755
979
|
|
|
756
|
-
declare
|
|
757
|
-
export {
|
|
758
|
-
export {
|
|
980
|
+
declare function generateUuidBySeed(originalUuid: string, generatorSeed: string | number): string;
|
|
981
|
+
export { generateUuidBySeed }
|
|
982
|
+
export { generateUuidBySeed as generateUuidBySeed_alias_1 }
|
|
983
|
+
export { generateUuidBySeed as generateUuidBySeed_alias_2 }
|
|
759
984
|
|
|
760
985
|
export { getBackrefs }
|
|
761
986
|
|
|
@@ -773,8 +998,23 @@ export { getBlockResizeMode }
|
|
|
773
998
|
export { getBlockResizeMode as getBlockResizeMode_alias_1 }
|
|
774
999
|
export { getBlockResizeMode as getBlockResizeMode_alias_2 }
|
|
775
1000
|
|
|
1001
|
+
declare function getChildren(ctx: Context, parentId: EntityId): EntityId[];
|
|
1002
|
+
export { getChildren }
|
|
1003
|
+
export { getChildren as getChildren_alias_1 }
|
|
1004
|
+
export { getChildren as getChildren_alias_2 }
|
|
1005
|
+
|
|
776
1006
|
export declare function getCursorSvg(cursors: Record<string, CursorDef>, kind: string, rotateZ: number): string;
|
|
777
1007
|
|
|
1008
|
+
declare function getDescendants(ctx: Context, parentId: EntityId): EntityId[];
|
|
1009
|
+
export { getDescendants }
|
|
1010
|
+
export { getDescendants as getDescendants_alias_1 }
|
|
1011
|
+
export { getDescendants as getDescendants_alias_2 }
|
|
1012
|
+
|
|
1013
|
+
declare function getEntityUuid(ctx: Context, entityId: EntityId | null | undefined): string | null;
|
|
1014
|
+
export { getEntityUuid }
|
|
1015
|
+
export { getEntityUuid as getEntityUuid_alias_1 }
|
|
1016
|
+
export { getEntityUuid as getEntityUuid_alias_2 }
|
|
1017
|
+
|
|
778
1018
|
declare function getFrameInput(ctx: Context): FrameInput;
|
|
779
1019
|
export { getFrameInput }
|
|
780
1020
|
export { getFrameInput as getFrameInput_alias_1 }
|
|
@@ -803,6 +1043,11 @@ export { getPointerInput }
|
|
|
803
1043
|
export { getPointerInput as getPointerInput_alias_1 }
|
|
804
1044
|
export { getPointerInput as getPointerInput_alias_2 }
|
|
805
1045
|
|
|
1046
|
+
declare function getRefFieldNames(schema: ComponentSchema_2): string[];
|
|
1047
|
+
export { getRefFieldNames }
|
|
1048
|
+
export { getRefFieldNames as getRefFieldNames_alias_1 }
|
|
1049
|
+
export { getRefFieldNames as getRefFieldNames_alias_2 }
|
|
1050
|
+
|
|
806
1051
|
export { getResources }
|
|
807
1052
|
|
|
808
1053
|
declare function getTopmostBlockAtPoint(ctx: Context, point: Vec2): EntityId | undefined;
|
|
@@ -810,6 +1055,11 @@ export { getTopmostBlockAtPoint }
|
|
|
810
1055
|
export { getTopmostBlockAtPoint as getTopmostBlockAtPoint_alias_1 }
|
|
811
1056
|
export { getTopmostBlockAtPoint as getTopmostBlockAtPoint_alias_2 }
|
|
812
1057
|
|
|
1058
|
+
declare function getWorldPosition(ctx: Context, entityId: EntityId, out?: Vec2): Vec2;
|
|
1059
|
+
export { getWorldPosition }
|
|
1060
|
+
export { getWorldPosition as getWorldPosition_alias_1 }
|
|
1061
|
+
export { getWorldPosition as getWorldPosition_alias_2 }
|
|
1062
|
+
|
|
813
1063
|
declare const Grid: GridDef;
|
|
814
1064
|
export { Grid }
|
|
815
1065
|
export { Grid as Grid_alias_1 }
|
|
@@ -858,6 +1108,13 @@ export { Held }
|
|
|
858
1108
|
export { Held as Held_alias_1 }
|
|
859
1109
|
export { Held as Held_alias_2 }
|
|
860
1110
|
|
|
1111
|
+
declare const HideTransformBox: CommandDef< {
|
|
1112
|
+
transformBoxId: EntityId;
|
|
1113
|
+
}>;
|
|
1114
|
+
export { HideTransformBox }
|
|
1115
|
+
export { HideTransformBox as HideTransformBox_alias_1 }
|
|
1116
|
+
export { HideTransformBox as HideTransformBox_alias_2 }
|
|
1117
|
+
|
|
861
1118
|
declare const HitGeometry: HitGeometryDef;
|
|
862
1119
|
export { HitGeometry }
|
|
863
1120
|
export { HitGeometry as HitGeometry_alias_1 }
|
|
@@ -888,6 +1145,10 @@ declare const HitGeometrySchema: {
|
|
|
888
1145
|
arcCount: NumberFieldBuilder<"uint16">;
|
|
889
1146
|
};
|
|
890
1147
|
|
|
1148
|
+
declare const hoverCursorSystem: EditorSystem;
|
|
1149
|
+
export { hoverCursorSystem }
|
|
1150
|
+
export { hoverCursorSystem as hoverCursorSystem_alias_1 }
|
|
1151
|
+
|
|
891
1152
|
declare const Hovered: CanvasComponentDef< {}, "hovered">;
|
|
892
1153
|
export { Hovered }
|
|
893
1154
|
export { Hovered as Hovered_alias_1 }
|
|
@@ -952,6 +1213,11 @@ export { intersectSystem as intersectSystem_alias_1 }
|
|
|
952
1213
|
|
|
953
1214
|
export { isAlive }
|
|
954
1215
|
|
|
1216
|
+
declare function isAncestor(ctx: Context, entityId: EntityId, candidateAncestor: EntityId): boolean;
|
|
1217
|
+
export { isAncestor }
|
|
1218
|
+
export { isAncestor as isAncestor_alias_1 }
|
|
1219
|
+
export { isAncestor as isAncestor_alias_2 }
|
|
1220
|
+
|
|
955
1221
|
declare function isHeldByRemote(ctx: Context, entityId: EntityId): boolean;
|
|
956
1222
|
export { isHeldByRemote }
|
|
957
1223
|
export { isHeldByRemote as isHeldByRemote_alias_1 }
|
|
@@ -1272,7 +1538,7 @@ declare const PointerSchema: {
|
|
|
1272
1538
|
position: TupleFieldBuilder<NumberFieldBuilder<"float32">, 2>;
|
|
1273
1539
|
downPosition: TupleFieldBuilder<NumberFieldBuilder<"float32">, 2>;
|
|
1274
1540
|
downFrame: NumberFieldBuilder<"uint32">;
|
|
1275
|
-
button: EnumFieldBuilder<"left" | "
|
|
1541
|
+
button: EnumFieldBuilder<"left" | "right" | "none" | "middle" | "back" | "forward">;
|
|
1276
1542
|
pointerType: EnumFieldBuilder<"mouse" | "pen" | "touch">;
|
|
1277
1543
|
pressure: NumberFieldBuilder<"float32">;
|
|
1278
1544
|
obscured: BooleanFieldBuilder;
|
|
@@ -1337,10 +1603,48 @@ declare const Redo: CommandDef<void>;
|
|
|
1337
1603
|
export { Redo }
|
|
1338
1604
|
export { Redo as Redo_alias_1 }
|
|
1339
1605
|
|
|
1606
|
+
declare const RemoveBlock: CommandDef< {
|
|
1607
|
+
entityId: EntityId;
|
|
1608
|
+
}>;
|
|
1609
|
+
export { RemoveBlock }
|
|
1610
|
+
export { RemoveBlock as RemoveBlock_alias_1 }
|
|
1611
|
+
export { RemoveBlock as RemoveBlock_alias_2 }
|
|
1612
|
+
|
|
1340
1613
|
export { removeComponent }
|
|
1341
1614
|
|
|
1342
1615
|
export { removeEntity }
|
|
1343
1616
|
|
|
1617
|
+
declare const RemoveFrameHighlight: CommandDef< {
|
|
1618
|
+
frameId: EntityId;
|
|
1619
|
+
}>;
|
|
1620
|
+
export { RemoveFrameHighlight }
|
|
1621
|
+
export { RemoveFrameHighlight as RemoveFrameHighlight_alias_1 }
|
|
1622
|
+
export { RemoveFrameHighlight as RemoveFrameHighlight_alias_2 }
|
|
1623
|
+
|
|
1624
|
+
declare const RemoveHeld: CommandDef< {
|
|
1625
|
+
entityId: EntityId;
|
|
1626
|
+
}>;
|
|
1627
|
+
export { RemoveHeld }
|
|
1628
|
+
export { RemoveHeld as RemoveHeld_alias_1 }
|
|
1629
|
+
export { RemoveHeld as RemoveHeld_alias_2 }
|
|
1630
|
+
|
|
1631
|
+
declare const RemoveSelected: CommandDef<void>;
|
|
1632
|
+
export { RemoveSelected }
|
|
1633
|
+
export { RemoveSelected as RemoveSelected_alias_1 }
|
|
1634
|
+
export { RemoveSelected as RemoveSelected_alias_2 }
|
|
1635
|
+
|
|
1636
|
+
declare const RemoveSelectionBox: CommandDef<void>;
|
|
1637
|
+
export { RemoveSelectionBox }
|
|
1638
|
+
export { RemoveSelectionBox as RemoveSelectionBox_alias_1 }
|
|
1639
|
+
export { RemoveSelectionBox as RemoveSelectionBox_alias_2 }
|
|
1640
|
+
|
|
1641
|
+
declare const RemoveTransformBox: CommandDef< {
|
|
1642
|
+
transformBoxId: EntityId;
|
|
1643
|
+
}>;
|
|
1644
|
+
export { RemoveTransformBox }
|
|
1645
|
+
export { RemoveTransformBox as RemoveTransformBox_alias_1 }
|
|
1646
|
+
export { RemoveTransformBox as RemoveTransformBox_alias_2 }
|
|
1647
|
+
|
|
1344
1648
|
declare const ResetKeyboard: CommandDef<void>;
|
|
1345
1649
|
export { ResetKeyboard }
|
|
1346
1650
|
export { ResetKeyboard as ResetKeyboard_alias_1 }
|
|
@@ -1362,6 +1666,14 @@ export { resolveEmbedUrl }
|
|
|
1362
1666
|
export { resolveEmbedUrl as resolveEmbedUrl_alias_1 }
|
|
1363
1667
|
export { resolveEmbedUrl as resolveEmbedUrl_alias_2 }
|
|
1364
1668
|
|
|
1669
|
+
declare function resolveRefFields(ctx: Context, entityId: EntityId, componentDef: {
|
|
1670
|
+
schema: ComponentSchema_2;
|
|
1671
|
+
write: (ctx: Context, entityId: EntityId) => Record<string, unknown>;
|
|
1672
|
+
}, componentData: Record<string, unknown>, uuidToEntityId: Map<string, EntityId>): void;
|
|
1673
|
+
export { resolveRefFields }
|
|
1674
|
+
export { resolveRefFields as resolveRefFields_alias_1 }
|
|
1675
|
+
export { resolveRefFields as resolveRefFields_alias_2 }
|
|
1676
|
+
|
|
1365
1677
|
declare function runMachine<TState extends string, TContext extends object>(machine: AnyStateMachine, currentState: TState, context: TContext, events: Array<{
|
|
1366
1678
|
type: string;
|
|
1367
1679
|
[key: string]: unknown;
|
|
@@ -1413,6 +1725,100 @@ declare const screenSystem: EditorSystem;
|
|
|
1413
1725
|
export { screenSystem }
|
|
1414
1726
|
export { screenSystem as screenSystem_alias_1 }
|
|
1415
1727
|
|
|
1728
|
+
declare const ScrollEdgesState: {
|
|
1729
|
+
readonly Idle: "idle";
|
|
1730
|
+
readonly Waiting: "waiting";
|
|
1731
|
+
readonly Scrolling: "scrolling";
|
|
1732
|
+
};
|
|
1733
|
+
|
|
1734
|
+
declare type ScrollEdgesState = (typeof ScrollEdgesState)[keyof typeof ScrollEdgesState];
|
|
1735
|
+
export { ScrollEdgesState }
|
|
1736
|
+
export { ScrollEdgesState as ScrollEdgesState_alias_1 }
|
|
1737
|
+
|
|
1738
|
+
declare const ScrollEdgesStateSingleton: EditorStateDef< {
|
|
1739
|
+
state: EnumFieldBuilder<"idle" | "waiting" | "scrolling">;
|
|
1740
|
+
edgeEnterStartTime: NumberFieldBuilder<"float64">;
|
|
1741
|
+
}>;
|
|
1742
|
+
export { ScrollEdgesStateSingleton }
|
|
1743
|
+
export { ScrollEdgesStateSingleton as ScrollEdgesStateSingleton_alias_1 }
|
|
1744
|
+
export { ScrollEdgesStateSingleton as ScrollEdgesStateSingleton_alias_2 }
|
|
1745
|
+
|
|
1746
|
+
declare const scrollEdgesSystem: EditorSystem;
|
|
1747
|
+
export { scrollEdgesSystem }
|
|
1748
|
+
export { scrollEdgesSystem as scrollEdgesSystem_alias_1 }
|
|
1749
|
+
|
|
1750
|
+
declare const SelectAll: CommandDef<void>;
|
|
1751
|
+
export { SelectAll }
|
|
1752
|
+
export { SelectAll as SelectAll_alias_1 }
|
|
1753
|
+
export { SelectAll as SelectAll_alias_2 }
|
|
1754
|
+
|
|
1755
|
+
declare function selectAll(ctx: Context): void;
|
|
1756
|
+
export { selectAll }
|
|
1757
|
+
export { selectAll as selectAll_alias_1 }
|
|
1758
|
+
export { selectAll as selectAll_alias_2 }
|
|
1759
|
+
|
|
1760
|
+
declare const SelectBlock: CommandDef< {
|
|
1761
|
+
entityId: EntityId;
|
|
1762
|
+
deselectOthers?: boolean;
|
|
1763
|
+
}>;
|
|
1764
|
+
export { SelectBlock }
|
|
1765
|
+
export { SelectBlock as SelectBlock_alias_1 }
|
|
1766
|
+
export { SelectBlock as SelectBlock_alias_2 }
|
|
1767
|
+
|
|
1768
|
+
declare function selectBlock(ctx: Context, entityId: EntityId): void;
|
|
1769
|
+
export { selectBlock }
|
|
1770
|
+
export { selectBlock as selectBlock_alias_1 }
|
|
1771
|
+
export { selectBlock as selectBlock_alias_2 }
|
|
1772
|
+
|
|
1773
|
+
declare const Selected: CanvasComponentDef< {}, "selected">;
|
|
1774
|
+
export { Selected }
|
|
1775
|
+
export { Selected as Selected_alias_1 }
|
|
1776
|
+
export { Selected as Selected_alias_2 }
|
|
1777
|
+
|
|
1778
|
+
declare const SelectionBox: CanvasComponentDef< {}, "selectionBox">;
|
|
1779
|
+
export { SelectionBox }
|
|
1780
|
+
export { SelectionBox as SelectionBox_alias_1 }
|
|
1781
|
+
export { SelectionBox as SelectionBox_alias_2 }
|
|
1782
|
+
|
|
1783
|
+
declare const SelectionState: {
|
|
1784
|
+
readonly Idle: "idle";
|
|
1785
|
+
readonly Pointing: "pointing";
|
|
1786
|
+
readonly Dragging: "dragging";
|
|
1787
|
+
readonly SelectionBoxPointing: "selectionBoxPointing";
|
|
1788
|
+
readonly SelectionBoxDragging: "selectionBoxDragging";
|
|
1789
|
+
};
|
|
1790
|
+
|
|
1791
|
+
declare type SelectionState = (typeof SelectionState)[keyof typeof SelectionState];
|
|
1792
|
+
export { SelectionState }
|
|
1793
|
+
export { SelectionState as SelectionState_alias_1 }
|
|
1794
|
+
|
|
1795
|
+
declare const SelectionStateSingleton: EditorStateDef< {
|
|
1796
|
+
state: EnumFieldBuilder<"idle" | "pointing" | "dragging" | "selectionBoxPointing" | "selectionBoxDragging">;
|
|
1797
|
+
dragStart: TupleFieldBuilder<NumberFieldBuilder<"float64">, 2>;
|
|
1798
|
+
pointingStartClient: TupleFieldBuilder<NumberFieldBuilder<"float64">, 2>;
|
|
1799
|
+
pointingStartWorld: TupleFieldBuilder<NumberFieldBuilder<"float64">, 2>;
|
|
1800
|
+
draggedEntityStart: TupleFieldBuilder<NumberFieldBuilder<"float64">, 2>;
|
|
1801
|
+
draggedEntity: RefFieldBuilder;
|
|
1802
|
+
cloneGeneratorSeed: StringFieldBuilder;
|
|
1803
|
+
isCloning: BooleanFieldBuilder;
|
|
1804
|
+
}>;
|
|
1805
|
+
export { SelectionStateSingleton }
|
|
1806
|
+
export { SelectionStateSingleton as SelectionStateSingleton_alias_1 }
|
|
1807
|
+
export { SelectionStateSingleton as SelectionStateSingleton_alias_2 }
|
|
1808
|
+
|
|
1809
|
+
declare const selectSystem: EditorSystem;
|
|
1810
|
+
export { selectSystem }
|
|
1811
|
+
export { selectSystem as selectSystem_alias_1 }
|
|
1812
|
+
|
|
1813
|
+
declare const selectSystem_2: EditorSystem;
|
|
1814
|
+
export { selectSystem_2 as selectSystem_alias_2 }
|
|
1815
|
+
export { selectSystem_2 as selectSystem_alias_3 }
|
|
1816
|
+
|
|
1817
|
+
declare const SendBackwardSelected: CommandDef<void>;
|
|
1818
|
+
export { SendBackwardSelected }
|
|
1819
|
+
export { SendBackwardSelected as SendBackwardSelected_alias_1 }
|
|
1820
|
+
export { SendBackwardSelected as SendBackwardSelected_alias_2 }
|
|
1821
|
+
|
|
1416
1822
|
declare function setBit(buffer: {
|
|
1417
1823
|
[index: number]: number;
|
|
1418
1824
|
length: number;
|
|
@@ -1420,6 +1826,16 @@ declare function setBit(buffer: {
|
|
|
1420
1826
|
export { setBit }
|
|
1421
1827
|
export { setBit as setBit_alias_1 }
|
|
1422
1828
|
|
|
1829
|
+
declare const SetCursor: CommandDef< {
|
|
1830
|
+
cursorKind?: string;
|
|
1831
|
+
rotation?: number;
|
|
1832
|
+
contextCursorKind?: string;
|
|
1833
|
+
contextRotation?: number;
|
|
1834
|
+
}>;
|
|
1835
|
+
export { SetCursor }
|
|
1836
|
+
export { SetCursor as SetCursor_alias_1 }
|
|
1837
|
+
export { SetCursor as SetCursor_alias_2 }
|
|
1838
|
+
|
|
1423
1839
|
declare const Shape: CanvasComponentDef< {
|
|
1424
1840
|
kind: StringFieldBuilder;
|
|
1425
1841
|
strokeKind: EnumFieldBuilder<"none" | "solid" | "dashed">;
|
|
@@ -1437,12 +1853,35 @@ export { Shape }
|
|
|
1437
1853
|
export { Shape as Shape_alias_1 }
|
|
1438
1854
|
export { Shape as Shape_alias_2 }
|
|
1439
1855
|
|
|
1856
|
+
declare const ShowTransformBox: CommandDef< {
|
|
1857
|
+
transformBoxId: EntityId;
|
|
1858
|
+
}>;
|
|
1859
|
+
export { ShowTransformBox }
|
|
1860
|
+
export { ShowTransformBox as ShowTransformBox_alias_1 }
|
|
1861
|
+
export { ShowTransformBox as ShowTransformBox_alias_2 }
|
|
1862
|
+
|
|
1440
1863
|
export { SINGLETON_ENTITY_ID }
|
|
1441
1864
|
|
|
1442
1865
|
export { SingletonSyncBehavior }
|
|
1443
1866
|
|
|
1867
|
+
declare interface SortableBlock {
|
|
1868
|
+
rank: string;
|
|
1869
|
+
stratum: Stratum;
|
|
1870
|
+
parentId: unknown;
|
|
1871
|
+
}
|
|
1872
|
+
export { SortableBlock }
|
|
1873
|
+
export { SortableBlock as SortableBlock_alias_1 }
|
|
1874
|
+
export { SortableBlock as SortableBlock_alias_2 }
|
|
1875
|
+
|
|
1444
1876
|
export declare function sortPluginsByDependencies(plugins: EditorPlugin[]): EditorPlugin[];
|
|
1445
1877
|
|
|
1878
|
+
declare const StartTransformBoxEdit: CommandDef< {
|
|
1879
|
+
transformBoxId: EntityId;
|
|
1880
|
+
}>;
|
|
1881
|
+
export { StartTransformBoxEdit }
|
|
1882
|
+
export { StartTransformBoxEdit as StartTransformBoxEdit_alias_1 }
|
|
1883
|
+
export { StartTransformBoxEdit as StartTransformBoxEdit_alias_2 }
|
|
1884
|
+
|
|
1446
1885
|
declare interface StateSchema extends ComponentSchema {
|
|
1447
1886
|
state: {
|
|
1448
1887
|
def: StringFieldDef | EnumFieldDef<any>;
|
|
@@ -1512,10 +1951,115 @@ declare type TextAlignment = (typeof TextAlignment)[keyof typeof TextAlignment];
|
|
|
1512
1951
|
export { TextAlignment }
|
|
1513
1952
|
export { TextAlignment as TextAlignment_alias_1 }
|
|
1514
1953
|
|
|
1954
|
+
declare const Tick: CanvasSingletonDef< {
|
|
1955
|
+
number: NumberFieldBuilder<"uint32">;
|
|
1956
|
+
delta: NumberFieldBuilder<"float64">;
|
|
1957
|
+
time: NumberFieldBuilder<"float64">;
|
|
1958
|
+
lastTime: NumberFieldBuilder<"float64">;
|
|
1959
|
+
}, "tick">;
|
|
1960
|
+
export { Tick }
|
|
1961
|
+
export { Tick as Tick_alias_1 }
|
|
1962
|
+
export { Tick as Tick_alias_2 }
|
|
1963
|
+
|
|
1964
|
+
declare const tickSystem: EditorSystem;
|
|
1965
|
+
export { tickSystem }
|
|
1966
|
+
export { tickSystem as tickSystem_alias_1 }
|
|
1967
|
+
|
|
1968
|
+
declare const ToggleSelect: CommandDef< {
|
|
1969
|
+
entityId: EntityId;
|
|
1970
|
+
}>;
|
|
1971
|
+
export { ToggleSelect }
|
|
1972
|
+
export { ToggleSelect as ToggleSelect_alias_1 }
|
|
1973
|
+
export { ToggleSelect as ToggleSelect_alias_2 }
|
|
1974
|
+
|
|
1975
|
+
declare const TransformBox: CanvasComponentDef< {}, "transformBox">;
|
|
1976
|
+
export { TransformBox }
|
|
1977
|
+
export { TransformBox as TransformBox_alias_1 }
|
|
1978
|
+
export { TransformBox as TransformBox_alias_2 }
|
|
1979
|
+
|
|
1980
|
+
declare const TransformBoxState: {
|
|
1981
|
+
readonly None: "none";
|
|
1982
|
+
readonly Idle: "idle";
|
|
1983
|
+
readonly Editing: "editing";
|
|
1984
|
+
};
|
|
1985
|
+
|
|
1986
|
+
declare type TransformBoxState = (typeof TransformBoxState)[keyof typeof TransformBoxState];
|
|
1987
|
+
export { TransformBoxState }
|
|
1988
|
+
export { TransformBoxState as TransformBoxState_alias_1 }
|
|
1989
|
+
|
|
1990
|
+
declare const TransformBoxStateSingleton: EditorStateDef< {
|
|
1991
|
+
state: StringFieldBuilder;
|
|
1992
|
+
transformBoxId: RefFieldBuilder;
|
|
1993
|
+
}>;
|
|
1994
|
+
export { TransformBoxStateSingleton }
|
|
1995
|
+
export { TransformBoxStateSingleton as TransformBoxStateSingleton_alias_1 }
|
|
1996
|
+
export { TransformBoxStateSingleton as TransformBoxStateSingleton_alias_2 }
|
|
1997
|
+
|
|
1998
|
+
declare const transformBoxSystem: EditorSystem;
|
|
1999
|
+
export { transformBoxSystem }
|
|
2000
|
+
export { transformBoxSystem as transformBoxSystem_alias_1 }
|
|
2001
|
+
|
|
2002
|
+
declare const transformBoxSystem_2: EditorSystem;
|
|
2003
|
+
export { transformBoxSystem_2 as transformBoxSystem_alias_2 }
|
|
2004
|
+
export { transformBoxSystem_2 as transformBoxSystem_alias_3 }
|
|
2005
|
+
|
|
2006
|
+
declare const TransformHandle: CanvasComponentDef< {
|
|
2007
|
+
kind: StringFieldBuilder;
|
|
2008
|
+
vectorX: NumberFieldBuilder<"int8">;
|
|
2009
|
+
vectorY: NumberFieldBuilder<"int8">;
|
|
2010
|
+
transformBox: RefFieldBuilder;
|
|
2011
|
+
cursorKind: StringFieldBuilder;
|
|
2012
|
+
}, "transformHandle">;
|
|
2013
|
+
export { TransformHandle }
|
|
2014
|
+
export { TransformHandle as TransformHandle_alias_1 }
|
|
2015
|
+
export { TransformHandle as TransformHandle_alias_2 }
|
|
2016
|
+
|
|
2017
|
+
declare const TransformHandleKind: {
|
|
2018
|
+
readonly Scale: "scale";
|
|
2019
|
+
readonly Stretch: "stretch";
|
|
2020
|
+
readonly Rotate: "rotate";
|
|
2021
|
+
readonly RotateScale: "rotateScale";
|
|
2022
|
+
};
|
|
2023
|
+
|
|
2024
|
+
declare type TransformHandleKind = (typeof TransformHandleKind)[keyof typeof TransformHandleKind];
|
|
2025
|
+
export { TransformHandleKind }
|
|
2026
|
+
export { TransformHandleKind as TransformHandleKind_alias_1 }
|
|
2027
|
+
|
|
2028
|
+
declare const UncloneEntities: CommandDef< {
|
|
2029
|
+
entityIds: EntityId[];
|
|
2030
|
+
seed: string;
|
|
2031
|
+
}>;
|
|
2032
|
+
export { UncloneEntities }
|
|
2033
|
+
export { UncloneEntities as UncloneEntities_alias_1 }
|
|
2034
|
+
export { UncloneEntities as UncloneEntities_alias_2 }
|
|
2035
|
+
|
|
1515
2036
|
declare const Undo: CommandDef<void>;
|
|
1516
2037
|
export { Undo }
|
|
1517
2038
|
export { Undo as Undo_alias_1 }
|
|
1518
2039
|
|
|
2040
|
+
declare const updateFrameContainmentSystem: EditorSystem;
|
|
2041
|
+
export { updateFrameContainmentSystem }
|
|
2042
|
+
export { updateFrameContainmentSystem as updateFrameContainmentSystem_alias_1 }
|
|
2043
|
+
|
|
2044
|
+
declare const updateFrameSetupSystem: EditorSystem;
|
|
2045
|
+
export { updateFrameSetupSystem }
|
|
2046
|
+
export { updateFrameSetupSystem as updateFrameSetupSystem_alias_1 }
|
|
2047
|
+
|
|
2048
|
+
declare const UpdateSelectionBox: CommandDef< {
|
|
2049
|
+
bounds: Aabb_2;
|
|
2050
|
+
deselectOthers?: boolean;
|
|
2051
|
+
}>;
|
|
2052
|
+
export { UpdateSelectionBox }
|
|
2053
|
+
export { UpdateSelectionBox as UpdateSelectionBox_alias_1 }
|
|
2054
|
+
export { UpdateSelectionBox as UpdateSelectionBox_alias_2 }
|
|
2055
|
+
|
|
2056
|
+
declare const UpdateTransformBox: CommandDef< {
|
|
2057
|
+
transformBoxId: EntityId;
|
|
2058
|
+
}>;
|
|
2059
|
+
export { UpdateTransformBox }
|
|
2060
|
+
export { UpdateTransformBox as UpdateTransformBox_alias_1 }
|
|
2061
|
+
export { UpdateTransformBox as UpdateTransformBox_alias_2 }
|
|
2062
|
+
|
|
1519
2063
|
declare const UploadState: {
|
|
1520
2064
|
readonly Pending: "pending";
|
|
1521
2065
|
readonly Uploading: "uploading";
|
|
@@ -1576,4 +2120,9 @@ declare const VerticalAlignment: {
|
|
|
1576
2120
|
export { VerticalAlignment }
|
|
1577
2121
|
export { VerticalAlignment as VerticalAlignment_alias_1 }
|
|
1578
2122
|
|
|
2123
|
+
declare function worldToLocal(ctx: Context, entityId: EntityId, worldPos: Vec2, out?: Vec2): Vec2;
|
|
2124
|
+
export { worldToLocal }
|
|
2125
|
+
export { worldToLocal as worldToLocal_alias_1 }
|
|
2126
|
+
export { worldToLocal as worldToLocal_alias_2 }
|
|
2127
|
+
|
|
1579
2128
|
export { }
|