pelican-engine 0.3.11 → 0.3.12

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.11 API 索引
1
+ # pelican 0.3.12 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.11"
14
+ SDK_VERSION = "0.3.12"
15
15
  ```
16
16
 
17
17
  ## Vec2
@@ -291,16 +291,30 @@ export interface RopeDefinition {
291
291
  }
292
292
  ```
293
293
 
294
+ ## RopeContact
295
+
296
+ 来源:`packages/sdk/src/index.ts:143`
297
+
298
+ ```ts
299
+ export interface RopeContact {
300
+ tick: number; particle: number; colliderId: string; penetration: number;
301
+ /** Opposite of particle projection impulses, N·s; absent in older snapshots. */
302
+ reactionImpulse?: Vec3;
303
+ /** Angular impulse about the world origin; absent in older snapshots. */
304
+ reactionAngularImpulse?: Vec3;
305
+ }
306
+ ```
307
+
294
308
  ## RopeState
295
309
 
296
- 来源:`packages/sdk/src/index.ts:142`
310
+ 来源:`packages/sdk/src/index.ts:150`
297
311
 
298
312
  ```ts
299
313
  export interface RopeState {
300
314
  tick: number; simulatedSeconds: number; disposed: boolean;
301
315
  positions: Vec3[]; velocities: Vec3[];
302
316
  anchors: { index: number; position: Vec3 }[];
303
- contacts: { tick: number; particle: number; colliderId: string; penetration: number }[];
317
+ contacts: RopeContact[];
304
318
  maxDistanceError: number;
305
319
  resources: { particles: number; constraints: number; anchors: number; colliders: number };
306
320
  }
@@ -308,7 +322,7 @@ export interface RopeState {
308
322
 
309
323
  ## RopeService
310
324
 
311
- 来源:`packages/sdk/src/index.ts:150`
325
+ 来源:`packages/sdk/src/index.ts:158`
312
326
 
313
327
  ```ts
314
328
  export interface RopeService {
@@ -327,7 +341,7 @@ export interface RopeService {
327
341
 
328
342
  ## NavigationCell
329
343
 
330
- 来源:`packages/sdk/src/index.ts:165`
344
+ 来源:`packages/sdk/src/index.ts:173`
331
345
 
332
346
  ```ts
333
347
  export interface NavigationCell { readonly x: number; readonly y: number }
@@ -335,7 +349,7 @@ export interface NavigationCell { readonly x: number; readonly y: number }
335
349
 
336
350
  ## NavigationObstacleUpdate
337
351
 
338
- 来源:`packages/sdk/src/index.ts:167`
352
+ 来源:`packages/sdk/src/index.ts:175`
339
353
 
340
354
  ```ts
341
355
  export interface NavigationObstacleUpdate { readonly cell: NavigationCell; readonly blocked: boolean }
@@ -343,7 +357,7 @@ export interface NavigationObstacleUpdate { readonly cell: NavigationCell; reado
343
357
 
344
358
  ## NavigationGrid
345
359
 
346
- 来源:`packages/sdk/src/index.ts:168`
360
+ 来源:`packages/sdk/src/index.ts:176`
347
361
 
348
362
  ```ts
349
363
  export interface NavigationGrid {
@@ -359,7 +373,7 @@ export interface NavigationGrid {
359
373
 
360
374
  ## NavigationService
361
375
 
362
- 来源:`packages/sdk/src/index.ts:177`
376
+ 来源:`packages/sdk/src/index.ts:185`
363
377
 
364
378
  ```ts
365
379
  export interface NavigationService {
@@ -378,7 +392,7 @@ export interface NavigationService {
378
392
 
379
393
  ## RenderMode
380
394
 
381
- 来源:`packages/sdk/src/index.ts:189`
395
+ 来源:`packages/sdk/src/index.ts:197`
382
396
 
383
397
  ```ts
384
398
  export type RenderMode = "raster" | "hybrid" | "path";
@@ -386,7 +400,7 @@ export type RenderMode = "raster" | "hybrid" | "path";
386
400
 
387
401
  ## RenderCapabilities
388
402
 
389
- 来源:`packages/sdk/src/index.ts:190`
403
+ 来源:`packages/sdk/src/index.ts:198`
390
404
 
391
405
  ```ts
392
406
  export interface RenderCapabilities {
@@ -398,7 +412,7 @@ export interface RenderCapabilities {
398
412
 
399
413
  ## RenderSettings
400
414
 
401
- 来源:`packages/sdk/src/index.ts:195`
415
+ 来源:`packages/sdk/src/index.ts:203`
402
416
 
403
417
  ```ts
404
418
  export interface RenderSettings {
@@ -416,7 +430,7 @@ export interface RenderSettings {
416
430
 
417
431
  ## RenderService
418
432
 
419
- 来源:`packages/sdk/src/index.ts:206`
433
+ 来源:`packages/sdk/src/index.ts:214`
420
434
 
421
435
  ```ts
422
436
  export interface RenderService {
@@ -433,7 +447,7 @@ export interface RenderService {
433
447
 
434
448
  ## MaterialBufferInput
435
449
 
436
- 来源:`packages/sdk/src/index.ts:216`
450
+ 来源:`packages/sdk/src/index.ts:224`
437
451
 
438
452
  ```ts
439
453
  export interface MaterialBufferInput {
@@ -449,7 +463,7 @@ export interface MaterialBufferInput {
449
463
 
450
464
  ## RenderBufferReference
451
465
 
452
- 来源:`packages/sdk/src/index.ts:225`
466
+ 来源:`packages/sdk/src/index.ts:233`
453
467
 
454
468
  ```ts
455
469
  export interface RenderBufferReference {
@@ -461,7 +475,7 @@ export interface RenderBufferReference {
461
475
 
462
476
  ## RenderBufferBindings
463
477
 
464
- 来源:`packages/sdk/src/index.ts:230`
478
+ 来源:`packages/sdk/src/index.ts:238`
465
479
 
466
480
  ```ts
467
481
  export interface RenderBufferBindings {
@@ -473,7 +487,7 @@ export interface RenderBufferBindings {
473
487
 
474
488
  ## MaterialTextureInput
475
489
 
476
- 来源:`packages/sdk/src/index.ts:235`
490
+ 来源:`packages/sdk/src/index.ts:243`
477
491
 
478
492
  ```ts
479
493
  export interface MaterialTextureInput extends ComputeTextureBinding {
@@ -486,7 +500,7 @@ export interface MaterialTextureInput extends ComputeTextureBinding {
486
500
 
487
501
  ## RenderTextureReference
488
502
 
489
- 来源:`packages/sdk/src/index.ts:241`
503
+ 来源:`packages/sdk/src/index.ts:249`
490
504
 
491
505
  ```ts
492
506
  export interface RenderTextureReference extends ComputeTextureSize {
@@ -497,7 +511,7 @@ export interface RenderTextureReference extends ComputeTextureSize {
497
511
 
498
512
  ## RenderTextureBindings
499
513
 
500
- 来源:`packages/sdk/src/index.ts:245`
514
+ 来源:`packages/sdk/src/index.ts:253`
501
515
 
502
516
  ```ts
503
517
  export interface RenderTextureBindings {
@@ -509,7 +523,7 @@ export interface RenderTextureBindings {
509
523
 
510
524
  ## PostProcessState
511
525
 
512
- 来源:`packages/sdk/src/index.ts:250`
526
+ 来源:`packages/sdk/src/index.ts:258`
513
527
 
514
528
  ```ts
515
529
  export interface PostProcessState {
@@ -521,7 +535,7 @@ export interface PostProcessState {
521
535
 
522
536
  ## PostProcessService
523
537
 
524
- 来源:`packages/sdk/src/index.ts:255`
538
+ 来源:`packages/sdk/src/index.ts:263`
525
539
 
526
540
  ```ts
527
541
  export interface PostProcessService {
@@ -538,7 +552,7 @@ export interface PostProcessService {
538
552
 
539
553
  ## ComputeBufferHandle
540
554
 
541
- 来源:`packages/sdk/src/index.ts:265`
555
+ 来源:`packages/sdk/src/index.ts:273`
542
556
 
543
557
  ```ts
544
558
  export interface ComputeBufferHandle {
@@ -550,7 +564,7 @@ export interface ComputeBufferHandle {
550
564
 
551
565
  ## ComputeTaskHandle
552
566
 
553
- 来源:`packages/sdk/src/index.ts:270`
567
+ 来源:`packages/sdk/src/index.ts:278`
554
568
 
555
569
  ```ts
556
570
  export interface ComputeTaskHandle {
@@ -561,7 +575,7 @@ export interface ComputeTaskHandle {
561
575
 
562
576
  ## ComputeBufferInput
563
577
 
564
- 来源:`packages/sdk/src/index.ts:274`
578
+ 来源:`packages/sdk/src/index.ts:282`
565
579
 
566
580
  ```ts
567
581
  export interface ComputeBufferInput {
@@ -574,7 +588,7 @@ export interface ComputeBufferInput {
574
588
 
575
589
  ## ComputeTextureHandle
576
590
 
577
- 来源:`packages/sdk/src/index.ts:280`
591
+ 来源:`packages/sdk/src/index.ts:288`
578
592
 
579
593
  ```ts
580
594
  export interface ComputeTextureHandle {
@@ -587,7 +601,7 @@ export interface ComputeTextureHandle {
587
601
 
588
602
  ## ComputeTextureSize
589
603
 
590
- 来源:`packages/sdk/src/index.ts:286`
604
+ 来源:`packages/sdk/src/index.ts:294`
591
605
 
592
606
  ```ts
593
607
  export interface ComputeTextureSize {
@@ -598,7 +612,7 @@ export interface ComputeTextureSize {
598
612
 
599
613
  ## ComputeTextureDataInput
600
614
 
601
- 来源:`packages/sdk/src/index.ts:290`
615
+ 来源:`packages/sdk/src/index.ts:298`
602
616
 
603
617
  ```ts
604
618
  export interface ComputeTextureDataInput extends ComputeTextureSize {
@@ -611,7 +625,7 @@ export interface ComputeTextureDataInput extends ComputeTextureSize {
611
625
 
612
626
  ## ComputeTextureAssetInput
613
627
 
614
- 来源:`packages/sdk/src/index.ts:296`
628
+ 来源:`packages/sdk/src/index.ts:304`
615
629
 
616
630
  ```ts
617
631
  export interface ComputeTextureAssetInput {
@@ -625,7 +639,7 @@ export interface ComputeTextureAssetInput {
625
639
 
626
640
  ## ComputeTextureInput
627
641
 
628
- 来源:`packages/sdk/src/index.ts:303`
642
+ 来源:`packages/sdk/src/index.ts:311`
629
643
 
630
644
  ```ts
631
645
  export type ComputeTextureInput = ComputeTextureDataInput | ComputeTextureAssetInput;
@@ -633,7 +647,7 @@ export type ComputeTextureInput = ComputeTextureDataInput | ComputeTextureAssetI
633
647
 
634
648
  ## ComputeTextureBinding
635
649
 
636
- 来源:`packages/sdk/src/index.ts:304`
650
+ 来源:`packages/sdk/src/index.ts:312`
637
651
 
638
652
  ```ts
639
653
  export interface ComputeTextureBinding {
@@ -646,7 +660,7 @@ export interface ComputeTextureBinding {
646
660
 
647
661
  ## ComputeDispatchInput
648
662
 
649
- 来源:`packages/sdk/src/index.ts:310`
663
+ 来源:`packages/sdk/src/index.ts:318`
650
664
 
651
665
  ```ts
652
666
  export interface ComputeDispatchInput {
@@ -665,7 +679,7 @@ export interface ComputeDispatchInput {
665
679
 
666
680
  ## ComputeTaskState
667
681
 
668
- 来源:`packages/sdk/src/index.ts:322`
682
+ 来源:`packages/sdk/src/index.ts:330`
669
683
 
670
684
  ```ts
671
685
  export interface ComputeTaskState {
@@ -676,7 +690,7 @@ export interface ComputeTaskState {
676
690
 
677
691
  ## ComputeService
678
692
 
679
- 来源:`packages/sdk/src/index.ts:326`
693
+ 来源:`packages/sdk/src/index.ts:334`
680
694
 
681
695
  ```ts
682
696
  export interface ComputeService {
@@ -703,7 +717,7 @@ export interface ComputeService {
703
717
 
704
718
  ## InputService
705
719
 
706
- 来源:`packages/sdk/src/index.ts:346`
720
+ 来源:`packages/sdk/src/index.ts:354`
707
721
 
708
722
  ```ts
709
723
  export interface InputService {
@@ -716,13 +730,15 @@ export interface InputService {
716
730
 
717
731
  ## PhysicsService
718
732
 
719
- 来源:`packages/sdk/src/index.ts:352`
733
+ 来源:`packages/sdk/src/index.ts:360`
720
734
 
721
735
  ```ts
722
736
  export interface PhysicsService {
723
737
  moveCharacter(entity: string, displacement: Vec3): void;
724
738
  grounded(entity: string): boolean;
725
739
  velocity(entity: string): Vec3;
740
+ /** World-space rigid-body center of mass, including collider offsets. */
741
+ centerOfMass(entity: string): Vec3;
726
742
  setVelocity(entity: string, velocity: Vec3): void;
727
743
  impulse(entity: string, impulse: Vec3): void;
728
744
  /** Angular velocity in world-space radians per second. */
@@ -743,7 +759,7 @@ export interface PhysicsService {
743
759
 
744
760
  ## AnimationService
745
761
 
746
- 来源:`packages/sdk/src/index.ts:372`
762
+ 来源:`packages/sdk/src/index.ts:382`
747
763
 
748
764
  ```ts
749
765
  export interface AnimationService {
@@ -762,7 +778,7 @@ export interface AnimationService {
762
778
 
763
779
  ## CameraService
764
780
 
765
- 来源:`packages/sdk/src/index.ts:384`
781
+ 来源:`packages/sdk/src/index.ts:394`
766
782
 
767
783
  ```ts
768
784
  export interface CameraService {
@@ -782,7 +798,7 @@ export interface CameraService {
782
798
 
783
799
  ## UIService
784
800
 
785
- 来源:`packages/sdk/src/index.ts:397`
801
+ 来源:`packages/sdk/src/index.ts:407`
786
802
 
787
803
  ```ts
788
804
  export interface UIService {
@@ -794,7 +810,7 @@ export interface UIService {
794
810
 
795
811
  ## AudioService
796
812
 
797
- 来源:`packages/sdk/src/index.ts:402`
813
+ 来源:`packages/sdk/src/index.ts:412`
798
814
 
799
815
  ```ts
800
816
  export interface AudioService {
@@ -816,7 +832,7 @@ export interface AudioService {
816
832
 
817
833
  ## StorageService
818
834
 
819
- 来源:`packages/sdk/src/index.ts:417`
835
+ 来源:`packages/sdk/src/index.ts:427`
820
836
 
821
837
  ```ts
822
838
  export interface StorageService {
@@ -832,7 +848,7 @@ export interface StorageService {
832
848
 
833
849
  ## SceneService
834
850
 
835
- 来源:`packages/sdk/src/index.ts:426`
851
+ 来源:`packages/sdk/src/index.ts:436`
836
852
 
837
853
  ```ts
838
854
  export interface SceneService {
@@ -843,7 +859,7 @@ export interface SceneService {
843
859
 
844
860
  ## ModelDefinition
845
861
 
846
- 来源:`packages/sdk/src/index.ts:430`
862
+ 来源:`packages/sdk/src/index.ts:440`
847
863
 
848
864
  ```ts
849
865
  export interface ModelDefinition {
@@ -863,7 +879,7 @@ export interface ModelDefinition {
863
879
 
864
880
  ## RigidBodyDefinition
865
881
 
866
- 来源:`packages/sdk/src/index.ts:443`
882
+ 来源:`packages/sdk/src/index.ts:453`
867
883
 
868
884
  ```ts
869
885
  export interface RigidBodyDefinition {
@@ -884,7 +900,7 @@ export interface RigidBodyDefinition {
884
900
 
885
901
  ## CharacterDefinition
886
902
 
887
- 来源:`packages/sdk/src/index.ts:457`
903
+ 来源:`packages/sdk/src/index.ts:467`
888
904
 
889
905
  ```ts
890
906
  export interface CharacterDefinition {
@@ -899,7 +915,7 @@ export interface CharacterDefinition {
899
915
 
900
916
  ## UIElementDefinition
901
917
 
902
- 来源:`packages/sdk/src/index.ts:465`
918
+ 来源:`packages/sdk/src/index.ts:475`
903
919
 
904
920
  ```ts
905
921
  export interface UIElementDefinition {
@@ -919,7 +935,7 @@ export interface UIElementDefinition {
919
935
 
920
936
  ## SoundDefinition
921
937
 
922
- 来源:`packages/sdk/src/index.ts:478`
938
+ 来源:`packages/sdk/src/index.ts:488`
923
939
 
924
940
  ```ts
925
941
  export interface SoundDefinition {
@@ -933,7 +949,7 @@ export interface SoundDefinition {
933
949
 
934
950
  ## AudioBusDefinition
935
951
 
936
- 来源:`packages/sdk/src/index.ts:485`
952
+ 来源:`packages/sdk/src/index.ts:495`
937
953
 
938
954
  ```ts
939
955
  export interface AudioBusDefinition {
@@ -944,7 +960,7 @@ export interface AudioBusDefinition {
944
960
 
945
961
  ## SYSTEM_PHASES
946
962
 
947
- 来源:`packages/sdk/src/index.ts:489`
963
+ 来源:`packages/sdk/src/index.ts:499`
948
964
 
949
965
  ```ts
950
966
  SYSTEM_PHASES = [
@@ -959,7 +975,7 @@ SYSTEM_PHASES = [
959
975
 
960
976
  ## SystemPhase
961
977
 
962
- 来源:`packages/sdk/src/index.ts:497`
978
+ 来源:`packages/sdk/src/index.ts:507`
963
979
 
964
980
  ```ts
965
981
  export type SystemPhase = (typeof SYSTEM_PHASES)[number];
@@ -967,7 +983,7 @@ export type SystemPhase = (typeof SYSTEM_PHASES)[number];
967
983
 
968
984
  ## Geometry
969
985
 
970
- 来源:`packages/sdk/src/index.ts:498`
986
+ 来源:`packages/sdk/src/index.ts:508`
971
987
 
972
988
  ```ts
973
989
  export type Geometry =
@@ -978,7 +994,7 @@ export type Geometry =
978
994
 
979
995
  ## GRAPH_TYPES
980
996
 
981
- 来源:`packages/sdk/src/index.ts:502`
997
+ 来源:`packages/sdk/src/index.ts:512`
982
998
 
983
999
  ```ts
984
1000
  GRAPH_TYPES = ["float", "vec2", "vec3", "vec4", "bool"] as const
@@ -986,7 +1002,7 @@ GRAPH_TYPES = ["float", "vec2", "vec3", "vec4", "bool"] as const
986
1002
 
987
1003
  ## GraphType
988
1004
 
989
- 来源:`packages/sdk/src/index.ts:503`
1005
+ 来源:`packages/sdk/src/index.ts:513`
990
1006
 
991
1007
  ```ts
992
1008
  export type GraphType = typeof GRAPH_TYPES[number];
@@ -994,7 +1010,7 @@ export type GraphType = typeof GRAPH_TYPES[number];
994
1010
 
995
1011
  ## GraphValue
996
1012
 
997
- 来源:`packages/sdk/src/index.ts:504`
1013
+ 来源:`packages/sdk/src/index.ts:514`
998
1014
 
999
1015
  ```ts
1000
1016
  export type GraphValue = number | boolean | Vec2 | Vec3 | Vec4;
@@ -1002,7 +1018,7 @@ export type GraphValue = number | boolean | Vec2 | Vec3 | Vec4;
1002
1018
 
1003
1019
  ## GraphParameter
1004
1020
 
1005
- 来源:`packages/sdk/src/index.ts:505`
1021
+ 来源:`packages/sdk/src/index.ts:515`
1006
1022
 
1007
1023
  ```ts
1008
1024
  export interface GraphParameter {
@@ -1014,7 +1030,7 @@ export interface GraphParameter {
1014
1030
 
1015
1031
  ## GRAPH_INPUT_TYPES
1016
1032
 
1017
- 来源:`packages/sdk/src/index.ts:510`
1033
+ 来源:`packages/sdk/src/index.ts:520`
1018
1034
 
1019
1035
  ```ts
1020
1036
  GRAPH_INPUT_TYPES = {
@@ -1028,7 +1044,7 @@ GRAPH_INPUT_TYPES = {
1028
1044
 
1029
1045
  ## GraphInputName
1030
1046
 
1031
- 来源:`packages/sdk/src/index.ts:517`
1047
+ 来源:`packages/sdk/src/index.ts:527`
1032
1048
 
1033
1049
  ```ts
1034
1050
  export type GraphInputName = keyof typeof GRAPH_INPUT_TYPES;
@@ -1036,7 +1052,7 @@ export type GraphInputName = keyof typeof GRAPH_INPUT_TYPES;
1036
1052
 
1037
1053
  ## GRAPH_OPERATIONS
1038
1054
 
1039
- 来源:`packages/sdk/src/index.ts:518`
1055
+ 来源:`packages/sdk/src/index.ts:528`
1040
1056
 
1041
1057
  ```ts
1042
1058
  GRAPH_OPERATIONS = {
@@ -1048,7 +1064,7 @@ GRAPH_OPERATIONS = {
1048
1064
 
1049
1065
  ## GraphNode
1050
1066
 
1051
- 来源:`packages/sdk/src/index.ts:523`
1067
+ 来源:`packages/sdk/src/index.ts:533`
1052
1068
 
1053
1069
  ```ts
1054
1070
  export type GraphNode =
@@ -1075,7 +1091,7 @@ export type GraphNode =
1075
1091
 
1076
1092
  ## Graph
1077
1093
 
1078
- 来源:`packages/sdk/src/index.ts:543`
1094
+ 来源:`packages/sdk/src/index.ts:553`
1079
1095
 
1080
1096
  ```ts
1081
1097
  export interface Graph {
@@ -1087,7 +1103,7 @@ export interface Graph {
1087
1103
 
1088
1104
  ## MaterialGraphs
1089
1105
 
1090
- 来源:`packages/sdk/src/index.ts:548`
1106
+ 来源:`packages/sdk/src/index.ts:558`
1091
1107
 
1092
1108
  ```ts
1093
1109
  export interface MaterialGraphs {
@@ -1103,7 +1119,7 @@ export interface MaterialGraphs {
1103
1119
 
1104
1120
  ## VertexGraphs
1105
1121
 
1106
- 来源:`packages/sdk/src/index.ts:557`
1122
+ 来源:`packages/sdk/src/index.ts:567`
1107
1123
 
1108
1124
  ```ts
1109
1125
  export interface VertexGraphs {
@@ -1116,7 +1132,7 @@ export interface VertexGraphs {
1116
1132
 
1117
1133
  ## MaterialInput
1118
1134
 
1119
- 来源:`packages/sdk/src/index.ts:563`
1135
+ 来源:`packages/sdk/src/index.ts:573`
1120
1136
 
1121
1137
  ```ts
1122
1138
  export interface MaterialInput {
@@ -1150,7 +1166,7 @@ export interface MaterialInput {
1150
1166
 
1151
1167
  ## MaterialDefinition
1152
1168
 
1153
- 来源:`packages/sdk/src/index.ts:590`
1169
+ 来源:`packages/sdk/src/index.ts:600`
1154
1170
 
1155
1171
  ```ts
1156
1172
  export interface MaterialDefinition extends MaterialInput {
@@ -1160,7 +1176,7 @@ export interface MaterialDefinition extends MaterialInput {
1160
1176
 
1161
1177
  ## PostProcessInput
1162
1178
 
1163
- 来源:`packages/sdk/src/index.ts:593`
1179
+ 来源:`packages/sdk/src/index.ts:603`
1164
1180
 
1165
1181
  ```ts
1166
1182
  export interface PostProcessInput {
@@ -1175,7 +1191,7 @@ export interface PostProcessInput {
1175
1191
 
1176
1192
  ## PostProcessDefinition
1177
1193
 
1178
- 来源:`packages/sdk/src/index.ts:601`
1194
+ 来源:`packages/sdk/src/index.ts:611`
1179
1195
 
1180
1196
  ```ts
1181
1197
  export interface PostProcessDefinition extends PostProcessInput {
@@ -1185,7 +1201,7 @@ export interface PostProcessDefinition extends PostProcessInput {
1185
1201
 
1186
1202
  ## ComputeInput
1187
1203
 
1188
- 来源:`packages/sdk/src/index.ts:604`
1204
+ 来源:`packages/sdk/src/index.ts:614`
1189
1205
 
1190
1206
  ```ts
1191
1207
  export interface ComputeInput {
@@ -1201,7 +1217,7 @@ export interface ComputeInput {
1201
1217
 
1202
1218
  ## ComputeDefinition
1203
1219
 
1204
- 来源:`packages/sdk/src/index.ts:613`
1220
+ 来源:`packages/sdk/src/index.ts:623`
1205
1221
 
1206
1222
  ```ts
1207
1223
  export interface ComputeDefinition extends ComputeInput {
@@ -1211,7 +1227,7 @@ export interface ComputeDefinition extends ComputeInput {
1211
1227
 
1212
1228
  ## AssetInput
1213
1229
 
1214
- 来源:`packages/sdk/src/index.ts:616`
1230
+ 来源:`packages/sdk/src/index.ts:626`
1215
1231
 
1216
1232
  ```ts
1217
1233
  export interface AssetInput {
@@ -1228,7 +1244,7 @@ export interface AssetInput {
1228
1244
 
1229
1245
  ## AssetDefinition
1230
1246
 
1231
- 来源:`packages/sdk/src/index.ts:626`
1247
+ 来源:`packages/sdk/src/index.ts:636`
1232
1248
 
1233
1249
  ```ts
1234
1250
  export interface AssetDefinition extends AssetInput {
@@ -1238,7 +1254,7 @@ export interface AssetDefinition extends AssetInput {
1238
1254
 
1239
1255
  ## MeshDefinition
1240
1256
 
1241
- 来源:`packages/sdk/src/index.ts:629`
1257
+ 来源:`packages/sdk/src/index.ts:639`
1242
1258
 
1243
1259
  ```ts
1244
1260
  export interface MeshDefinition {
@@ -1251,7 +1267,7 @@ export interface MeshDefinition {
1251
1267
 
1252
1268
  ## LightDefinition
1253
1269
 
1254
- 来源:`packages/sdk/src/index.ts:635`
1270
+ 来源:`packages/sdk/src/index.ts:645`
1255
1271
 
1256
1272
  ```ts
1257
1273
  export interface LightDefinition {
@@ -1273,7 +1289,7 @@ export interface LightDefinition {
1273
1289
 
1274
1290
  ## EntityInput
1275
1291
 
1276
- 来源:`packages/sdk/src/index.ts:650`
1292
+ 来源:`packages/sdk/src/index.ts:660`
1277
1293
 
1278
1294
  ```ts
1279
1295
  export interface EntityInput {
@@ -1292,7 +1308,7 @@ export interface EntityInput {
1292
1308
 
1293
1309
  ## PrefabInput
1294
1310
 
1295
- 来源:`packages/sdk/src/index.ts:662`
1311
+ 来源:`packages/sdk/src/index.ts:672`
1296
1312
 
1297
1313
  ```ts
1298
1314
  export interface PrefabInput extends Omit<EntityInput, "prefab" | "parent"> {
@@ -1302,7 +1318,7 @@ export interface PrefabInput extends Omit<EntityInput, "prefab" | "parent"> {
1302
1318
 
1303
1319
  ## PrefabDefinition
1304
1320
 
1305
- 来源:`packages/sdk/src/index.ts:665`
1321
+ 来源:`packages/sdk/src/index.ts:675`
1306
1322
 
1307
1323
  ```ts
1308
1324
  export interface PrefabDefinition extends PrefabInput {
@@ -1312,7 +1328,7 @@ export interface PrefabDefinition extends PrefabInput {
1312
1328
 
1313
1329
  ## SceneInput
1314
1330
 
1315
- 来源:`packages/sdk/src/index.ts:668`
1331
+ 来源:`packages/sdk/src/index.ts:678`
1316
1332
 
1317
1333
  ```ts
1318
1334
  export interface SceneInput {
@@ -1344,7 +1360,7 @@ export interface SceneInput {
1344
1360
 
1345
1361
  ## SceneDefinition
1346
1362
 
1347
- 来源:`packages/sdk/src/index.ts:693`
1363
+ 来源:`packages/sdk/src/index.ts:703`
1348
1364
 
1349
1365
  ```ts
1350
1366
  export interface SceneDefinition extends SceneInput {
@@ -1354,7 +1370,7 @@ export interface SceneDefinition extends SceneInput {
1354
1370
 
1355
1371
  ## SystemInput
1356
1372
 
1357
- 来源:`packages/sdk/src/index.ts:696`
1373
+ 来源:`packages/sdk/src/index.ts:706`
1358
1374
 
1359
1375
  ```ts
1360
1376
  export interface SystemInput {
@@ -1371,7 +1387,7 @@ export interface SystemInput {
1371
1387
 
1372
1388
  ## SystemDefinition
1373
1389
 
1374
- 来源:`packages/sdk/src/index.ts:706`
1390
+ 来源:`packages/sdk/src/index.ts:716`
1375
1391
 
1376
1392
  ```ts
1377
1393
  export interface SystemDefinition extends SystemInput {
@@ -1381,7 +1397,7 @@ export interface SystemDefinition extends SystemInput {
1381
1397
 
1382
1398
  ## GameInput
1383
1399
 
1384
- 来源:`packages/sdk/src/index.ts:709`
1400
+ 来源:`packages/sdk/src/index.ts:719`
1385
1401
 
1386
1402
  ```ts
1387
1403
  export interface GameInput {
@@ -1407,7 +1423,7 @@ export interface GameInput {
1407
1423
 
1408
1424
  ## GameDefinition
1409
1425
 
1410
- 来源:`packages/sdk/src/index.ts:728`
1426
+ 来源:`packages/sdk/src/index.ts:738`
1411
1427
 
1412
1428
  ```ts
1413
1429
  export interface GameDefinition extends GameInput {
@@ -1417,7 +1433,7 @@ export interface GameDefinition extends GameInput {
1417
1433
 
1418
1434
  ## GameInstance
1419
1435
 
1420
- 来源:`packages/sdk/src/index.ts:731`
1436
+ 来源:`packages/sdk/src/index.ts:741`
1421
1437
 
1422
1438
  ```ts
1423
1439
  export interface GameInstance {
@@ -1428,7 +1444,7 @@ export interface GameInstance {
1428
1444
 
1429
1445
  ## defineComponent
1430
1446
 
1431
- 来源:`packages/sdk/src/index.ts:735`
1447
+ 来源:`packages/sdk/src/index.ts:745`
1432
1448
 
1433
1449
  ```ts
1434
1450
  export function defineComponent<const S extends ComponentSchema>(input: {
@@ -1439,7 +1455,7 @@ export function defineComponent<const S extends ComponentSchema>(input: {
1439
1455
 
1440
1456
  ## defineMaterial
1441
1457
 
1442
- 来源:`packages/sdk/src/index.ts:741`
1458
+ 来源:`packages/sdk/src/index.ts:751`
1443
1459
 
1444
1460
  ```ts
1445
1461
  export function defineMaterial(input: MaterialInput): MaterialDefinition;
@@ -1447,7 +1463,7 @@ export function defineMaterial(input: MaterialInput): MaterialDefinition;
1447
1463
 
1448
1464
  ## definePostProcess
1449
1465
 
1450
- 来源:`packages/sdk/src/index.ts:744`
1466
+ 来源:`packages/sdk/src/index.ts:754`
1451
1467
 
1452
1468
  ```ts
1453
1469
  export function definePostProcess(input: PostProcessInput): PostProcessDefinition;
@@ -1455,7 +1471,7 @@ export function definePostProcess(input: PostProcessInput): PostProcessDefinitio
1455
1471
 
1456
1472
  ## defineCompute
1457
1473
 
1458
- 来源:`packages/sdk/src/index.ts:747`
1474
+ 来源:`packages/sdk/src/index.ts:757`
1459
1475
 
1460
1476
  ```ts
1461
1477
  export function defineCompute(input: ComputeInput): ComputeDefinition;
@@ -1463,7 +1479,7 @@ export function defineCompute(input: ComputeInput): ComputeDefinition;
1463
1479
 
1464
1480
  ## defineAsset
1465
1481
 
1466
- 来源:`packages/sdk/src/index.ts:750`
1482
+ 来源:`packages/sdk/src/index.ts:760`
1467
1483
 
1468
1484
  ```ts
1469
1485
  export function defineAsset(input: AssetInput): AssetDefinition;
@@ -1471,7 +1487,7 @@ export function defineAsset(input: AssetInput): AssetDefinition;
1471
1487
 
1472
1488
  ## definePrefab
1473
1489
 
1474
- 来源:`packages/sdk/src/index.ts:753`
1490
+ 来源:`packages/sdk/src/index.ts:763`
1475
1491
 
1476
1492
  ```ts
1477
1493
  export function definePrefab(input: PrefabInput): PrefabDefinition;
@@ -1479,7 +1495,7 @@ export function definePrefab(input: PrefabInput): PrefabDefinition;
1479
1495
 
1480
1496
  ## defineScene
1481
1497
 
1482
- 来源:`packages/sdk/src/index.ts:756`
1498
+ 来源:`packages/sdk/src/index.ts:766`
1483
1499
 
1484
1500
  ```ts
1485
1501
  export function defineScene(input: SceneInput): SceneDefinition;
@@ -1487,7 +1503,7 @@ export function defineScene(input: SceneInput): SceneDefinition;
1487
1503
 
1488
1504
  ## defineSystem
1489
1505
 
1490
- 来源:`packages/sdk/src/index.ts:759`
1506
+ 来源:`packages/sdk/src/index.ts:769`
1491
1507
 
1492
1508
  ```ts
1493
1509
  export function defineSystem(input: SystemInput): SystemDefinition;
@@ -1495,7 +1511,7 @@ export function defineSystem(input: SystemInput): SystemDefinition;
1495
1511
 
1496
1512
  ## defineGame
1497
1513
 
1498
- 来源:`packages/sdk/src/index.ts:762`
1514
+ 来源:`packages/sdk/src/index.ts:772`
1499
1515
 
1500
1516
  ```ts
1501
1517
  export function defineGame(input: GameInput): GameDefinition;
@@ -1503,7 +1519,7 @@ export function defineGame(input: GameInput): GameDefinition;
1503
1519
 
1504
1520
  ## instantiateGame
1505
1521
 
1506
- 来源:`packages/sdk/src/index.ts:766`
1522
+ 来源:`packages/sdk/src/index.ts:776`
1507
1523
 
1508
1524
  ```ts
1509
1525
  export function instantiateGame(