pelican-engine 0.3.7 → 0.3.9

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.
@@ -1,4 +1,4 @@
1
- # pelican 0.3.7 API 索引
1
+ # pelican 0.3.9 API 索引
2
2
 
3
3
  Installed declarations: `lib/sdk/index.d.ts` (relative to the package root).
4
4
  The signatures below come from the same public SDK source as repository games.
@@ -11,7 +11,7 @@ Source-file paths and line numbers are build-time provenance only; TypeScript so
11
11
  来源:`packages/sdk/src/index.ts:2`
12
12
 
13
13
  ```ts
14
- SDK_VERSION = "0.3.7"
14
+ SDK_VERSION = "0.3.9"
15
15
  ```
16
16
 
17
17
  ## Vec2
@@ -265,9 +265,17 @@ export interface SystemContext extends EngineFacade {
265
265
  export interface NavigationCell { readonly x: number; readonly y: number }
266
266
  ```
267
267
 
268
+ ## NavigationObstacleUpdate
269
+
270
+ 来源:`packages/sdk/src/index.ts:125`
271
+
272
+ ```ts
273
+ export interface NavigationObstacleUpdate { readonly cell: NavigationCell; readonly blocked: boolean }
274
+ ```
275
+
268
276
  ## NavigationGrid
269
277
 
270
- 来源:`packages/sdk/src/index.ts:124`
278
+ 来源:`packages/sdk/src/index.ts:126`
271
279
 
272
280
  ```ts
273
281
  export interface NavigationGrid {
@@ -283,7 +291,7 @@ export interface NavigationGrid {
283
291
 
284
292
  ## NavigationService
285
293
 
286
- 来源:`packages/sdk/src/index.ts:133`
294
+ 来源:`packages/sdk/src/index.ts:135`
287
295
 
288
296
  ```ts
289
297
  export interface NavigationService {
@@ -292,6 +300,8 @@ export interface NavigationService {
292
300
  getGrid(id: string): NavigationGrid;
293
301
  isBlocked(id: string, cell: NavigationCell): boolean;
294
302
  setBlocked(id: string, cell: NavigationCell, blocked: boolean): void;
303
+ /** Validates the entire batch before committing; the last change for a repeated cell wins. */
304
+ setBlockedBatch(id: string, updates: readonly NavigationObstacleUpdate[]): void;
295
305
  findPath(id: string, start: NavigationCell, end: NavigationCell): readonly NavigationCell[];
296
306
  destroyGrid(id: string): void;
297
307
  destroyOwner(owner: string): void;
@@ -300,7 +310,7 @@ export interface NavigationService {
300
310
 
301
311
  ## RenderMode
302
312
 
303
- 来源:`packages/sdk/src/index.ts:143`
313
+ 来源:`packages/sdk/src/index.ts:147`
304
314
 
305
315
  ```ts
306
316
  export type RenderMode = "raster" | "hybrid" | "path";
@@ -308,7 +318,7 @@ export type RenderMode = "raster" | "hybrid" | "path";
308
318
 
309
319
  ## RenderCapabilities
310
320
 
311
- 来源:`packages/sdk/src/index.ts:144`
321
+ 来源:`packages/sdk/src/index.ts:148`
312
322
 
313
323
  ```ts
314
324
  export interface RenderCapabilities {
@@ -320,7 +330,7 @@ export interface RenderCapabilities {
320
330
 
321
331
  ## RenderSettings
322
332
 
323
- 来源:`packages/sdk/src/index.ts:149`
333
+ 来源:`packages/sdk/src/index.ts:153`
324
334
 
325
335
  ```ts
326
336
  export interface RenderSettings {
@@ -338,7 +348,7 @@ export interface RenderSettings {
338
348
 
339
349
  ## RenderService
340
350
 
341
- 来源:`packages/sdk/src/index.ts:160`
351
+ 来源:`packages/sdk/src/index.ts:164`
342
352
 
343
353
  ```ts
344
354
  export interface RenderService {
@@ -355,7 +365,7 @@ export interface RenderService {
355
365
 
356
366
  ## MaterialBufferInput
357
367
 
358
- 来源:`packages/sdk/src/index.ts:170`
368
+ 来源:`packages/sdk/src/index.ts:174`
359
369
 
360
370
  ```ts
361
371
  export interface MaterialBufferInput {
@@ -371,7 +381,7 @@ export interface MaterialBufferInput {
371
381
 
372
382
  ## RenderBufferReference
373
383
 
374
- 来源:`packages/sdk/src/index.ts:179`
384
+ 来源:`packages/sdk/src/index.ts:183`
375
385
 
376
386
  ```ts
377
387
  export interface RenderBufferReference {
@@ -383,7 +393,7 @@ export interface RenderBufferReference {
383
393
 
384
394
  ## RenderBufferBindings
385
395
 
386
- 来源:`packages/sdk/src/index.ts:184`
396
+ 来源:`packages/sdk/src/index.ts:188`
387
397
 
388
398
  ```ts
389
399
  export interface RenderBufferBindings {
@@ -395,7 +405,7 @@ export interface RenderBufferBindings {
395
405
 
396
406
  ## MaterialTextureInput
397
407
 
398
- 来源:`packages/sdk/src/index.ts:189`
408
+ 来源:`packages/sdk/src/index.ts:193`
399
409
 
400
410
  ```ts
401
411
  export interface MaterialTextureInput extends ComputeTextureBinding {
@@ -408,7 +418,7 @@ export interface MaterialTextureInput extends ComputeTextureBinding {
408
418
 
409
419
  ## RenderTextureReference
410
420
 
411
- 来源:`packages/sdk/src/index.ts:195`
421
+ 来源:`packages/sdk/src/index.ts:199`
412
422
 
413
423
  ```ts
414
424
  export interface RenderTextureReference extends ComputeTextureSize {
@@ -419,7 +429,7 @@ export interface RenderTextureReference extends ComputeTextureSize {
419
429
 
420
430
  ## RenderTextureBindings
421
431
 
422
- 来源:`packages/sdk/src/index.ts:199`
432
+ 来源:`packages/sdk/src/index.ts:203`
423
433
 
424
434
  ```ts
425
435
  export interface RenderTextureBindings {
@@ -431,7 +441,7 @@ export interface RenderTextureBindings {
431
441
 
432
442
  ## PostProcessState
433
443
 
434
- 来源:`packages/sdk/src/index.ts:204`
444
+ 来源:`packages/sdk/src/index.ts:208`
435
445
 
436
446
  ```ts
437
447
  export interface PostProcessState {
@@ -443,7 +453,7 @@ export interface PostProcessState {
443
453
 
444
454
  ## PostProcessService
445
455
 
446
- 来源:`packages/sdk/src/index.ts:209`
456
+ 来源:`packages/sdk/src/index.ts:213`
447
457
 
448
458
  ```ts
449
459
  export interface PostProcessService {
@@ -460,7 +470,7 @@ export interface PostProcessService {
460
470
 
461
471
  ## ComputeBufferHandle
462
472
 
463
- 来源:`packages/sdk/src/index.ts:219`
473
+ 来源:`packages/sdk/src/index.ts:223`
464
474
 
465
475
  ```ts
466
476
  export interface ComputeBufferHandle {
@@ -472,7 +482,7 @@ export interface ComputeBufferHandle {
472
482
 
473
483
  ## ComputeTaskHandle
474
484
 
475
- 来源:`packages/sdk/src/index.ts:224`
485
+ 来源:`packages/sdk/src/index.ts:228`
476
486
 
477
487
  ```ts
478
488
  export interface ComputeTaskHandle {
@@ -483,7 +493,7 @@ export interface ComputeTaskHandle {
483
493
 
484
494
  ## ComputeBufferInput
485
495
 
486
- 来源:`packages/sdk/src/index.ts:228`
496
+ 来源:`packages/sdk/src/index.ts:232`
487
497
 
488
498
  ```ts
489
499
  export interface ComputeBufferInput {
@@ -496,7 +506,7 @@ export interface ComputeBufferInput {
496
506
 
497
507
  ## ComputeTextureHandle
498
508
 
499
- 来源:`packages/sdk/src/index.ts:234`
509
+ 来源:`packages/sdk/src/index.ts:238`
500
510
 
501
511
  ```ts
502
512
  export interface ComputeTextureHandle {
@@ -509,7 +519,7 @@ export interface ComputeTextureHandle {
509
519
 
510
520
  ## ComputeTextureSize
511
521
 
512
- 来源:`packages/sdk/src/index.ts:240`
522
+ 来源:`packages/sdk/src/index.ts:244`
513
523
 
514
524
  ```ts
515
525
  export interface ComputeTextureSize {
@@ -520,7 +530,7 @@ export interface ComputeTextureSize {
520
530
 
521
531
  ## ComputeTextureDataInput
522
532
 
523
- 来源:`packages/sdk/src/index.ts:244`
533
+ 来源:`packages/sdk/src/index.ts:248`
524
534
 
525
535
  ```ts
526
536
  export interface ComputeTextureDataInput extends ComputeTextureSize {
@@ -533,7 +543,7 @@ export interface ComputeTextureDataInput extends ComputeTextureSize {
533
543
 
534
544
  ## ComputeTextureAssetInput
535
545
 
536
- 来源:`packages/sdk/src/index.ts:250`
546
+ 来源:`packages/sdk/src/index.ts:254`
537
547
 
538
548
  ```ts
539
549
  export interface ComputeTextureAssetInput {
@@ -547,7 +557,7 @@ export interface ComputeTextureAssetInput {
547
557
 
548
558
  ## ComputeTextureInput
549
559
 
550
- 来源:`packages/sdk/src/index.ts:257`
560
+ 来源:`packages/sdk/src/index.ts:261`
551
561
 
552
562
  ```ts
553
563
  export type ComputeTextureInput = ComputeTextureDataInput | ComputeTextureAssetInput;
@@ -555,7 +565,7 @@ export type ComputeTextureInput = ComputeTextureDataInput | ComputeTextureAssetI
555
565
 
556
566
  ## ComputeTextureBinding
557
567
 
558
- 来源:`packages/sdk/src/index.ts:258`
568
+ 来源:`packages/sdk/src/index.ts:262`
559
569
 
560
570
  ```ts
561
571
  export interface ComputeTextureBinding {
@@ -568,7 +578,7 @@ export interface ComputeTextureBinding {
568
578
 
569
579
  ## ComputeDispatchInput
570
580
 
571
- 来源:`packages/sdk/src/index.ts:264`
581
+ 来源:`packages/sdk/src/index.ts:268`
572
582
 
573
583
  ```ts
574
584
  export interface ComputeDispatchInput {
@@ -587,7 +597,7 @@ export interface ComputeDispatchInput {
587
597
 
588
598
  ## ComputeTaskState
589
599
 
590
- 来源:`packages/sdk/src/index.ts:276`
600
+ 来源:`packages/sdk/src/index.ts:280`
591
601
 
592
602
  ```ts
593
603
  export interface ComputeTaskState {
@@ -598,7 +608,7 @@ export interface ComputeTaskState {
598
608
 
599
609
  ## ComputeService
600
610
 
601
- 来源:`packages/sdk/src/index.ts:280`
611
+ 来源:`packages/sdk/src/index.ts:284`
602
612
 
603
613
  ```ts
604
614
  export interface ComputeService {
@@ -625,7 +635,7 @@ export interface ComputeService {
625
635
 
626
636
  ## InputService
627
637
 
628
- 来源:`packages/sdk/src/index.ts:300`
638
+ 来源:`packages/sdk/src/index.ts:304`
629
639
 
630
640
  ```ts
631
641
  export interface InputService {
@@ -638,7 +648,7 @@ export interface InputService {
638
648
 
639
649
  ## PhysicsService
640
650
 
641
- 来源:`packages/sdk/src/index.ts:306`
651
+ 来源:`packages/sdk/src/index.ts:310`
642
652
 
643
653
  ```ts
644
654
  export interface PhysicsService {
@@ -665,7 +675,7 @@ export interface PhysicsService {
665
675
 
666
676
  ## AnimationService
667
677
 
668
- 来源:`packages/sdk/src/index.ts:326`
678
+ 来源:`packages/sdk/src/index.ts:330`
669
679
 
670
680
  ```ts
671
681
  export interface AnimationService {
@@ -684,7 +694,7 @@ export interface AnimationService {
684
694
 
685
695
  ## CameraService
686
696
 
687
- 来源:`packages/sdk/src/index.ts:338`
697
+ 来源:`packages/sdk/src/index.ts:342`
688
698
 
689
699
  ```ts
690
700
  export interface CameraService {
@@ -704,7 +714,7 @@ export interface CameraService {
704
714
 
705
715
  ## UIService
706
716
 
707
- 来源:`packages/sdk/src/index.ts:351`
717
+ 来源:`packages/sdk/src/index.ts:355`
708
718
 
709
719
  ```ts
710
720
  export interface UIService {
@@ -716,7 +726,7 @@ export interface UIService {
716
726
 
717
727
  ## AudioService
718
728
 
719
- 来源:`packages/sdk/src/index.ts:356`
729
+ 来源:`packages/sdk/src/index.ts:360`
720
730
 
721
731
  ```ts
722
732
  export interface AudioService {
@@ -738,7 +748,7 @@ export interface AudioService {
738
748
 
739
749
  ## StorageService
740
750
 
741
- 来源:`packages/sdk/src/index.ts:371`
751
+ 来源:`packages/sdk/src/index.ts:375`
742
752
 
743
753
  ```ts
744
754
  export interface StorageService {
@@ -754,7 +764,7 @@ export interface StorageService {
754
764
 
755
765
  ## SceneService
756
766
 
757
- 来源:`packages/sdk/src/index.ts:380`
767
+ 来源:`packages/sdk/src/index.ts:384`
758
768
 
759
769
  ```ts
760
770
  export interface SceneService {
@@ -765,7 +775,7 @@ export interface SceneService {
765
775
 
766
776
  ## ModelDefinition
767
777
 
768
- 来源:`packages/sdk/src/index.ts:384`
778
+ 来源:`packages/sdk/src/index.ts:388`
769
779
 
770
780
  ```ts
771
781
  export interface ModelDefinition {
@@ -785,7 +795,7 @@ export interface ModelDefinition {
785
795
 
786
796
  ## RigidBodyDefinition
787
797
 
788
- 来源:`packages/sdk/src/index.ts:397`
798
+ 来源:`packages/sdk/src/index.ts:401`
789
799
 
790
800
  ```ts
791
801
  export interface RigidBodyDefinition {
@@ -806,7 +816,7 @@ export interface RigidBodyDefinition {
806
816
 
807
817
  ## CharacterDefinition
808
818
 
809
- 来源:`packages/sdk/src/index.ts:411`
819
+ 来源:`packages/sdk/src/index.ts:415`
810
820
 
811
821
  ```ts
812
822
  export interface CharacterDefinition {
@@ -821,7 +831,7 @@ export interface CharacterDefinition {
821
831
 
822
832
  ## UIElementDefinition
823
833
 
824
- 来源:`packages/sdk/src/index.ts:419`
834
+ 来源:`packages/sdk/src/index.ts:423`
825
835
 
826
836
  ```ts
827
837
  export interface UIElementDefinition {
@@ -841,7 +851,7 @@ export interface UIElementDefinition {
841
851
 
842
852
  ## SoundDefinition
843
853
 
844
- 来源:`packages/sdk/src/index.ts:432`
854
+ 来源:`packages/sdk/src/index.ts:436`
845
855
 
846
856
  ```ts
847
857
  export interface SoundDefinition {
@@ -855,7 +865,7 @@ export interface SoundDefinition {
855
865
 
856
866
  ## AudioBusDefinition
857
867
 
858
- 来源:`packages/sdk/src/index.ts:439`
868
+ 来源:`packages/sdk/src/index.ts:443`
859
869
 
860
870
  ```ts
861
871
  export interface AudioBusDefinition {
@@ -866,7 +876,7 @@ export interface AudioBusDefinition {
866
876
 
867
877
  ## SYSTEM_PHASES
868
878
 
869
- 来源:`packages/sdk/src/index.ts:443`
879
+ 来源:`packages/sdk/src/index.ts:447`
870
880
 
871
881
  ```ts
872
882
  SYSTEM_PHASES = [
@@ -881,7 +891,7 @@ SYSTEM_PHASES = [
881
891
 
882
892
  ## SystemPhase
883
893
 
884
- 来源:`packages/sdk/src/index.ts:451`
894
+ 来源:`packages/sdk/src/index.ts:455`
885
895
 
886
896
  ```ts
887
897
  export type SystemPhase = (typeof SYSTEM_PHASES)[number];
@@ -889,7 +899,7 @@ export type SystemPhase = (typeof SYSTEM_PHASES)[number];
889
899
 
890
900
  ## Geometry
891
901
 
892
- 来源:`packages/sdk/src/index.ts:452`
902
+ 来源:`packages/sdk/src/index.ts:456`
893
903
 
894
904
  ```ts
895
905
  export type Geometry =
@@ -900,7 +910,7 @@ export type Geometry =
900
910
 
901
911
  ## GRAPH_TYPES
902
912
 
903
- 来源:`packages/sdk/src/index.ts:456`
913
+ 来源:`packages/sdk/src/index.ts:460`
904
914
 
905
915
  ```ts
906
916
  GRAPH_TYPES = ["float", "vec2", "vec3", "vec4", "bool"] as const
@@ -908,7 +918,7 @@ GRAPH_TYPES = ["float", "vec2", "vec3", "vec4", "bool"] as const
908
918
 
909
919
  ## GraphType
910
920
 
911
- 来源:`packages/sdk/src/index.ts:457`
921
+ 来源:`packages/sdk/src/index.ts:461`
912
922
 
913
923
  ```ts
914
924
  export type GraphType = typeof GRAPH_TYPES[number];
@@ -916,7 +926,7 @@ export type GraphType = typeof GRAPH_TYPES[number];
916
926
 
917
927
  ## GraphValue
918
928
 
919
- 来源:`packages/sdk/src/index.ts:458`
929
+ 来源:`packages/sdk/src/index.ts:462`
920
930
 
921
931
  ```ts
922
932
  export type GraphValue = number | boolean | Vec2 | Vec3 | Vec4;
@@ -924,7 +934,7 @@ export type GraphValue = number | boolean | Vec2 | Vec3 | Vec4;
924
934
 
925
935
  ## GraphParameter
926
936
 
927
- 来源:`packages/sdk/src/index.ts:459`
937
+ 来源:`packages/sdk/src/index.ts:463`
928
938
 
929
939
  ```ts
930
940
  export interface GraphParameter {
@@ -936,7 +946,7 @@ export interface GraphParameter {
936
946
 
937
947
  ## GRAPH_INPUT_TYPES
938
948
 
939
- 来源:`packages/sdk/src/index.ts:464`
949
+ 来源:`packages/sdk/src/index.ts:468`
940
950
 
941
951
  ```ts
942
952
  GRAPH_INPUT_TYPES = {
@@ -950,7 +960,7 @@ GRAPH_INPUT_TYPES = {
950
960
 
951
961
  ## GraphInputName
952
962
 
953
- 来源:`packages/sdk/src/index.ts:471`
963
+ 来源:`packages/sdk/src/index.ts:475`
954
964
 
955
965
  ```ts
956
966
  export type GraphInputName = keyof typeof GRAPH_INPUT_TYPES;
@@ -958,7 +968,7 @@ export type GraphInputName = keyof typeof GRAPH_INPUT_TYPES;
958
968
 
959
969
  ## GRAPH_OPERATIONS
960
970
 
961
- 来源:`packages/sdk/src/index.ts:472`
971
+ 来源:`packages/sdk/src/index.ts:476`
962
972
 
963
973
  ```ts
964
974
  GRAPH_OPERATIONS = {
@@ -970,7 +980,7 @@ GRAPH_OPERATIONS = {
970
980
 
971
981
  ## GraphNode
972
982
 
973
- 来源:`packages/sdk/src/index.ts:477`
983
+ 来源:`packages/sdk/src/index.ts:481`
974
984
 
975
985
  ```ts
976
986
  export type GraphNode =
@@ -997,7 +1007,7 @@ export type GraphNode =
997
1007
 
998
1008
  ## Graph
999
1009
 
1000
- 来源:`packages/sdk/src/index.ts:497`
1010
+ 来源:`packages/sdk/src/index.ts:501`
1001
1011
 
1002
1012
  ```ts
1003
1013
  export interface Graph {
@@ -1009,7 +1019,7 @@ export interface Graph {
1009
1019
 
1010
1020
  ## MaterialGraphs
1011
1021
 
1012
- 来源:`packages/sdk/src/index.ts:502`
1022
+ 来源:`packages/sdk/src/index.ts:506`
1013
1023
 
1014
1024
  ```ts
1015
1025
  export interface MaterialGraphs {
@@ -1025,7 +1035,7 @@ export interface MaterialGraphs {
1025
1035
 
1026
1036
  ## VertexGraphs
1027
1037
 
1028
- 来源:`packages/sdk/src/index.ts:511`
1038
+ 来源:`packages/sdk/src/index.ts:515`
1029
1039
 
1030
1040
  ```ts
1031
1041
  export interface VertexGraphs {
@@ -1038,7 +1048,7 @@ export interface VertexGraphs {
1038
1048
 
1039
1049
  ## MaterialInput
1040
1050
 
1041
- 来源:`packages/sdk/src/index.ts:517`
1051
+ 来源:`packages/sdk/src/index.ts:521`
1042
1052
 
1043
1053
  ```ts
1044
1054
  export interface MaterialInput {
@@ -1072,7 +1082,7 @@ export interface MaterialInput {
1072
1082
 
1073
1083
  ## MaterialDefinition
1074
1084
 
1075
- 来源:`packages/sdk/src/index.ts:544`
1085
+ 来源:`packages/sdk/src/index.ts:548`
1076
1086
 
1077
1087
  ```ts
1078
1088
  export interface MaterialDefinition extends MaterialInput {
@@ -1082,7 +1092,7 @@ export interface MaterialDefinition extends MaterialInput {
1082
1092
 
1083
1093
  ## PostProcessInput
1084
1094
 
1085
- 来源:`packages/sdk/src/index.ts:547`
1095
+ 来源:`packages/sdk/src/index.ts:551`
1086
1096
 
1087
1097
  ```ts
1088
1098
  export interface PostProcessInput {
@@ -1097,7 +1107,7 @@ export interface PostProcessInput {
1097
1107
 
1098
1108
  ## PostProcessDefinition
1099
1109
 
1100
- 来源:`packages/sdk/src/index.ts:555`
1110
+ 来源:`packages/sdk/src/index.ts:559`
1101
1111
 
1102
1112
  ```ts
1103
1113
  export interface PostProcessDefinition extends PostProcessInput {
@@ -1107,7 +1117,7 @@ export interface PostProcessDefinition extends PostProcessInput {
1107
1117
 
1108
1118
  ## ComputeInput
1109
1119
 
1110
- 来源:`packages/sdk/src/index.ts:558`
1120
+ 来源:`packages/sdk/src/index.ts:562`
1111
1121
 
1112
1122
  ```ts
1113
1123
  export interface ComputeInput {
@@ -1123,7 +1133,7 @@ export interface ComputeInput {
1123
1133
 
1124
1134
  ## ComputeDefinition
1125
1135
 
1126
- 来源:`packages/sdk/src/index.ts:567`
1136
+ 来源:`packages/sdk/src/index.ts:571`
1127
1137
 
1128
1138
  ```ts
1129
1139
  export interface ComputeDefinition extends ComputeInput {
@@ -1133,7 +1143,7 @@ export interface ComputeDefinition extends ComputeInput {
1133
1143
 
1134
1144
  ## AssetInput
1135
1145
 
1136
- 来源:`packages/sdk/src/index.ts:570`
1146
+ 来源:`packages/sdk/src/index.ts:574`
1137
1147
 
1138
1148
  ```ts
1139
1149
  export interface AssetInput {
@@ -1150,7 +1160,7 @@ export interface AssetInput {
1150
1160
 
1151
1161
  ## AssetDefinition
1152
1162
 
1153
- 来源:`packages/sdk/src/index.ts:580`
1163
+ 来源:`packages/sdk/src/index.ts:584`
1154
1164
 
1155
1165
  ```ts
1156
1166
  export interface AssetDefinition extends AssetInput {
@@ -1160,7 +1170,7 @@ export interface AssetDefinition extends AssetInput {
1160
1170
 
1161
1171
  ## MeshDefinition
1162
1172
 
1163
- 来源:`packages/sdk/src/index.ts:583`
1173
+ 来源:`packages/sdk/src/index.ts:587`
1164
1174
 
1165
1175
  ```ts
1166
1176
  export interface MeshDefinition {
@@ -1173,7 +1183,7 @@ export interface MeshDefinition {
1173
1183
 
1174
1184
  ## LightDefinition
1175
1185
 
1176
- 来源:`packages/sdk/src/index.ts:589`
1186
+ 来源:`packages/sdk/src/index.ts:593`
1177
1187
 
1178
1188
  ```ts
1179
1189
  export interface LightDefinition {
@@ -1195,7 +1205,7 @@ export interface LightDefinition {
1195
1205
 
1196
1206
  ## EntityInput
1197
1207
 
1198
- 来源:`packages/sdk/src/index.ts:604`
1208
+ 来源:`packages/sdk/src/index.ts:608`
1199
1209
 
1200
1210
  ```ts
1201
1211
  export interface EntityInput {
@@ -1214,7 +1224,7 @@ export interface EntityInput {
1214
1224
 
1215
1225
  ## PrefabInput
1216
1226
 
1217
- 来源:`packages/sdk/src/index.ts:616`
1227
+ 来源:`packages/sdk/src/index.ts:620`
1218
1228
 
1219
1229
  ```ts
1220
1230
  export interface PrefabInput extends Omit<EntityInput, "prefab" | "parent"> {
@@ -1224,7 +1234,7 @@ export interface PrefabInput extends Omit<EntityInput, "prefab" | "parent"> {
1224
1234
 
1225
1235
  ## PrefabDefinition
1226
1236
 
1227
- 来源:`packages/sdk/src/index.ts:619`
1237
+ 来源:`packages/sdk/src/index.ts:623`
1228
1238
 
1229
1239
  ```ts
1230
1240
  export interface PrefabDefinition extends PrefabInput {
@@ -1234,7 +1244,7 @@ export interface PrefabDefinition extends PrefabInput {
1234
1244
 
1235
1245
  ## SceneInput
1236
1246
 
1237
- 来源:`packages/sdk/src/index.ts:622`
1247
+ 来源:`packages/sdk/src/index.ts:626`
1238
1248
 
1239
1249
  ```ts
1240
1250
  export interface SceneInput {
@@ -1266,7 +1276,7 @@ export interface SceneInput {
1266
1276
 
1267
1277
  ## SceneDefinition
1268
1278
 
1269
- 来源:`packages/sdk/src/index.ts:647`
1279
+ 来源:`packages/sdk/src/index.ts:651`
1270
1280
 
1271
1281
  ```ts
1272
1282
  export interface SceneDefinition extends SceneInput {
@@ -1276,7 +1286,7 @@ export interface SceneDefinition extends SceneInput {
1276
1286
 
1277
1287
  ## SystemInput
1278
1288
 
1279
- 来源:`packages/sdk/src/index.ts:650`
1289
+ 来源:`packages/sdk/src/index.ts:654`
1280
1290
 
1281
1291
  ```ts
1282
1292
  export interface SystemInput {
@@ -1293,7 +1303,7 @@ export interface SystemInput {
1293
1303
 
1294
1304
  ## SystemDefinition
1295
1305
 
1296
- 来源:`packages/sdk/src/index.ts:660`
1306
+ 来源:`packages/sdk/src/index.ts:664`
1297
1307
 
1298
1308
  ```ts
1299
1309
  export interface SystemDefinition extends SystemInput {
@@ -1303,7 +1313,7 @@ export interface SystemDefinition extends SystemInput {
1303
1313
 
1304
1314
  ## GameInput
1305
1315
 
1306
- 来源:`packages/sdk/src/index.ts:663`
1316
+ 来源:`packages/sdk/src/index.ts:667`
1307
1317
 
1308
1318
  ```ts
1309
1319
  export interface GameInput {
@@ -1329,7 +1339,7 @@ export interface GameInput {
1329
1339
 
1330
1340
  ## GameDefinition
1331
1341
 
1332
- 来源:`packages/sdk/src/index.ts:682`
1342
+ 来源:`packages/sdk/src/index.ts:686`
1333
1343
 
1334
1344
  ```ts
1335
1345
  export interface GameDefinition extends GameInput {
@@ -1339,7 +1349,7 @@ export interface GameDefinition extends GameInput {
1339
1349
 
1340
1350
  ## GameInstance
1341
1351
 
1342
- 来源:`packages/sdk/src/index.ts:685`
1352
+ 来源:`packages/sdk/src/index.ts:689`
1343
1353
 
1344
1354
  ```ts
1345
1355
  export interface GameInstance {
@@ -1350,7 +1360,7 @@ export interface GameInstance {
1350
1360
 
1351
1361
  ## defineComponent
1352
1362
 
1353
- 来源:`packages/sdk/src/index.ts:689`
1363
+ 来源:`packages/sdk/src/index.ts:693`
1354
1364
 
1355
1365
  ```ts
1356
1366
  export function defineComponent<const S extends ComponentSchema>(input: {
@@ -1361,7 +1371,7 @@ export function defineComponent<const S extends ComponentSchema>(input: {
1361
1371
 
1362
1372
  ## defineMaterial
1363
1373
 
1364
- 来源:`packages/sdk/src/index.ts:695`
1374
+ 来源:`packages/sdk/src/index.ts:699`
1365
1375
 
1366
1376
  ```ts
1367
1377
  export function defineMaterial(input: MaterialInput): MaterialDefinition;
@@ -1369,7 +1379,7 @@ export function defineMaterial(input: MaterialInput): MaterialDefinition;
1369
1379
 
1370
1380
  ## definePostProcess
1371
1381
 
1372
- 来源:`packages/sdk/src/index.ts:698`
1382
+ 来源:`packages/sdk/src/index.ts:702`
1373
1383
 
1374
1384
  ```ts
1375
1385
  export function definePostProcess(input: PostProcessInput): PostProcessDefinition;
@@ -1377,7 +1387,7 @@ export function definePostProcess(input: PostProcessInput): PostProcessDefinitio
1377
1387
 
1378
1388
  ## defineCompute
1379
1389
 
1380
- 来源:`packages/sdk/src/index.ts:701`
1390
+ 来源:`packages/sdk/src/index.ts:705`
1381
1391
 
1382
1392
  ```ts
1383
1393
  export function defineCompute(input: ComputeInput): ComputeDefinition;
@@ -1385,7 +1395,7 @@ export function defineCompute(input: ComputeInput): ComputeDefinition;
1385
1395
 
1386
1396
  ## defineAsset
1387
1397
 
1388
- 来源:`packages/sdk/src/index.ts:704`
1398
+ 来源:`packages/sdk/src/index.ts:708`
1389
1399
 
1390
1400
  ```ts
1391
1401
  export function defineAsset(input: AssetInput): AssetDefinition;
@@ -1393,7 +1403,7 @@ export function defineAsset(input: AssetInput): AssetDefinition;
1393
1403
 
1394
1404
  ## definePrefab
1395
1405
 
1396
- 来源:`packages/sdk/src/index.ts:707`
1406
+ 来源:`packages/sdk/src/index.ts:711`
1397
1407
 
1398
1408
  ```ts
1399
1409
  export function definePrefab(input: PrefabInput): PrefabDefinition;
@@ -1401,7 +1411,7 @@ export function definePrefab(input: PrefabInput): PrefabDefinition;
1401
1411
 
1402
1412
  ## defineScene
1403
1413
 
1404
- 来源:`packages/sdk/src/index.ts:710`
1414
+ 来源:`packages/sdk/src/index.ts:714`
1405
1415
 
1406
1416
  ```ts
1407
1417
  export function defineScene(input: SceneInput): SceneDefinition;
@@ -1409,7 +1419,7 @@ export function defineScene(input: SceneInput): SceneDefinition;
1409
1419
 
1410
1420
  ## defineSystem
1411
1421
 
1412
- 来源:`packages/sdk/src/index.ts:713`
1422
+ 来源:`packages/sdk/src/index.ts:717`
1413
1423
 
1414
1424
  ```ts
1415
1425
  export function defineSystem(input: SystemInput): SystemDefinition;
@@ -1417,7 +1427,7 @@ export function defineSystem(input: SystemInput): SystemDefinition;
1417
1427
 
1418
1428
  ## defineGame
1419
1429
 
1420
- 来源:`packages/sdk/src/index.ts:716`
1430
+ 来源:`packages/sdk/src/index.ts:720`
1421
1431
 
1422
1432
  ```ts
1423
1433
  export function defineGame(input: GameInput): GameDefinition;
@@ -1425,7 +1435,7 @@ export function defineGame(input: GameInput): GameDefinition;
1425
1435
 
1426
1436
  ## instantiateGame
1427
1437
 
1428
- 来源:`packages/sdk/src/index.ts:720`
1438
+ 来源:`packages/sdk/src/index.ts:724`
1429
1439
 
1430
1440
  ```ts
1431
1441
  export function instantiateGame(