pelican-engine 0.3.15 → 0.3.17

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.15 API 索引
1
+ # pelican 0.3.17 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.15"
14
+ SDK_VERSION = "0.3.17"
15
15
  ```
16
16
 
17
17
  ## Vec2
@@ -323,6 +323,10 @@ export interface RopeDefinition {
323
323
  autoStep?: boolean;
324
324
  /** Automatically sample and react to existing dynamic, non-trigger sphere bodies. Requires autoStep. */
325
325
  bodyColliders?: readonly RopeBodyCollider[];
326
+ /** Resolve sphere contacts on segment interiors; defaults to true for new ropes. */
327
+ segmentCollisions?: boolean;
328
+ /** Resolve discrete non-adjacent segment self contacts; defaults to true for new ropes. */
329
+ selfCollisions?: boolean;
326
330
  /** Optional segmented presentation using an already-declared material id. */
327
331
  visual?: RopeVisualOptions;
328
332
  substeps?: number;
@@ -335,7 +339,7 @@ export interface RopeDefinition {
335
339
 
336
340
  ## RopeContact
337
341
 
338
- 来源:`packages/sdk/src/index.ts:167`
342
+ 来源:`packages/sdk/src/index.ts:171`
339
343
 
340
344
  ```ts
341
345
  export interface RopeContact {
@@ -347,16 +351,54 @@ export interface RopeContact {
347
351
  }
348
352
  ```
349
353
 
354
+ ## RopeSegmentContact
355
+
356
+ 来源:`packages/sdk/src/index.ts:179`
357
+
358
+ ```ts
359
+ export interface RopeSegmentContact {
360
+ tick: number;
361
+ /** Zero-based index of the first endpoint; the second is segment + 1. */
362
+ segment: number;
363
+ colliderId: string;
364
+ /** Last closest-point fraction from the first endpoint toward the second. */
365
+ fraction: number;
366
+ penetration: number;
367
+ reactionImpulse?: Vec3;
368
+ reactionAngularImpulse?: Vec3;
369
+ }
370
+ ```
371
+
372
+ ## RopeSelfContact
373
+
374
+ 来源:`packages/sdk/src/index.ts:191`
375
+
376
+ ```ts
377
+ export interface RopeSelfContact {
378
+ tick: number;
379
+ /** Zero-based first endpoint of each non-adjacent segment, ordered ascending. */
380
+ firstSegment: number; secondSegment: number;
381
+ /** Last closest-point fractions along the respective segments. */
382
+ firstFraction: number; secondFraction: number;
383
+ /** Maximum observed overlap in metres during this tick. */
384
+ penetration: number;
385
+ }
386
+ ```
387
+
350
388
  ## RopeState
351
389
 
352
- 来源:`packages/sdk/src/index.ts:174`
390
+ 来源:`packages/sdk/src/index.ts:200`
353
391
 
354
392
  ```ts
355
393
  export interface RopeState {
356
394
  tick: number; simulatedSeconds: number; disposed: boolean;
395
+ segmentCollisions: boolean;
396
+ selfCollisions: boolean;
357
397
  positions: Vec3[]; velocities: Vec3[];
358
398
  anchors: { index: number; position: Vec3 }[];
359
399
  contacts: RopeContact[];
400
+ segmentContacts: RopeSegmentContact[];
401
+ selfContacts: RopeSelfContact[];
360
402
  maxDistanceError: number;
361
403
  resources: { particles: number; constraints: number; anchors: number; colliders: number };
362
404
  }
@@ -364,7 +406,7 @@ export interface RopeState {
364
406
 
365
407
  ## RopeService
366
408
 
367
- 来源:`packages/sdk/src/index.ts:182`
409
+ 来源:`packages/sdk/src/index.ts:212`
368
410
 
369
411
  ```ts
370
412
  export interface RopeService {
@@ -385,7 +427,7 @@ export interface RopeService {
385
427
 
386
428
  ## NavigationCell
387
429
 
388
- 来源:`packages/sdk/src/index.ts:199`
430
+ 来源:`packages/sdk/src/index.ts:229`
389
431
 
390
432
  ```ts
391
433
  export interface NavigationCell { readonly x: number; readonly y: number }
@@ -393,7 +435,7 @@ export interface NavigationCell { readonly x: number; readonly y: number }
393
435
 
394
436
  ## NavigationObstacleUpdate
395
437
 
396
- 来源:`packages/sdk/src/index.ts:201`
438
+ 来源:`packages/sdk/src/index.ts:231`
397
439
 
398
440
  ```ts
399
441
  export interface NavigationObstacleUpdate { readonly cell: NavigationCell; readonly blocked: boolean }
@@ -401,7 +443,7 @@ export interface NavigationObstacleUpdate { readonly cell: NavigationCell; reado
401
443
 
402
444
  ## NavigationGrid
403
445
 
404
- 来源:`packages/sdk/src/index.ts:202`
446
+ 来源:`packages/sdk/src/index.ts:232`
405
447
 
406
448
  ```ts
407
449
  export interface NavigationGrid {
@@ -417,7 +459,7 @@ export interface NavigationGrid {
417
459
 
418
460
  ## NavigationService
419
461
 
420
- 来源:`packages/sdk/src/index.ts:211`
462
+ 来源:`packages/sdk/src/index.ts:241`
421
463
 
422
464
  ```ts
423
465
  export interface NavigationService {
@@ -436,7 +478,7 @@ export interface NavigationService {
436
478
 
437
479
  ## RenderMode
438
480
 
439
- 来源:`packages/sdk/src/index.ts:223`
481
+ 来源:`packages/sdk/src/index.ts:253`
440
482
 
441
483
  ```ts
442
484
  export type RenderMode = "raster" | "hybrid" | "path";
@@ -444,7 +486,7 @@ export type RenderMode = "raster" | "hybrid" | "path";
444
486
 
445
487
  ## RenderCapabilities
446
488
 
447
- 来源:`packages/sdk/src/index.ts:224`
489
+ 来源:`packages/sdk/src/index.ts:254`
448
490
 
449
491
  ```ts
450
492
  export interface RenderCapabilities {
@@ -456,7 +498,7 @@ export interface RenderCapabilities {
456
498
 
457
499
  ## RenderSettings
458
500
 
459
- 来源:`packages/sdk/src/index.ts:229`
501
+ 来源:`packages/sdk/src/index.ts:259`
460
502
 
461
503
  ```ts
462
504
  export interface RenderSettings {
@@ -474,7 +516,7 @@ export interface RenderSettings {
474
516
 
475
517
  ## RenderService
476
518
 
477
- 来源:`packages/sdk/src/index.ts:240`
519
+ 来源:`packages/sdk/src/index.ts:270`
478
520
 
479
521
  ```ts
480
522
  export interface RenderService {
@@ -491,7 +533,7 @@ export interface RenderService {
491
533
 
492
534
  ## MaterialBufferInput
493
535
 
494
- 来源:`packages/sdk/src/index.ts:250`
536
+ 来源:`packages/sdk/src/index.ts:280`
495
537
 
496
538
  ```ts
497
539
  export interface MaterialBufferInput {
@@ -507,7 +549,7 @@ export interface MaterialBufferInput {
507
549
 
508
550
  ## RenderBufferReference
509
551
 
510
- 来源:`packages/sdk/src/index.ts:259`
552
+ 来源:`packages/sdk/src/index.ts:289`
511
553
 
512
554
  ```ts
513
555
  export interface RenderBufferReference {
@@ -519,7 +561,7 @@ export interface RenderBufferReference {
519
561
 
520
562
  ## RenderBufferBindings
521
563
 
522
- 来源:`packages/sdk/src/index.ts:264`
564
+ 来源:`packages/sdk/src/index.ts:294`
523
565
 
524
566
  ```ts
525
567
  export interface RenderBufferBindings {
@@ -531,7 +573,7 @@ export interface RenderBufferBindings {
531
573
 
532
574
  ## MaterialTextureInput
533
575
 
534
- 来源:`packages/sdk/src/index.ts:269`
576
+ 来源:`packages/sdk/src/index.ts:299`
535
577
 
536
578
  ```ts
537
579
  export interface MaterialTextureInput extends ComputeTextureBinding {
@@ -544,7 +586,7 @@ export interface MaterialTextureInput extends ComputeTextureBinding {
544
586
 
545
587
  ## RenderTextureReference
546
588
 
547
- 来源:`packages/sdk/src/index.ts:275`
589
+ 来源:`packages/sdk/src/index.ts:305`
548
590
 
549
591
  ```ts
550
592
  export interface RenderTextureReference extends ComputeTextureSize {
@@ -555,7 +597,7 @@ export interface RenderTextureReference extends ComputeTextureSize {
555
597
 
556
598
  ## RenderTextureBindings
557
599
 
558
- 来源:`packages/sdk/src/index.ts:279`
600
+ 来源:`packages/sdk/src/index.ts:309`
559
601
 
560
602
  ```ts
561
603
  export interface RenderTextureBindings {
@@ -567,7 +609,7 @@ export interface RenderTextureBindings {
567
609
 
568
610
  ## PostProcessState
569
611
 
570
- 来源:`packages/sdk/src/index.ts:284`
612
+ 来源:`packages/sdk/src/index.ts:314`
571
613
 
572
614
  ```ts
573
615
  export interface PostProcessState {
@@ -579,7 +621,7 @@ export interface PostProcessState {
579
621
 
580
622
  ## PostProcessService
581
623
 
582
- 来源:`packages/sdk/src/index.ts:289`
624
+ 来源:`packages/sdk/src/index.ts:319`
583
625
 
584
626
  ```ts
585
627
  export interface PostProcessService {
@@ -596,7 +638,7 @@ export interface PostProcessService {
596
638
 
597
639
  ## ComputeBufferHandle
598
640
 
599
- 来源:`packages/sdk/src/index.ts:299`
641
+ 来源:`packages/sdk/src/index.ts:329`
600
642
 
601
643
  ```ts
602
644
  export interface ComputeBufferHandle {
@@ -608,7 +650,7 @@ export interface ComputeBufferHandle {
608
650
 
609
651
  ## ComputeTaskHandle
610
652
 
611
- 来源:`packages/sdk/src/index.ts:304`
653
+ 来源:`packages/sdk/src/index.ts:334`
612
654
 
613
655
  ```ts
614
656
  export interface ComputeTaskHandle {
@@ -619,7 +661,7 @@ export interface ComputeTaskHandle {
619
661
 
620
662
  ## ComputeBufferInput
621
663
 
622
- 来源:`packages/sdk/src/index.ts:308`
664
+ 来源:`packages/sdk/src/index.ts:338`
623
665
 
624
666
  ```ts
625
667
  export interface ComputeBufferInput {
@@ -632,7 +674,7 @@ export interface ComputeBufferInput {
632
674
 
633
675
  ## ComputeTextureHandle
634
676
 
635
- 来源:`packages/sdk/src/index.ts:314`
677
+ 来源:`packages/sdk/src/index.ts:344`
636
678
 
637
679
  ```ts
638
680
  export interface ComputeTextureHandle {
@@ -645,7 +687,7 @@ export interface ComputeTextureHandle {
645
687
 
646
688
  ## ComputeTextureSize
647
689
 
648
- 来源:`packages/sdk/src/index.ts:320`
690
+ 来源:`packages/sdk/src/index.ts:350`
649
691
 
650
692
  ```ts
651
693
  export interface ComputeTextureSize {
@@ -656,7 +698,7 @@ export interface ComputeTextureSize {
656
698
 
657
699
  ## ComputeTextureDataInput
658
700
 
659
- 来源:`packages/sdk/src/index.ts:324`
701
+ 来源:`packages/sdk/src/index.ts:354`
660
702
 
661
703
  ```ts
662
704
  export interface ComputeTextureDataInput extends ComputeTextureSize {
@@ -669,7 +711,7 @@ export interface ComputeTextureDataInput extends ComputeTextureSize {
669
711
 
670
712
  ## ComputeTextureAssetInput
671
713
 
672
- 来源:`packages/sdk/src/index.ts:330`
714
+ 来源:`packages/sdk/src/index.ts:360`
673
715
 
674
716
  ```ts
675
717
  export interface ComputeTextureAssetInput {
@@ -683,7 +725,7 @@ export interface ComputeTextureAssetInput {
683
725
 
684
726
  ## ComputeTextureInput
685
727
 
686
- 来源:`packages/sdk/src/index.ts:337`
728
+ 来源:`packages/sdk/src/index.ts:367`
687
729
 
688
730
  ```ts
689
731
  export type ComputeTextureInput = ComputeTextureDataInput | ComputeTextureAssetInput;
@@ -691,7 +733,7 @@ export type ComputeTextureInput = ComputeTextureDataInput | ComputeTextureAssetI
691
733
 
692
734
  ## ComputeTextureBinding
693
735
 
694
- 来源:`packages/sdk/src/index.ts:338`
736
+ 来源:`packages/sdk/src/index.ts:368`
695
737
 
696
738
  ```ts
697
739
  export interface ComputeTextureBinding {
@@ -704,7 +746,7 @@ export interface ComputeTextureBinding {
704
746
 
705
747
  ## ComputeDispatchInput
706
748
 
707
- 来源:`packages/sdk/src/index.ts:344`
749
+ 来源:`packages/sdk/src/index.ts:374`
708
750
 
709
751
  ```ts
710
752
  export interface ComputeDispatchInput {
@@ -723,7 +765,7 @@ export interface ComputeDispatchInput {
723
765
 
724
766
  ## ComputeTaskState
725
767
 
726
- 来源:`packages/sdk/src/index.ts:356`
768
+ 来源:`packages/sdk/src/index.ts:386`
727
769
 
728
770
  ```ts
729
771
  export interface ComputeTaskState {
@@ -734,7 +776,7 @@ export interface ComputeTaskState {
734
776
 
735
777
  ## ComputeService
736
778
 
737
- 来源:`packages/sdk/src/index.ts:360`
779
+ 来源:`packages/sdk/src/index.ts:390`
738
780
 
739
781
  ```ts
740
782
  export interface ComputeService {
@@ -761,7 +803,7 @@ export interface ComputeService {
761
803
 
762
804
  ## InputService
763
805
 
764
- 来源:`packages/sdk/src/index.ts:380`
806
+ 来源:`packages/sdk/src/index.ts:410`
765
807
 
766
808
  ```ts
767
809
  export interface InputService {
@@ -774,7 +816,7 @@ export interface InputService {
774
816
 
775
817
  ## PhysicsService
776
818
 
777
- 来源:`packages/sdk/src/index.ts:386`
819
+ 来源:`packages/sdk/src/index.ts:416`
778
820
 
779
821
  ```ts
780
822
  export interface PhysicsService {
@@ -803,7 +845,7 @@ export interface PhysicsService {
803
845
 
804
846
  ## AnimationService
805
847
 
806
- 来源:`packages/sdk/src/index.ts:408`
848
+ 来源:`packages/sdk/src/index.ts:438`
807
849
 
808
850
  ```ts
809
851
  export interface AnimationService {
@@ -822,7 +864,7 @@ export interface AnimationService {
822
864
 
823
865
  ## CameraService
824
866
 
825
- 来源:`packages/sdk/src/index.ts:420`
867
+ 来源:`packages/sdk/src/index.ts:450`
826
868
 
827
869
  ```ts
828
870
  export interface CameraService {
@@ -842,7 +884,7 @@ export interface CameraService {
842
884
 
843
885
  ## UIService
844
886
 
845
- 来源:`packages/sdk/src/index.ts:433`
887
+ 来源:`packages/sdk/src/index.ts:463`
846
888
 
847
889
  ```ts
848
890
  export interface UIService {
@@ -854,7 +896,7 @@ export interface UIService {
854
896
 
855
897
  ## AudioService
856
898
 
857
- 来源:`packages/sdk/src/index.ts:438`
899
+ 来源:`packages/sdk/src/index.ts:468`
858
900
 
859
901
  ```ts
860
902
  export interface AudioService {
@@ -876,7 +918,7 @@ export interface AudioService {
876
918
 
877
919
  ## StorageService
878
920
 
879
- 来源:`packages/sdk/src/index.ts:453`
921
+ 来源:`packages/sdk/src/index.ts:483`
880
922
 
881
923
  ```ts
882
924
  export interface StorageService {
@@ -892,7 +934,7 @@ export interface StorageService {
892
934
 
893
935
  ## SceneService
894
936
 
895
- 来源:`packages/sdk/src/index.ts:462`
937
+ 来源:`packages/sdk/src/index.ts:492`
896
938
 
897
939
  ```ts
898
940
  export interface SceneService {
@@ -903,7 +945,7 @@ export interface SceneService {
903
945
 
904
946
  ## ModelDefinition
905
947
 
906
- 来源:`packages/sdk/src/index.ts:466`
948
+ 来源:`packages/sdk/src/index.ts:496`
907
949
 
908
950
  ```ts
909
951
  export interface ModelDefinition {
@@ -923,7 +965,7 @@ export interface ModelDefinition {
923
965
 
924
966
  ## RigidBodyDefinition
925
967
 
926
- 来源:`packages/sdk/src/index.ts:479`
968
+ 来源:`packages/sdk/src/index.ts:509`
927
969
 
928
970
  ```ts
929
971
  export interface RigidBodyDefinition {
@@ -944,7 +986,7 @@ export interface RigidBodyDefinition {
944
986
 
945
987
  ## CharacterDefinition
946
988
 
947
- 来源:`packages/sdk/src/index.ts:493`
989
+ 来源:`packages/sdk/src/index.ts:523`
948
990
 
949
991
  ```ts
950
992
  export interface CharacterDefinition {
@@ -959,7 +1001,7 @@ export interface CharacterDefinition {
959
1001
 
960
1002
  ## UIElementDefinition
961
1003
 
962
- 来源:`packages/sdk/src/index.ts:501`
1004
+ 来源:`packages/sdk/src/index.ts:531`
963
1005
 
964
1006
  ```ts
965
1007
  export interface UIElementDefinition {
@@ -979,7 +1021,7 @@ export interface UIElementDefinition {
979
1021
 
980
1022
  ## SoundDefinition
981
1023
 
982
- 来源:`packages/sdk/src/index.ts:514`
1024
+ 来源:`packages/sdk/src/index.ts:544`
983
1025
 
984
1026
  ```ts
985
1027
  export interface SoundDefinition {
@@ -993,7 +1035,7 @@ export interface SoundDefinition {
993
1035
 
994
1036
  ## AudioBusDefinition
995
1037
 
996
- 来源:`packages/sdk/src/index.ts:521`
1038
+ 来源:`packages/sdk/src/index.ts:551`
997
1039
 
998
1040
  ```ts
999
1041
  export interface AudioBusDefinition {
@@ -1004,7 +1046,7 @@ export interface AudioBusDefinition {
1004
1046
 
1005
1047
  ## SYSTEM_PHASES
1006
1048
 
1007
- 来源:`packages/sdk/src/index.ts:525`
1049
+ 来源:`packages/sdk/src/index.ts:555`
1008
1050
 
1009
1051
  ```ts
1010
1052
  SYSTEM_PHASES = [
@@ -1019,7 +1061,7 @@ SYSTEM_PHASES = [
1019
1061
 
1020
1062
  ## SystemPhase
1021
1063
 
1022
- 来源:`packages/sdk/src/index.ts:533`
1064
+ 来源:`packages/sdk/src/index.ts:563`
1023
1065
 
1024
1066
  ```ts
1025
1067
  export type SystemPhase = (typeof SYSTEM_PHASES)[number];
@@ -1027,7 +1069,7 @@ export type SystemPhase = (typeof SYSTEM_PHASES)[number];
1027
1069
 
1028
1070
  ## Geometry
1029
1071
 
1030
- 来源:`packages/sdk/src/index.ts:534`
1072
+ 来源:`packages/sdk/src/index.ts:564`
1031
1073
 
1032
1074
  ```ts
1033
1075
  export type Geometry =
@@ -1038,7 +1080,7 @@ export type Geometry =
1038
1080
 
1039
1081
  ## GRAPH_TYPES
1040
1082
 
1041
- 来源:`packages/sdk/src/index.ts:538`
1083
+ 来源:`packages/sdk/src/index.ts:568`
1042
1084
 
1043
1085
  ```ts
1044
1086
  GRAPH_TYPES = ["float", "vec2", "vec3", "vec4", "bool"] as const
@@ -1046,7 +1088,7 @@ GRAPH_TYPES = ["float", "vec2", "vec3", "vec4", "bool"] as const
1046
1088
 
1047
1089
  ## GraphType
1048
1090
 
1049
- 来源:`packages/sdk/src/index.ts:539`
1091
+ 来源:`packages/sdk/src/index.ts:569`
1050
1092
 
1051
1093
  ```ts
1052
1094
  export type GraphType = typeof GRAPH_TYPES[number];
@@ -1054,7 +1096,7 @@ export type GraphType = typeof GRAPH_TYPES[number];
1054
1096
 
1055
1097
  ## GraphValue
1056
1098
 
1057
- 来源:`packages/sdk/src/index.ts:540`
1099
+ 来源:`packages/sdk/src/index.ts:570`
1058
1100
 
1059
1101
  ```ts
1060
1102
  export type GraphValue = number | boolean | Vec2 | Vec3 | Vec4;
@@ -1062,7 +1104,7 @@ export type GraphValue = number | boolean | Vec2 | Vec3 | Vec4;
1062
1104
 
1063
1105
  ## GraphParameter
1064
1106
 
1065
- 来源:`packages/sdk/src/index.ts:541`
1107
+ 来源:`packages/sdk/src/index.ts:571`
1066
1108
 
1067
1109
  ```ts
1068
1110
  export interface GraphParameter {
@@ -1074,7 +1116,7 @@ export interface GraphParameter {
1074
1116
 
1075
1117
  ## GRAPH_INPUT_TYPES
1076
1118
 
1077
- 来源:`packages/sdk/src/index.ts:546`
1119
+ 来源:`packages/sdk/src/index.ts:576`
1078
1120
 
1079
1121
  ```ts
1080
1122
  GRAPH_INPUT_TYPES = {
@@ -1088,7 +1130,7 @@ GRAPH_INPUT_TYPES = {
1088
1130
 
1089
1131
  ## GraphInputName
1090
1132
 
1091
- 来源:`packages/sdk/src/index.ts:553`
1133
+ 来源:`packages/sdk/src/index.ts:583`
1092
1134
 
1093
1135
  ```ts
1094
1136
  export type GraphInputName = keyof typeof GRAPH_INPUT_TYPES;
@@ -1096,7 +1138,7 @@ export type GraphInputName = keyof typeof GRAPH_INPUT_TYPES;
1096
1138
 
1097
1139
  ## GRAPH_OPERATIONS
1098
1140
 
1099
- 来源:`packages/sdk/src/index.ts:554`
1141
+ 来源:`packages/sdk/src/index.ts:584`
1100
1142
 
1101
1143
  ```ts
1102
1144
  GRAPH_OPERATIONS = {
@@ -1108,7 +1150,7 @@ GRAPH_OPERATIONS = {
1108
1150
 
1109
1151
  ## GraphNode
1110
1152
 
1111
- 来源:`packages/sdk/src/index.ts:559`
1153
+ 来源:`packages/sdk/src/index.ts:589`
1112
1154
 
1113
1155
  ```ts
1114
1156
  export type GraphNode =
@@ -1135,7 +1177,7 @@ export type GraphNode =
1135
1177
 
1136
1178
  ## Graph
1137
1179
 
1138
- 来源:`packages/sdk/src/index.ts:579`
1180
+ 来源:`packages/sdk/src/index.ts:609`
1139
1181
 
1140
1182
  ```ts
1141
1183
  export interface Graph {
@@ -1147,7 +1189,7 @@ export interface Graph {
1147
1189
 
1148
1190
  ## MaterialGraphs
1149
1191
 
1150
- 来源:`packages/sdk/src/index.ts:584`
1192
+ 来源:`packages/sdk/src/index.ts:614`
1151
1193
 
1152
1194
  ```ts
1153
1195
  export interface MaterialGraphs {
@@ -1163,7 +1205,7 @@ export interface MaterialGraphs {
1163
1205
 
1164
1206
  ## VertexGraphs
1165
1207
 
1166
- 来源:`packages/sdk/src/index.ts:593`
1208
+ 来源:`packages/sdk/src/index.ts:623`
1167
1209
 
1168
1210
  ```ts
1169
1211
  export interface VertexGraphs {
@@ -1176,7 +1218,7 @@ export interface VertexGraphs {
1176
1218
 
1177
1219
  ## MaterialInput
1178
1220
 
1179
- 来源:`packages/sdk/src/index.ts:599`
1221
+ 来源:`packages/sdk/src/index.ts:629`
1180
1222
 
1181
1223
  ```ts
1182
1224
  export interface MaterialInput {
@@ -1210,7 +1252,7 @@ export interface MaterialInput {
1210
1252
 
1211
1253
  ## MaterialDefinition
1212
1254
 
1213
- 来源:`packages/sdk/src/index.ts:626`
1255
+ 来源:`packages/sdk/src/index.ts:656`
1214
1256
 
1215
1257
  ```ts
1216
1258
  export interface MaterialDefinition extends MaterialInput {
@@ -1220,7 +1262,7 @@ export interface MaterialDefinition extends MaterialInput {
1220
1262
 
1221
1263
  ## PostProcessInput
1222
1264
 
1223
- 来源:`packages/sdk/src/index.ts:629`
1265
+ 来源:`packages/sdk/src/index.ts:659`
1224
1266
 
1225
1267
  ```ts
1226
1268
  export interface PostProcessInput {
@@ -1235,7 +1277,7 @@ export interface PostProcessInput {
1235
1277
 
1236
1278
  ## PostProcessDefinition
1237
1279
 
1238
- 来源:`packages/sdk/src/index.ts:637`
1280
+ 来源:`packages/sdk/src/index.ts:667`
1239
1281
 
1240
1282
  ```ts
1241
1283
  export interface PostProcessDefinition extends PostProcessInput {
@@ -1245,7 +1287,7 @@ export interface PostProcessDefinition extends PostProcessInput {
1245
1287
 
1246
1288
  ## ComputeInput
1247
1289
 
1248
- 来源:`packages/sdk/src/index.ts:640`
1290
+ 来源:`packages/sdk/src/index.ts:670`
1249
1291
 
1250
1292
  ```ts
1251
1293
  export interface ComputeInput {
@@ -1261,7 +1303,7 @@ export interface ComputeInput {
1261
1303
 
1262
1304
  ## ComputeDefinition
1263
1305
 
1264
- 来源:`packages/sdk/src/index.ts:649`
1306
+ 来源:`packages/sdk/src/index.ts:679`
1265
1307
 
1266
1308
  ```ts
1267
1309
  export interface ComputeDefinition extends ComputeInput {
@@ -1271,7 +1313,7 @@ export interface ComputeDefinition extends ComputeInput {
1271
1313
 
1272
1314
  ## AssetInput
1273
1315
 
1274
- 来源:`packages/sdk/src/index.ts:652`
1316
+ 来源:`packages/sdk/src/index.ts:682`
1275
1317
 
1276
1318
  ```ts
1277
1319
  export interface AssetInput {
@@ -1288,7 +1330,7 @@ export interface AssetInput {
1288
1330
 
1289
1331
  ## AssetDefinition
1290
1332
 
1291
- 来源:`packages/sdk/src/index.ts:662`
1333
+ 来源:`packages/sdk/src/index.ts:692`
1292
1334
 
1293
1335
  ```ts
1294
1336
  export interface AssetDefinition extends AssetInput {
@@ -1298,7 +1340,7 @@ export interface AssetDefinition extends AssetInput {
1298
1340
 
1299
1341
  ## MeshDefinition
1300
1342
 
1301
- 来源:`packages/sdk/src/index.ts:665`
1343
+ 来源:`packages/sdk/src/index.ts:695`
1302
1344
 
1303
1345
  ```ts
1304
1346
  export interface MeshDefinition {
@@ -1311,7 +1353,7 @@ export interface MeshDefinition {
1311
1353
 
1312
1354
  ## LightDefinition
1313
1355
 
1314
- 来源:`packages/sdk/src/index.ts:671`
1356
+ 来源:`packages/sdk/src/index.ts:701`
1315
1357
 
1316
1358
  ```ts
1317
1359
  export interface LightDefinition {
@@ -1333,7 +1375,7 @@ export interface LightDefinition {
1333
1375
 
1334
1376
  ## EntityInput
1335
1377
 
1336
- 来源:`packages/sdk/src/index.ts:686`
1378
+ 来源:`packages/sdk/src/index.ts:716`
1337
1379
 
1338
1380
  ```ts
1339
1381
  export interface EntityInput {
@@ -1352,7 +1394,7 @@ export interface EntityInput {
1352
1394
 
1353
1395
  ## PrefabInput
1354
1396
 
1355
- 来源:`packages/sdk/src/index.ts:698`
1397
+ 来源:`packages/sdk/src/index.ts:728`
1356
1398
 
1357
1399
  ```ts
1358
1400
  export interface PrefabInput extends Omit<EntityInput, "prefab" | "parent"> {
@@ -1362,7 +1404,7 @@ export interface PrefabInput extends Omit<EntityInput, "prefab" | "parent"> {
1362
1404
 
1363
1405
  ## PrefabDefinition
1364
1406
 
1365
- 来源:`packages/sdk/src/index.ts:701`
1407
+ 来源:`packages/sdk/src/index.ts:731`
1366
1408
 
1367
1409
  ```ts
1368
1410
  export interface PrefabDefinition extends PrefabInput {
@@ -1372,7 +1414,7 @@ export interface PrefabDefinition extends PrefabInput {
1372
1414
 
1373
1415
  ## SceneInput
1374
1416
 
1375
- 来源:`packages/sdk/src/index.ts:704`
1417
+ 来源:`packages/sdk/src/index.ts:734`
1376
1418
 
1377
1419
  ```ts
1378
1420
  export interface SceneInput {
@@ -1404,7 +1446,7 @@ export interface SceneInput {
1404
1446
 
1405
1447
  ## SceneDefinition
1406
1448
 
1407
- 来源:`packages/sdk/src/index.ts:729`
1449
+ 来源:`packages/sdk/src/index.ts:759`
1408
1450
 
1409
1451
  ```ts
1410
1452
  export interface SceneDefinition extends SceneInput {
@@ -1414,7 +1456,7 @@ export interface SceneDefinition extends SceneInput {
1414
1456
 
1415
1457
  ## SystemInput
1416
1458
 
1417
- 来源:`packages/sdk/src/index.ts:732`
1459
+ 来源:`packages/sdk/src/index.ts:762`
1418
1460
 
1419
1461
  ```ts
1420
1462
  export interface SystemInput {
@@ -1431,7 +1473,7 @@ export interface SystemInput {
1431
1473
 
1432
1474
  ## SystemDefinition
1433
1475
 
1434
- 来源:`packages/sdk/src/index.ts:742`
1476
+ 来源:`packages/sdk/src/index.ts:772`
1435
1477
 
1436
1478
  ```ts
1437
1479
  export interface SystemDefinition extends SystemInput {
@@ -1441,7 +1483,7 @@ export interface SystemDefinition extends SystemInput {
1441
1483
 
1442
1484
  ## GameInput
1443
1485
 
1444
- 来源:`packages/sdk/src/index.ts:745`
1486
+ 来源:`packages/sdk/src/index.ts:775`
1445
1487
 
1446
1488
  ```ts
1447
1489
  export interface GameInput {
@@ -1467,7 +1509,7 @@ export interface GameInput {
1467
1509
 
1468
1510
  ## GameDefinition
1469
1511
 
1470
- 来源:`packages/sdk/src/index.ts:764`
1512
+ 来源:`packages/sdk/src/index.ts:794`
1471
1513
 
1472
1514
  ```ts
1473
1515
  export interface GameDefinition extends GameInput {
@@ -1477,7 +1519,7 @@ export interface GameDefinition extends GameInput {
1477
1519
 
1478
1520
  ## GameInstance
1479
1521
 
1480
- 来源:`packages/sdk/src/index.ts:767`
1522
+ 来源:`packages/sdk/src/index.ts:797`
1481
1523
 
1482
1524
  ```ts
1483
1525
  export interface GameInstance {
@@ -1488,7 +1530,7 @@ export interface GameInstance {
1488
1530
 
1489
1531
  ## defineComponent
1490
1532
 
1491
- 来源:`packages/sdk/src/index.ts:771`
1533
+ 来源:`packages/sdk/src/index.ts:801`
1492
1534
 
1493
1535
  ```ts
1494
1536
  export function defineComponent<const S extends ComponentSchema>(input: {
@@ -1499,7 +1541,7 @@ export function defineComponent<const S extends ComponentSchema>(input: {
1499
1541
 
1500
1542
  ## defineMaterial
1501
1543
 
1502
- 来源:`packages/sdk/src/index.ts:777`
1544
+ 来源:`packages/sdk/src/index.ts:807`
1503
1545
 
1504
1546
  ```ts
1505
1547
  export function defineMaterial(input: MaterialInput): MaterialDefinition;
@@ -1507,7 +1549,7 @@ export function defineMaterial(input: MaterialInput): MaterialDefinition;
1507
1549
 
1508
1550
  ## definePostProcess
1509
1551
 
1510
- 来源:`packages/sdk/src/index.ts:780`
1552
+ 来源:`packages/sdk/src/index.ts:810`
1511
1553
 
1512
1554
  ```ts
1513
1555
  export function definePostProcess(input: PostProcessInput): PostProcessDefinition;
@@ -1515,7 +1557,7 @@ export function definePostProcess(input: PostProcessInput): PostProcessDefinitio
1515
1557
 
1516
1558
  ## defineCompute
1517
1559
 
1518
- 来源:`packages/sdk/src/index.ts:783`
1560
+ 来源:`packages/sdk/src/index.ts:813`
1519
1561
 
1520
1562
  ```ts
1521
1563
  export function defineCompute(input: ComputeInput): ComputeDefinition;
@@ -1523,7 +1565,7 @@ export function defineCompute(input: ComputeInput): ComputeDefinition;
1523
1565
 
1524
1566
  ## defineAsset
1525
1567
 
1526
- 来源:`packages/sdk/src/index.ts:786`
1568
+ 来源:`packages/sdk/src/index.ts:816`
1527
1569
 
1528
1570
  ```ts
1529
1571
  export function defineAsset(input: AssetInput): AssetDefinition;
@@ -1531,7 +1573,7 @@ export function defineAsset(input: AssetInput): AssetDefinition;
1531
1573
 
1532
1574
  ## definePrefab
1533
1575
 
1534
- 来源:`packages/sdk/src/index.ts:789`
1576
+ 来源:`packages/sdk/src/index.ts:819`
1535
1577
 
1536
1578
  ```ts
1537
1579
  export function definePrefab(input: PrefabInput): PrefabDefinition;
@@ -1539,7 +1581,7 @@ export function definePrefab(input: PrefabInput): PrefabDefinition;
1539
1581
 
1540
1582
  ## defineScene
1541
1583
 
1542
- 来源:`packages/sdk/src/index.ts:792`
1584
+ 来源:`packages/sdk/src/index.ts:822`
1543
1585
 
1544
1586
  ```ts
1545
1587
  export function defineScene(input: SceneInput): SceneDefinition;
@@ -1547,7 +1589,7 @@ export function defineScene(input: SceneInput): SceneDefinition;
1547
1589
 
1548
1590
  ## defineSystem
1549
1591
 
1550
- 来源:`packages/sdk/src/index.ts:795`
1592
+ 来源:`packages/sdk/src/index.ts:825`
1551
1593
 
1552
1594
  ```ts
1553
1595
  export function defineSystem(input: SystemInput): SystemDefinition;
@@ -1555,7 +1597,7 @@ export function defineSystem(input: SystemInput): SystemDefinition;
1555
1597
 
1556
1598
  ## defineGame
1557
1599
 
1558
- 来源:`packages/sdk/src/index.ts:798`
1600
+ 来源:`packages/sdk/src/index.ts:828`
1559
1601
 
1560
1602
  ```ts
1561
1603
  export function defineGame(input: GameInput): GameDefinition;
@@ -1563,7 +1605,7 @@ export function defineGame(input: GameInput): GameDefinition;
1563
1605
 
1564
1606
  ## instantiateGame
1565
1607
 
1566
- 来源:`packages/sdk/src/index.ts:802`
1608
+ 来源:`packages/sdk/src/index.ts:832`
1567
1609
 
1568
1610
  ```ts
1569
1611
  export function instantiateGame(