pelican-engine 0.3.11 → 0.3.13

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.13 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.13"
15
15
  ```
16
16
 
17
17
  ## Vec2
@@ -268,9 +268,17 @@ export type RopeCollider =
268
268
  | { kind: "plane"; id: string; normal: Vec3; offset: number };
269
269
  ```
270
270
 
271
+ ## RopeBodyCollider
272
+
273
+ 来源:`packages/sdk/src/index.ts:127`
274
+
275
+ ```ts
276
+ export interface RopeBodyCollider { readonly id: string; readonly entity: string }
277
+ ```
278
+
271
279
  ## RopeDefinition
272
280
 
273
- 来源:`packages/sdk/src/index.ts:126`
281
+ 来源:`packages/sdk/src/index.ts:128`
274
282
 
275
283
  ```ts
276
284
  export interface RopeDefinition {
@@ -283,6 +291,8 @@ export interface RopeDefinition {
283
291
  fixedDt?: number;
284
292
  /** When true, step once after each physics phase; defaults to false (manual stepping). */
285
293
  autoStep?: boolean;
294
+ /** Automatically sample and react to existing dynamic, non-trigger sphere bodies. Requires autoStep. */
295
+ bodyColliders?: readonly RopeBodyCollider[];
286
296
  substeps?: number;
287
297
  iterations?: number;
288
298
  damping?: number;
@@ -291,16 +301,30 @@ export interface RopeDefinition {
291
301
  }
292
302
  ```
293
303
 
304
+ ## RopeContact
305
+
306
+ 来源:`packages/sdk/src/index.ts:147`
307
+
308
+ ```ts
309
+ export interface RopeContact {
310
+ tick: number; particle: number; colliderId: string; penetration: number;
311
+ /** Opposite of particle projection impulses, N·s; absent in older snapshots. */
312
+ reactionImpulse?: Vec3;
313
+ /** Angular impulse about the world origin; absent in older snapshots. */
314
+ reactionAngularImpulse?: Vec3;
315
+ }
316
+ ```
317
+
294
318
  ## RopeState
295
319
 
296
- 来源:`packages/sdk/src/index.ts:142`
320
+ 来源:`packages/sdk/src/index.ts:154`
297
321
 
298
322
  ```ts
299
323
  export interface RopeState {
300
324
  tick: number; simulatedSeconds: number; disposed: boolean;
301
325
  positions: Vec3[]; velocities: Vec3[];
302
326
  anchors: { index: number; position: Vec3 }[];
303
- contacts: { tick: number; particle: number; colliderId: string; penetration: number }[];
327
+ contacts: RopeContact[];
304
328
  maxDistanceError: number;
305
329
  resources: { particles: number; constraints: number; anchors: number; colliders: number };
306
330
  }
@@ -308,7 +332,7 @@ export interface RopeState {
308
332
 
309
333
  ## RopeService
310
334
 
311
- 来源:`packages/sdk/src/index.ts:150`
335
+ 来源:`packages/sdk/src/index.ts:162`
312
336
 
313
337
  ```ts
314
338
  export interface RopeService {
@@ -327,7 +351,7 @@ export interface RopeService {
327
351
 
328
352
  ## NavigationCell
329
353
 
330
- 来源:`packages/sdk/src/index.ts:165`
354
+ 来源:`packages/sdk/src/index.ts:177`
331
355
 
332
356
  ```ts
333
357
  export interface NavigationCell { readonly x: number; readonly y: number }
@@ -335,7 +359,7 @@ export interface NavigationCell { readonly x: number; readonly y: number }
335
359
 
336
360
  ## NavigationObstacleUpdate
337
361
 
338
- 来源:`packages/sdk/src/index.ts:167`
362
+ 来源:`packages/sdk/src/index.ts:179`
339
363
 
340
364
  ```ts
341
365
  export interface NavigationObstacleUpdate { readonly cell: NavigationCell; readonly blocked: boolean }
@@ -343,7 +367,7 @@ export interface NavigationObstacleUpdate { readonly cell: NavigationCell; reado
343
367
 
344
368
  ## NavigationGrid
345
369
 
346
- 来源:`packages/sdk/src/index.ts:168`
370
+ 来源:`packages/sdk/src/index.ts:180`
347
371
 
348
372
  ```ts
349
373
  export interface NavigationGrid {
@@ -359,7 +383,7 @@ export interface NavigationGrid {
359
383
 
360
384
  ## NavigationService
361
385
 
362
- 来源:`packages/sdk/src/index.ts:177`
386
+ 来源:`packages/sdk/src/index.ts:189`
363
387
 
364
388
  ```ts
365
389
  export interface NavigationService {
@@ -378,7 +402,7 @@ export interface NavigationService {
378
402
 
379
403
  ## RenderMode
380
404
 
381
- 来源:`packages/sdk/src/index.ts:189`
405
+ 来源:`packages/sdk/src/index.ts:201`
382
406
 
383
407
  ```ts
384
408
  export type RenderMode = "raster" | "hybrid" | "path";
@@ -386,7 +410,7 @@ export type RenderMode = "raster" | "hybrid" | "path";
386
410
 
387
411
  ## RenderCapabilities
388
412
 
389
- 来源:`packages/sdk/src/index.ts:190`
413
+ 来源:`packages/sdk/src/index.ts:202`
390
414
 
391
415
  ```ts
392
416
  export interface RenderCapabilities {
@@ -398,7 +422,7 @@ export interface RenderCapabilities {
398
422
 
399
423
  ## RenderSettings
400
424
 
401
- 来源:`packages/sdk/src/index.ts:195`
425
+ 来源:`packages/sdk/src/index.ts:207`
402
426
 
403
427
  ```ts
404
428
  export interface RenderSettings {
@@ -416,7 +440,7 @@ export interface RenderSettings {
416
440
 
417
441
  ## RenderService
418
442
 
419
- 来源:`packages/sdk/src/index.ts:206`
443
+ 来源:`packages/sdk/src/index.ts:218`
420
444
 
421
445
  ```ts
422
446
  export interface RenderService {
@@ -433,7 +457,7 @@ export interface RenderService {
433
457
 
434
458
  ## MaterialBufferInput
435
459
 
436
- 来源:`packages/sdk/src/index.ts:216`
460
+ 来源:`packages/sdk/src/index.ts:228`
437
461
 
438
462
  ```ts
439
463
  export interface MaterialBufferInput {
@@ -449,7 +473,7 @@ export interface MaterialBufferInput {
449
473
 
450
474
  ## RenderBufferReference
451
475
 
452
- 来源:`packages/sdk/src/index.ts:225`
476
+ 来源:`packages/sdk/src/index.ts:237`
453
477
 
454
478
  ```ts
455
479
  export interface RenderBufferReference {
@@ -461,7 +485,7 @@ export interface RenderBufferReference {
461
485
 
462
486
  ## RenderBufferBindings
463
487
 
464
- 来源:`packages/sdk/src/index.ts:230`
488
+ 来源:`packages/sdk/src/index.ts:242`
465
489
 
466
490
  ```ts
467
491
  export interface RenderBufferBindings {
@@ -473,7 +497,7 @@ export interface RenderBufferBindings {
473
497
 
474
498
  ## MaterialTextureInput
475
499
 
476
- 来源:`packages/sdk/src/index.ts:235`
500
+ 来源:`packages/sdk/src/index.ts:247`
477
501
 
478
502
  ```ts
479
503
  export interface MaterialTextureInput extends ComputeTextureBinding {
@@ -486,7 +510,7 @@ export interface MaterialTextureInput extends ComputeTextureBinding {
486
510
 
487
511
  ## RenderTextureReference
488
512
 
489
- 来源:`packages/sdk/src/index.ts:241`
513
+ 来源:`packages/sdk/src/index.ts:253`
490
514
 
491
515
  ```ts
492
516
  export interface RenderTextureReference extends ComputeTextureSize {
@@ -497,7 +521,7 @@ export interface RenderTextureReference extends ComputeTextureSize {
497
521
 
498
522
  ## RenderTextureBindings
499
523
 
500
- 来源:`packages/sdk/src/index.ts:245`
524
+ 来源:`packages/sdk/src/index.ts:257`
501
525
 
502
526
  ```ts
503
527
  export interface RenderTextureBindings {
@@ -509,7 +533,7 @@ export interface RenderTextureBindings {
509
533
 
510
534
  ## PostProcessState
511
535
 
512
- 来源:`packages/sdk/src/index.ts:250`
536
+ 来源:`packages/sdk/src/index.ts:262`
513
537
 
514
538
  ```ts
515
539
  export interface PostProcessState {
@@ -521,7 +545,7 @@ export interface PostProcessState {
521
545
 
522
546
  ## PostProcessService
523
547
 
524
- 来源:`packages/sdk/src/index.ts:255`
548
+ 来源:`packages/sdk/src/index.ts:267`
525
549
 
526
550
  ```ts
527
551
  export interface PostProcessService {
@@ -538,7 +562,7 @@ export interface PostProcessService {
538
562
 
539
563
  ## ComputeBufferHandle
540
564
 
541
- 来源:`packages/sdk/src/index.ts:265`
565
+ 来源:`packages/sdk/src/index.ts:277`
542
566
 
543
567
  ```ts
544
568
  export interface ComputeBufferHandle {
@@ -550,7 +574,7 @@ export interface ComputeBufferHandle {
550
574
 
551
575
  ## ComputeTaskHandle
552
576
 
553
- 来源:`packages/sdk/src/index.ts:270`
577
+ 来源:`packages/sdk/src/index.ts:282`
554
578
 
555
579
  ```ts
556
580
  export interface ComputeTaskHandle {
@@ -561,7 +585,7 @@ export interface ComputeTaskHandle {
561
585
 
562
586
  ## ComputeBufferInput
563
587
 
564
- 来源:`packages/sdk/src/index.ts:274`
588
+ 来源:`packages/sdk/src/index.ts:286`
565
589
 
566
590
  ```ts
567
591
  export interface ComputeBufferInput {
@@ -574,7 +598,7 @@ export interface ComputeBufferInput {
574
598
 
575
599
  ## ComputeTextureHandle
576
600
 
577
- 来源:`packages/sdk/src/index.ts:280`
601
+ 来源:`packages/sdk/src/index.ts:292`
578
602
 
579
603
  ```ts
580
604
  export interface ComputeTextureHandle {
@@ -587,7 +611,7 @@ export interface ComputeTextureHandle {
587
611
 
588
612
  ## ComputeTextureSize
589
613
 
590
- 来源:`packages/sdk/src/index.ts:286`
614
+ 来源:`packages/sdk/src/index.ts:298`
591
615
 
592
616
  ```ts
593
617
  export interface ComputeTextureSize {
@@ -598,7 +622,7 @@ export interface ComputeTextureSize {
598
622
 
599
623
  ## ComputeTextureDataInput
600
624
 
601
- 来源:`packages/sdk/src/index.ts:290`
625
+ 来源:`packages/sdk/src/index.ts:302`
602
626
 
603
627
  ```ts
604
628
  export interface ComputeTextureDataInput extends ComputeTextureSize {
@@ -611,7 +635,7 @@ export interface ComputeTextureDataInput extends ComputeTextureSize {
611
635
 
612
636
  ## ComputeTextureAssetInput
613
637
 
614
- 来源:`packages/sdk/src/index.ts:296`
638
+ 来源:`packages/sdk/src/index.ts:308`
615
639
 
616
640
  ```ts
617
641
  export interface ComputeTextureAssetInput {
@@ -625,7 +649,7 @@ export interface ComputeTextureAssetInput {
625
649
 
626
650
  ## ComputeTextureInput
627
651
 
628
- 来源:`packages/sdk/src/index.ts:303`
652
+ 来源:`packages/sdk/src/index.ts:315`
629
653
 
630
654
  ```ts
631
655
  export type ComputeTextureInput = ComputeTextureDataInput | ComputeTextureAssetInput;
@@ -633,7 +657,7 @@ export type ComputeTextureInput = ComputeTextureDataInput | ComputeTextureAssetI
633
657
 
634
658
  ## ComputeTextureBinding
635
659
 
636
- 来源:`packages/sdk/src/index.ts:304`
660
+ 来源:`packages/sdk/src/index.ts:316`
637
661
 
638
662
  ```ts
639
663
  export interface ComputeTextureBinding {
@@ -646,7 +670,7 @@ export interface ComputeTextureBinding {
646
670
 
647
671
  ## ComputeDispatchInput
648
672
 
649
- 来源:`packages/sdk/src/index.ts:310`
673
+ 来源:`packages/sdk/src/index.ts:322`
650
674
 
651
675
  ```ts
652
676
  export interface ComputeDispatchInput {
@@ -665,7 +689,7 @@ export interface ComputeDispatchInput {
665
689
 
666
690
  ## ComputeTaskState
667
691
 
668
- 来源:`packages/sdk/src/index.ts:322`
692
+ 来源:`packages/sdk/src/index.ts:334`
669
693
 
670
694
  ```ts
671
695
  export interface ComputeTaskState {
@@ -676,7 +700,7 @@ export interface ComputeTaskState {
676
700
 
677
701
  ## ComputeService
678
702
 
679
- 来源:`packages/sdk/src/index.ts:326`
703
+ 来源:`packages/sdk/src/index.ts:338`
680
704
 
681
705
  ```ts
682
706
  export interface ComputeService {
@@ -703,7 +727,7 @@ export interface ComputeService {
703
727
 
704
728
  ## InputService
705
729
 
706
- 来源:`packages/sdk/src/index.ts:346`
730
+ 来源:`packages/sdk/src/index.ts:358`
707
731
 
708
732
  ```ts
709
733
  export interface InputService {
@@ -716,13 +740,15 @@ export interface InputService {
716
740
 
717
741
  ## PhysicsService
718
742
 
719
- 来源:`packages/sdk/src/index.ts:352`
743
+ 来源:`packages/sdk/src/index.ts:364`
720
744
 
721
745
  ```ts
722
746
  export interface PhysicsService {
723
747
  moveCharacter(entity: string, displacement: Vec3): void;
724
748
  grounded(entity: string): boolean;
725
749
  velocity(entity: string): Vec3;
750
+ /** World-space rigid-body center of mass, including collider offsets. */
751
+ centerOfMass(entity: string): Vec3;
726
752
  setVelocity(entity: string, velocity: Vec3): void;
727
753
  impulse(entity: string, impulse: Vec3): void;
728
754
  /** Angular velocity in world-space radians per second. */
@@ -743,7 +769,7 @@ export interface PhysicsService {
743
769
 
744
770
  ## AnimationService
745
771
 
746
- 来源:`packages/sdk/src/index.ts:372`
772
+ 来源:`packages/sdk/src/index.ts:386`
747
773
 
748
774
  ```ts
749
775
  export interface AnimationService {
@@ -762,7 +788,7 @@ export interface AnimationService {
762
788
 
763
789
  ## CameraService
764
790
 
765
- 来源:`packages/sdk/src/index.ts:384`
791
+ 来源:`packages/sdk/src/index.ts:398`
766
792
 
767
793
  ```ts
768
794
  export interface CameraService {
@@ -782,7 +808,7 @@ export interface CameraService {
782
808
 
783
809
  ## UIService
784
810
 
785
- 来源:`packages/sdk/src/index.ts:397`
811
+ 来源:`packages/sdk/src/index.ts:411`
786
812
 
787
813
  ```ts
788
814
  export interface UIService {
@@ -794,7 +820,7 @@ export interface UIService {
794
820
 
795
821
  ## AudioService
796
822
 
797
- 来源:`packages/sdk/src/index.ts:402`
823
+ 来源:`packages/sdk/src/index.ts:416`
798
824
 
799
825
  ```ts
800
826
  export interface AudioService {
@@ -816,7 +842,7 @@ export interface AudioService {
816
842
 
817
843
  ## StorageService
818
844
 
819
- 来源:`packages/sdk/src/index.ts:417`
845
+ 来源:`packages/sdk/src/index.ts:431`
820
846
 
821
847
  ```ts
822
848
  export interface StorageService {
@@ -832,7 +858,7 @@ export interface StorageService {
832
858
 
833
859
  ## SceneService
834
860
 
835
- 来源:`packages/sdk/src/index.ts:426`
861
+ 来源:`packages/sdk/src/index.ts:440`
836
862
 
837
863
  ```ts
838
864
  export interface SceneService {
@@ -843,7 +869,7 @@ export interface SceneService {
843
869
 
844
870
  ## ModelDefinition
845
871
 
846
- 来源:`packages/sdk/src/index.ts:430`
872
+ 来源:`packages/sdk/src/index.ts:444`
847
873
 
848
874
  ```ts
849
875
  export interface ModelDefinition {
@@ -863,7 +889,7 @@ export interface ModelDefinition {
863
889
 
864
890
  ## RigidBodyDefinition
865
891
 
866
- 来源:`packages/sdk/src/index.ts:443`
892
+ 来源:`packages/sdk/src/index.ts:457`
867
893
 
868
894
  ```ts
869
895
  export interface RigidBodyDefinition {
@@ -884,7 +910,7 @@ export interface RigidBodyDefinition {
884
910
 
885
911
  ## CharacterDefinition
886
912
 
887
- 来源:`packages/sdk/src/index.ts:457`
913
+ 来源:`packages/sdk/src/index.ts:471`
888
914
 
889
915
  ```ts
890
916
  export interface CharacterDefinition {
@@ -899,7 +925,7 @@ export interface CharacterDefinition {
899
925
 
900
926
  ## UIElementDefinition
901
927
 
902
- 来源:`packages/sdk/src/index.ts:465`
928
+ 来源:`packages/sdk/src/index.ts:479`
903
929
 
904
930
  ```ts
905
931
  export interface UIElementDefinition {
@@ -919,7 +945,7 @@ export interface UIElementDefinition {
919
945
 
920
946
  ## SoundDefinition
921
947
 
922
- 来源:`packages/sdk/src/index.ts:478`
948
+ 来源:`packages/sdk/src/index.ts:492`
923
949
 
924
950
  ```ts
925
951
  export interface SoundDefinition {
@@ -933,7 +959,7 @@ export interface SoundDefinition {
933
959
 
934
960
  ## AudioBusDefinition
935
961
 
936
- 来源:`packages/sdk/src/index.ts:485`
962
+ 来源:`packages/sdk/src/index.ts:499`
937
963
 
938
964
  ```ts
939
965
  export interface AudioBusDefinition {
@@ -944,7 +970,7 @@ export interface AudioBusDefinition {
944
970
 
945
971
  ## SYSTEM_PHASES
946
972
 
947
- 来源:`packages/sdk/src/index.ts:489`
973
+ 来源:`packages/sdk/src/index.ts:503`
948
974
 
949
975
  ```ts
950
976
  SYSTEM_PHASES = [
@@ -959,7 +985,7 @@ SYSTEM_PHASES = [
959
985
 
960
986
  ## SystemPhase
961
987
 
962
- 来源:`packages/sdk/src/index.ts:497`
988
+ 来源:`packages/sdk/src/index.ts:511`
963
989
 
964
990
  ```ts
965
991
  export type SystemPhase = (typeof SYSTEM_PHASES)[number];
@@ -967,7 +993,7 @@ export type SystemPhase = (typeof SYSTEM_PHASES)[number];
967
993
 
968
994
  ## Geometry
969
995
 
970
- 来源:`packages/sdk/src/index.ts:498`
996
+ 来源:`packages/sdk/src/index.ts:512`
971
997
 
972
998
  ```ts
973
999
  export type Geometry =
@@ -978,7 +1004,7 @@ export type Geometry =
978
1004
 
979
1005
  ## GRAPH_TYPES
980
1006
 
981
- 来源:`packages/sdk/src/index.ts:502`
1007
+ 来源:`packages/sdk/src/index.ts:516`
982
1008
 
983
1009
  ```ts
984
1010
  GRAPH_TYPES = ["float", "vec2", "vec3", "vec4", "bool"] as const
@@ -986,7 +1012,7 @@ GRAPH_TYPES = ["float", "vec2", "vec3", "vec4", "bool"] as const
986
1012
 
987
1013
  ## GraphType
988
1014
 
989
- 来源:`packages/sdk/src/index.ts:503`
1015
+ 来源:`packages/sdk/src/index.ts:517`
990
1016
 
991
1017
  ```ts
992
1018
  export type GraphType = typeof GRAPH_TYPES[number];
@@ -994,7 +1020,7 @@ export type GraphType = typeof GRAPH_TYPES[number];
994
1020
 
995
1021
  ## GraphValue
996
1022
 
997
- 来源:`packages/sdk/src/index.ts:504`
1023
+ 来源:`packages/sdk/src/index.ts:518`
998
1024
 
999
1025
  ```ts
1000
1026
  export type GraphValue = number | boolean | Vec2 | Vec3 | Vec4;
@@ -1002,7 +1028,7 @@ export type GraphValue = number | boolean | Vec2 | Vec3 | Vec4;
1002
1028
 
1003
1029
  ## GraphParameter
1004
1030
 
1005
- 来源:`packages/sdk/src/index.ts:505`
1031
+ 来源:`packages/sdk/src/index.ts:519`
1006
1032
 
1007
1033
  ```ts
1008
1034
  export interface GraphParameter {
@@ -1014,7 +1040,7 @@ export interface GraphParameter {
1014
1040
 
1015
1041
  ## GRAPH_INPUT_TYPES
1016
1042
 
1017
- 来源:`packages/sdk/src/index.ts:510`
1043
+ 来源:`packages/sdk/src/index.ts:524`
1018
1044
 
1019
1045
  ```ts
1020
1046
  GRAPH_INPUT_TYPES = {
@@ -1028,7 +1054,7 @@ GRAPH_INPUT_TYPES = {
1028
1054
 
1029
1055
  ## GraphInputName
1030
1056
 
1031
- 来源:`packages/sdk/src/index.ts:517`
1057
+ 来源:`packages/sdk/src/index.ts:531`
1032
1058
 
1033
1059
  ```ts
1034
1060
  export type GraphInputName = keyof typeof GRAPH_INPUT_TYPES;
@@ -1036,7 +1062,7 @@ export type GraphInputName = keyof typeof GRAPH_INPUT_TYPES;
1036
1062
 
1037
1063
  ## GRAPH_OPERATIONS
1038
1064
 
1039
- 来源:`packages/sdk/src/index.ts:518`
1065
+ 来源:`packages/sdk/src/index.ts:532`
1040
1066
 
1041
1067
  ```ts
1042
1068
  GRAPH_OPERATIONS = {
@@ -1048,7 +1074,7 @@ GRAPH_OPERATIONS = {
1048
1074
 
1049
1075
  ## GraphNode
1050
1076
 
1051
- 来源:`packages/sdk/src/index.ts:523`
1077
+ 来源:`packages/sdk/src/index.ts:537`
1052
1078
 
1053
1079
  ```ts
1054
1080
  export type GraphNode =
@@ -1075,7 +1101,7 @@ export type GraphNode =
1075
1101
 
1076
1102
  ## Graph
1077
1103
 
1078
- 来源:`packages/sdk/src/index.ts:543`
1104
+ 来源:`packages/sdk/src/index.ts:557`
1079
1105
 
1080
1106
  ```ts
1081
1107
  export interface Graph {
@@ -1087,7 +1113,7 @@ export interface Graph {
1087
1113
 
1088
1114
  ## MaterialGraphs
1089
1115
 
1090
- 来源:`packages/sdk/src/index.ts:548`
1116
+ 来源:`packages/sdk/src/index.ts:562`
1091
1117
 
1092
1118
  ```ts
1093
1119
  export interface MaterialGraphs {
@@ -1103,7 +1129,7 @@ export interface MaterialGraphs {
1103
1129
 
1104
1130
  ## VertexGraphs
1105
1131
 
1106
- 来源:`packages/sdk/src/index.ts:557`
1132
+ 来源:`packages/sdk/src/index.ts:571`
1107
1133
 
1108
1134
  ```ts
1109
1135
  export interface VertexGraphs {
@@ -1116,7 +1142,7 @@ export interface VertexGraphs {
1116
1142
 
1117
1143
  ## MaterialInput
1118
1144
 
1119
- 来源:`packages/sdk/src/index.ts:563`
1145
+ 来源:`packages/sdk/src/index.ts:577`
1120
1146
 
1121
1147
  ```ts
1122
1148
  export interface MaterialInput {
@@ -1150,7 +1176,7 @@ export interface MaterialInput {
1150
1176
 
1151
1177
  ## MaterialDefinition
1152
1178
 
1153
- 来源:`packages/sdk/src/index.ts:590`
1179
+ 来源:`packages/sdk/src/index.ts:604`
1154
1180
 
1155
1181
  ```ts
1156
1182
  export interface MaterialDefinition extends MaterialInput {
@@ -1160,7 +1186,7 @@ export interface MaterialDefinition extends MaterialInput {
1160
1186
 
1161
1187
  ## PostProcessInput
1162
1188
 
1163
- 来源:`packages/sdk/src/index.ts:593`
1189
+ 来源:`packages/sdk/src/index.ts:607`
1164
1190
 
1165
1191
  ```ts
1166
1192
  export interface PostProcessInput {
@@ -1175,7 +1201,7 @@ export interface PostProcessInput {
1175
1201
 
1176
1202
  ## PostProcessDefinition
1177
1203
 
1178
- 来源:`packages/sdk/src/index.ts:601`
1204
+ 来源:`packages/sdk/src/index.ts:615`
1179
1205
 
1180
1206
  ```ts
1181
1207
  export interface PostProcessDefinition extends PostProcessInput {
@@ -1185,7 +1211,7 @@ export interface PostProcessDefinition extends PostProcessInput {
1185
1211
 
1186
1212
  ## ComputeInput
1187
1213
 
1188
- 来源:`packages/sdk/src/index.ts:604`
1214
+ 来源:`packages/sdk/src/index.ts:618`
1189
1215
 
1190
1216
  ```ts
1191
1217
  export interface ComputeInput {
@@ -1201,7 +1227,7 @@ export interface ComputeInput {
1201
1227
 
1202
1228
  ## ComputeDefinition
1203
1229
 
1204
- 来源:`packages/sdk/src/index.ts:613`
1230
+ 来源:`packages/sdk/src/index.ts:627`
1205
1231
 
1206
1232
  ```ts
1207
1233
  export interface ComputeDefinition extends ComputeInput {
@@ -1211,7 +1237,7 @@ export interface ComputeDefinition extends ComputeInput {
1211
1237
 
1212
1238
  ## AssetInput
1213
1239
 
1214
- 来源:`packages/sdk/src/index.ts:616`
1240
+ 来源:`packages/sdk/src/index.ts:630`
1215
1241
 
1216
1242
  ```ts
1217
1243
  export interface AssetInput {
@@ -1228,7 +1254,7 @@ export interface AssetInput {
1228
1254
 
1229
1255
  ## AssetDefinition
1230
1256
 
1231
- 来源:`packages/sdk/src/index.ts:626`
1257
+ 来源:`packages/sdk/src/index.ts:640`
1232
1258
 
1233
1259
  ```ts
1234
1260
  export interface AssetDefinition extends AssetInput {
@@ -1238,7 +1264,7 @@ export interface AssetDefinition extends AssetInput {
1238
1264
 
1239
1265
  ## MeshDefinition
1240
1266
 
1241
- 来源:`packages/sdk/src/index.ts:629`
1267
+ 来源:`packages/sdk/src/index.ts:643`
1242
1268
 
1243
1269
  ```ts
1244
1270
  export interface MeshDefinition {
@@ -1251,7 +1277,7 @@ export interface MeshDefinition {
1251
1277
 
1252
1278
  ## LightDefinition
1253
1279
 
1254
- 来源:`packages/sdk/src/index.ts:635`
1280
+ 来源:`packages/sdk/src/index.ts:649`
1255
1281
 
1256
1282
  ```ts
1257
1283
  export interface LightDefinition {
@@ -1273,7 +1299,7 @@ export interface LightDefinition {
1273
1299
 
1274
1300
  ## EntityInput
1275
1301
 
1276
- 来源:`packages/sdk/src/index.ts:650`
1302
+ 来源:`packages/sdk/src/index.ts:664`
1277
1303
 
1278
1304
  ```ts
1279
1305
  export interface EntityInput {
@@ -1292,7 +1318,7 @@ export interface EntityInput {
1292
1318
 
1293
1319
  ## PrefabInput
1294
1320
 
1295
- 来源:`packages/sdk/src/index.ts:662`
1321
+ 来源:`packages/sdk/src/index.ts:676`
1296
1322
 
1297
1323
  ```ts
1298
1324
  export interface PrefabInput extends Omit<EntityInput, "prefab" | "parent"> {
@@ -1302,7 +1328,7 @@ export interface PrefabInput extends Omit<EntityInput, "prefab" | "parent"> {
1302
1328
 
1303
1329
  ## PrefabDefinition
1304
1330
 
1305
- 来源:`packages/sdk/src/index.ts:665`
1331
+ 来源:`packages/sdk/src/index.ts:679`
1306
1332
 
1307
1333
  ```ts
1308
1334
  export interface PrefabDefinition extends PrefabInput {
@@ -1312,7 +1338,7 @@ export interface PrefabDefinition extends PrefabInput {
1312
1338
 
1313
1339
  ## SceneInput
1314
1340
 
1315
- 来源:`packages/sdk/src/index.ts:668`
1341
+ 来源:`packages/sdk/src/index.ts:682`
1316
1342
 
1317
1343
  ```ts
1318
1344
  export interface SceneInput {
@@ -1344,7 +1370,7 @@ export interface SceneInput {
1344
1370
 
1345
1371
  ## SceneDefinition
1346
1372
 
1347
- 来源:`packages/sdk/src/index.ts:693`
1373
+ 来源:`packages/sdk/src/index.ts:707`
1348
1374
 
1349
1375
  ```ts
1350
1376
  export interface SceneDefinition extends SceneInput {
@@ -1354,7 +1380,7 @@ export interface SceneDefinition extends SceneInput {
1354
1380
 
1355
1381
  ## SystemInput
1356
1382
 
1357
- 来源:`packages/sdk/src/index.ts:696`
1383
+ 来源:`packages/sdk/src/index.ts:710`
1358
1384
 
1359
1385
  ```ts
1360
1386
  export interface SystemInput {
@@ -1371,7 +1397,7 @@ export interface SystemInput {
1371
1397
 
1372
1398
  ## SystemDefinition
1373
1399
 
1374
- 来源:`packages/sdk/src/index.ts:706`
1400
+ 来源:`packages/sdk/src/index.ts:720`
1375
1401
 
1376
1402
  ```ts
1377
1403
  export interface SystemDefinition extends SystemInput {
@@ -1381,7 +1407,7 @@ export interface SystemDefinition extends SystemInput {
1381
1407
 
1382
1408
  ## GameInput
1383
1409
 
1384
- 来源:`packages/sdk/src/index.ts:709`
1410
+ 来源:`packages/sdk/src/index.ts:723`
1385
1411
 
1386
1412
  ```ts
1387
1413
  export interface GameInput {
@@ -1407,7 +1433,7 @@ export interface GameInput {
1407
1433
 
1408
1434
  ## GameDefinition
1409
1435
 
1410
- 来源:`packages/sdk/src/index.ts:728`
1436
+ 来源:`packages/sdk/src/index.ts:742`
1411
1437
 
1412
1438
  ```ts
1413
1439
  export interface GameDefinition extends GameInput {
@@ -1417,7 +1443,7 @@ export interface GameDefinition extends GameInput {
1417
1443
 
1418
1444
  ## GameInstance
1419
1445
 
1420
- 来源:`packages/sdk/src/index.ts:731`
1446
+ 来源:`packages/sdk/src/index.ts:745`
1421
1447
 
1422
1448
  ```ts
1423
1449
  export interface GameInstance {
@@ -1428,7 +1454,7 @@ export interface GameInstance {
1428
1454
 
1429
1455
  ## defineComponent
1430
1456
 
1431
- 来源:`packages/sdk/src/index.ts:735`
1457
+ 来源:`packages/sdk/src/index.ts:749`
1432
1458
 
1433
1459
  ```ts
1434
1460
  export function defineComponent<const S extends ComponentSchema>(input: {
@@ -1439,7 +1465,7 @@ export function defineComponent<const S extends ComponentSchema>(input: {
1439
1465
 
1440
1466
  ## defineMaterial
1441
1467
 
1442
- 来源:`packages/sdk/src/index.ts:741`
1468
+ 来源:`packages/sdk/src/index.ts:755`
1443
1469
 
1444
1470
  ```ts
1445
1471
  export function defineMaterial(input: MaterialInput): MaterialDefinition;
@@ -1447,7 +1473,7 @@ export function defineMaterial(input: MaterialInput): MaterialDefinition;
1447
1473
 
1448
1474
  ## definePostProcess
1449
1475
 
1450
- 来源:`packages/sdk/src/index.ts:744`
1476
+ 来源:`packages/sdk/src/index.ts:758`
1451
1477
 
1452
1478
  ```ts
1453
1479
  export function definePostProcess(input: PostProcessInput): PostProcessDefinition;
@@ -1455,7 +1481,7 @@ export function definePostProcess(input: PostProcessInput): PostProcessDefinitio
1455
1481
 
1456
1482
  ## defineCompute
1457
1483
 
1458
- 来源:`packages/sdk/src/index.ts:747`
1484
+ 来源:`packages/sdk/src/index.ts:761`
1459
1485
 
1460
1486
  ```ts
1461
1487
  export function defineCompute(input: ComputeInput): ComputeDefinition;
@@ -1463,7 +1489,7 @@ export function defineCompute(input: ComputeInput): ComputeDefinition;
1463
1489
 
1464
1490
  ## defineAsset
1465
1491
 
1466
- 来源:`packages/sdk/src/index.ts:750`
1492
+ 来源:`packages/sdk/src/index.ts:764`
1467
1493
 
1468
1494
  ```ts
1469
1495
  export function defineAsset(input: AssetInput): AssetDefinition;
@@ -1471,7 +1497,7 @@ export function defineAsset(input: AssetInput): AssetDefinition;
1471
1497
 
1472
1498
  ## definePrefab
1473
1499
 
1474
- 来源:`packages/sdk/src/index.ts:753`
1500
+ 来源:`packages/sdk/src/index.ts:767`
1475
1501
 
1476
1502
  ```ts
1477
1503
  export function definePrefab(input: PrefabInput): PrefabDefinition;
@@ -1479,7 +1505,7 @@ export function definePrefab(input: PrefabInput): PrefabDefinition;
1479
1505
 
1480
1506
  ## defineScene
1481
1507
 
1482
- 来源:`packages/sdk/src/index.ts:756`
1508
+ 来源:`packages/sdk/src/index.ts:770`
1483
1509
 
1484
1510
  ```ts
1485
1511
  export function defineScene(input: SceneInput): SceneDefinition;
@@ -1487,7 +1513,7 @@ export function defineScene(input: SceneInput): SceneDefinition;
1487
1513
 
1488
1514
  ## defineSystem
1489
1515
 
1490
- 来源:`packages/sdk/src/index.ts:759`
1516
+ 来源:`packages/sdk/src/index.ts:773`
1491
1517
 
1492
1518
  ```ts
1493
1519
  export function defineSystem(input: SystemInput): SystemDefinition;
@@ -1495,7 +1521,7 @@ export function defineSystem(input: SystemInput): SystemDefinition;
1495
1521
 
1496
1522
  ## defineGame
1497
1523
 
1498
- 来源:`packages/sdk/src/index.ts:762`
1524
+ 来源:`packages/sdk/src/index.ts:776`
1499
1525
 
1500
1526
  ```ts
1501
1527
  export function defineGame(input: GameInput): GameDefinition;
@@ -1503,7 +1529,7 @@ export function defineGame(input: GameInput): GameDefinition;
1503
1529
 
1504
1530
  ## instantiateGame
1505
1531
 
1506
- 来源:`packages/sdk/src/index.ts:766`
1532
+ 来源:`packages/sdk/src/index.ts:780`
1507
1533
 
1508
1534
  ```ts
1509
1535
  export function instantiateGame(