pelican-engine 0.3.15 → 0.3.16

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.16 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.16"
15
15
  ```
16
16
 
17
17
  ## Vec2
@@ -323,6 +323,8 @@ 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;
326
328
  /** Optional segmented presentation using an already-declared material id. */
327
329
  visual?: RopeVisualOptions;
328
330
  substeps?: number;
@@ -335,7 +337,7 @@ export interface RopeDefinition {
335
337
 
336
338
  ## RopeContact
337
339
 
338
- 来源:`packages/sdk/src/index.ts:167`
340
+ 来源:`packages/sdk/src/index.ts:169`
339
341
 
340
342
  ```ts
341
343
  export interface RopeContact {
@@ -347,16 +349,36 @@ export interface RopeContact {
347
349
  }
348
350
  ```
349
351
 
352
+ ## RopeSegmentContact
353
+
354
+ 来源:`packages/sdk/src/index.ts:177`
355
+
356
+ ```ts
357
+ export interface RopeSegmentContact {
358
+ tick: number;
359
+ /** Zero-based index of the first endpoint; the second is segment + 1. */
360
+ segment: number;
361
+ colliderId: string;
362
+ /** Last closest-point fraction from the first endpoint toward the second. */
363
+ fraction: number;
364
+ penetration: number;
365
+ reactionImpulse?: Vec3;
366
+ reactionAngularImpulse?: Vec3;
367
+ }
368
+ ```
369
+
350
370
  ## RopeState
351
371
 
352
- 来源:`packages/sdk/src/index.ts:174`
372
+ 来源:`packages/sdk/src/index.ts:188`
353
373
 
354
374
  ```ts
355
375
  export interface RopeState {
356
376
  tick: number; simulatedSeconds: number; disposed: boolean;
377
+ segmentCollisions: boolean;
357
378
  positions: Vec3[]; velocities: Vec3[];
358
379
  anchors: { index: number; position: Vec3 }[];
359
380
  contacts: RopeContact[];
381
+ segmentContacts: RopeSegmentContact[];
360
382
  maxDistanceError: number;
361
383
  resources: { particles: number; constraints: number; anchors: number; colliders: number };
362
384
  }
@@ -364,7 +386,7 @@ export interface RopeState {
364
386
 
365
387
  ## RopeService
366
388
 
367
- 来源:`packages/sdk/src/index.ts:182`
389
+ 来源:`packages/sdk/src/index.ts:198`
368
390
 
369
391
  ```ts
370
392
  export interface RopeService {
@@ -385,7 +407,7 @@ export interface RopeService {
385
407
 
386
408
  ## NavigationCell
387
409
 
388
- 来源:`packages/sdk/src/index.ts:199`
410
+ 来源:`packages/sdk/src/index.ts:215`
389
411
 
390
412
  ```ts
391
413
  export interface NavigationCell { readonly x: number; readonly y: number }
@@ -393,7 +415,7 @@ export interface NavigationCell { readonly x: number; readonly y: number }
393
415
 
394
416
  ## NavigationObstacleUpdate
395
417
 
396
- 来源:`packages/sdk/src/index.ts:201`
418
+ 来源:`packages/sdk/src/index.ts:217`
397
419
 
398
420
  ```ts
399
421
  export interface NavigationObstacleUpdate { readonly cell: NavigationCell; readonly blocked: boolean }
@@ -401,7 +423,7 @@ export interface NavigationObstacleUpdate { readonly cell: NavigationCell; reado
401
423
 
402
424
  ## NavigationGrid
403
425
 
404
- 来源:`packages/sdk/src/index.ts:202`
426
+ 来源:`packages/sdk/src/index.ts:218`
405
427
 
406
428
  ```ts
407
429
  export interface NavigationGrid {
@@ -417,7 +439,7 @@ export interface NavigationGrid {
417
439
 
418
440
  ## NavigationService
419
441
 
420
- 来源:`packages/sdk/src/index.ts:211`
442
+ 来源:`packages/sdk/src/index.ts:227`
421
443
 
422
444
  ```ts
423
445
  export interface NavigationService {
@@ -436,7 +458,7 @@ export interface NavigationService {
436
458
 
437
459
  ## RenderMode
438
460
 
439
- 来源:`packages/sdk/src/index.ts:223`
461
+ 来源:`packages/sdk/src/index.ts:239`
440
462
 
441
463
  ```ts
442
464
  export type RenderMode = "raster" | "hybrid" | "path";
@@ -444,7 +466,7 @@ export type RenderMode = "raster" | "hybrid" | "path";
444
466
 
445
467
  ## RenderCapabilities
446
468
 
447
- 来源:`packages/sdk/src/index.ts:224`
469
+ 来源:`packages/sdk/src/index.ts:240`
448
470
 
449
471
  ```ts
450
472
  export interface RenderCapabilities {
@@ -456,7 +478,7 @@ export interface RenderCapabilities {
456
478
 
457
479
  ## RenderSettings
458
480
 
459
- 来源:`packages/sdk/src/index.ts:229`
481
+ 来源:`packages/sdk/src/index.ts:245`
460
482
 
461
483
  ```ts
462
484
  export interface RenderSettings {
@@ -474,7 +496,7 @@ export interface RenderSettings {
474
496
 
475
497
  ## RenderService
476
498
 
477
- 来源:`packages/sdk/src/index.ts:240`
499
+ 来源:`packages/sdk/src/index.ts:256`
478
500
 
479
501
  ```ts
480
502
  export interface RenderService {
@@ -491,7 +513,7 @@ export interface RenderService {
491
513
 
492
514
  ## MaterialBufferInput
493
515
 
494
- 来源:`packages/sdk/src/index.ts:250`
516
+ 来源:`packages/sdk/src/index.ts:266`
495
517
 
496
518
  ```ts
497
519
  export interface MaterialBufferInput {
@@ -507,7 +529,7 @@ export interface MaterialBufferInput {
507
529
 
508
530
  ## RenderBufferReference
509
531
 
510
- 来源:`packages/sdk/src/index.ts:259`
532
+ 来源:`packages/sdk/src/index.ts:275`
511
533
 
512
534
  ```ts
513
535
  export interface RenderBufferReference {
@@ -519,7 +541,7 @@ export interface RenderBufferReference {
519
541
 
520
542
  ## RenderBufferBindings
521
543
 
522
- 来源:`packages/sdk/src/index.ts:264`
544
+ 来源:`packages/sdk/src/index.ts:280`
523
545
 
524
546
  ```ts
525
547
  export interface RenderBufferBindings {
@@ -531,7 +553,7 @@ export interface RenderBufferBindings {
531
553
 
532
554
  ## MaterialTextureInput
533
555
 
534
- 来源:`packages/sdk/src/index.ts:269`
556
+ 来源:`packages/sdk/src/index.ts:285`
535
557
 
536
558
  ```ts
537
559
  export interface MaterialTextureInput extends ComputeTextureBinding {
@@ -544,7 +566,7 @@ export interface MaterialTextureInput extends ComputeTextureBinding {
544
566
 
545
567
  ## RenderTextureReference
546
568
 
547
- 来源:`packages/sdk/src/index.ts:275`
569
+ 来源:`packages/sdk/src/index.ts:291`
548
570
 
549
571
  ```ts
550
572
  export interface RenderTextureReference extends ComputeTextureSize {
@@ -555,7 +577,7 @@ export interface RenderTextureReference extends ComputeTextureSize {
555
577
 
556
578
  ## RenderTextureBindings
557
579
 
558
- 来源:`packages/sdk/src/index.ts:279`
580
+ 来源:`packages/sdk/src/index.ts:295`
559
581
 
560
582
  ```ts
561
583
  export interface RenderTextureBindings {
@@ -567,7 +589,7 @@ export interface RenderTextureBindings {
567
589
 
568
590
  ## PostProcessState
569
591
 
570
- 来源:`packages/sdk/src/index.ts:284`
592
+ 来源:`packages/sdk/src/index.ts:300`
571
593
 
572
594
  ```ts
573
595
  export interface PostProcessState {
@@ -579,7 +601,7 @@ export interface PostProcessState {
579
601
 
580
602
  ## PostProcessService
581
603
 
582
- 来源:`packages/sdk/src/index.ts:289`
604
+ 来源:`packages/sdk/src/index.ts:305`
583
605
 
584
606
  ```ts
585
607
  export interface PostProcessService {
@@ -596,7 +618,7 @@ export interface PostProcessService {
596
618
 
597
619
  ## ComputeBufferHandle
598
620
 
599
- 来源:`packages/sdk/src/index.ts:299`
621
+ 来源:`packages/sdk/src/index.ts:315`
600
622
 
601
623
  ```ts
602
624
  export interface ComputeBufferHandle {
@@ -608,7 +630,7 @@ export interface ComputeBufferHandle {
608
630
 
609
631
  ## ComputeTaskHandle
610
632
 
611
- 来源:`packages/sdk/src/index.ts:304`
633
+ 来源:`packages/sdk/src/index.ts:320`
612
634
 
613
635
  ```ts
614
636
  export interface ComputeTaskHandle {
@@ -619,7 +641,7 @@ export interface ComputeTaskHandle {
619
641
 
620
642
  ## ComputeBufferInput
621
643
 
622
- 来源:`packages/sdk/src/index.ts:308`
644
+ 来源:`packages/sdk/src/index.ts:324`
623
645
 
624
646
  ```ts
625
647
  export interface ComputeBufferInput {
@@ -632,7 +654,7 @@ export interface ComputeBufferInput {
632
654
 
633
655
  ## ComputeTextureHandle
634
656
 
635
- 来源:`packages/sdk/src/index.ts:314`
657
+ 来源:`packages/sdk/src/index.ts:330`
636
658
 
637
659
  ```ts
638
660
  export interface ComputeTextureHandle {
@@ -645,7 +667,7 @@ export interface ComputeTextureHandle {
645
667
 
646
668
  ## ComputeTextureSize
647
669
 
648
- 来源:`packages/sdk/src/index.ts:320`
670
+ 来源:`packages/sdk/src/index.ts:336`
649
671
 
650
672
  ```ts
651
673
  export interface ComputeTextureSize {
@@ -656,7 +678,7 @@ export interface ComputeTextureSize {
656
678
 
657
679
  ## ComputeTextureDataInput
658
680
 
659
- 来源:`packages/sdk/src/index.ts:324`
681
+ 来源:`packages/sdk/src/index.ts:340`
660
682
 
661
683
  ```ts
662
684
  export interface ComputeTextureDataInput extends ComputeTextureSize {
@@ -669,7 +691,7 @@ export interface ComputeTextureDataInput extends ComputeTextureSize {
669
691
 
670
692
  ## ComputeTextureAssetInput
671
693
 
672
- 来源:`packages/sdk/src/index.ts:330`
694
+ 来源:`packages/sdk/src/index.ts:346`
673
695
 
674
696
  ```ts
675
697
  export interface ComputeTextureAssetInput {
@@ -683,7 +705,7 @@ export interface ComputeTextureAssetInput {
683
705
 
684
706
  ## ComputeTextureInput
685
707
 
686
- 来源:`packages/sdk/src/index.ts:337`
708
+ 来源:`packages/sdk/src/index.ts:353`
687
709
 
688
710
  ```ts
689
711
  export type ComputeTextureInput = ComputeTextureDataInput | ComputeTextureAssetInput;
@@ -691,7 +713,7 @@ export type ComputeTextureInput = ComputeTextureDataInput | ComputeTextureAssetI
691
713
 
692
714
  ## ComputeTextureBinding
693
715
 
694
- 来源:`packages/sdk/src/index.ts:338`
716
+ 来源:`packages/sdk/src/index.ts:354`
695
717
 
696
718
  ```ts
697
719
  export interface ComputeTextureBinding {
@@ -704,7 +726,7 @@ export interface ComputeTextureBinding {
704
726
 
705
727
  ## ComputeDispatchInput
706
728
 
707
- 来源:`packages/sdk/src/index.ts:344`
729
+ 来源:`packages/sdk/src/index.ts:360`
708
730
 
709
731
  ```ts
710
732
  export interface ComputeDispatchInput {
@@ -723,7 +745,7 @@ export interface ComputeDispatchInput {
723
745
 
724
746
  ## ComputeTaskState
725
747
 
726
- 来源:`packages/sdk/src/index.ts:356`
748
+ 来源:`packages/sdk/src/index.ts:372`
727
749
 
728
750
  ```ts
729
751
  export interface ComputeTaskState {
@@ -734,7 +756,7 @@ export interface ComputeTaskState {
734
756
 
735
757
  ## ComputeService
736
758
 
737
- 来源:`packages/sdk/src/index.ts:360`
759
+ 来源:`packages/sdk/src/index.ts:376`
738
760
 
739
761
  ```ts
740
762
  export interface ComputeService {
@@ -761,7 +783,7 @@ export interface ComputeService {
761
783
 
762
784
  ## InputService
763
785
 
764
- 来源:`packages/sdk/src/index.ts:380`
786
+ 来源:`packages/sdk/src/index.ts:396`
765
787
 
766
788
  ```ts
767
789
  export interface InputService {
@@ -774,7 +796,7 @@ export interface InputService {
774
796
 
775
797
  ## PhysicsService
776
798
 
777
- 来源:`packages/sdk/src/index.ts:386`
799
+ 来源:`packages/sdk/src/index.ts:402`
778
800
 
779
801
  ```ts
780
802
  export interface PhysicsService {
@@ -803,7 +825,7 @@ export interface PhysicsService {
803
825
 
804
826
  ## AnimationService
805
827
 
806
- 来源:`packages/sdk/src/index.ts:408`
828
+ 来源:`packages/sdk/src/index.ts:424`
807
829
 
808
830
  ```ts
809
831
  export interface AnimationService {
@@ -822,7 +844,7 @@ export interface AnimationService {
822
844
 
823
845
  ## CameraService
824
846
 
825
- 来源:`packages/sdk/src/index.ts:420`
847
+ 来源:`packages/sdk/src/index.ts:436`
826
848
 
827
849
  ```ts
828
850
  export interface CameraService {
@@ -842,7 +864,7 @@ export interface CameraService {
842
864
 
843
865
  ## UIService
844
866
 
845
- 来源:`packages/sdk/src/index.ts:433`
867
+ 来源:`packages/sdk/src/index.ts:449`
846
868
 
847
869
  ```ts
848
870
  export interface UIService {
@@ -854,7 +876,7 @@ export interface UIService {
854
876
 
855
877
  ## AudioService
856
878
 
857
- 来源:`packages/sdk/src/index.ts:438`
879
+ 来源:`packages/sdk/src/index.ts:454`
858
880
 
859
881
  ```ts
860
882
  export interface AudioService {
@@ -876,7 +898,7 @@ export interface AudioService {
876
898
 
877
899
  ## StorageService
878
900
 
879
- 来源:`packages/sdk/src/index.ts:453`
901
+ 来源:`packages/sdk/src/index.ts:469`
880
902
 
881
903
  ```ts
882
904
  export interface StorageService {
@@ -892,7 +914,7 @@ export interface StorageService {
892
914
 
893
915
  ## SceneService
894
916
 
895
- 来源:`packages/sdk/src/index.ts:462`
917
+ 来源:`packages/sdk/src/index.ts:478`
896
918
 
897
919
  ```ts
898
920
  export interface SceneService {
@@ -903,7 +925,7 @@ export interface SceneService {
903
925
 
904
926
  ## ModelDefinition
905
927
 
906
- 来源:`packages/sdk/src/index.ts:466`
928
+ 来源:`packages/sdk/src/index.ts:482`
907
929
 
908
930
  ```ts
909
931
  export interface ModelDefinition {
@@ -923,7 +945,7 @@ export interface ModelDefinition {
923
945
 
924
946
  ## RigidBodyDefinition
925
947
 
926
- 来源:`packages/sdk/src/index.ts:479`
948
+ 来源:`packages/sdk/src/index.ts:495`
927
949
 
928
950
  ```ts
929
951
  export interface RigidBodyDefinition {
@@ -944,7 +966,7 @@ export interface RigidBodyDefinition {
944
966
 
945
967
  ## CharacterDefinition
946
968
 
947
- 来源:`packages/sdk/src/index.ts:493`
969
+ 来源:`packages/sdk/src/index.ts:509`
948
970
 
949
971
  ```ts
950
972
  export interface CharacterDefinition {
@@ -959,7 +981,7 @@ export interface CharacterDefinition {
959
981
 
960
982
  ## UIElementDefinition
961
983
 
962
- 来源:`packages/sdk/src/index.ts:501`
984
+ 来源:`packages/sdk/src/index.ts:517`
963
985
 
964
986
  ```ts
965
987
  export interface UIElementDefinition {
@@ -979,7 +1001,7 @@ export interface UIElementDefinition {
979
1001
 
980
1002
  ## SoundDefinition
981
1003
 
982
- 来源:`packages/sdk/src/index.ts:514`
1004
+ 来源:`packages/sdk/src/index.ts:530`
983
1005
 
984
1006
  ```ts
985
1007
  export interface SoundDefinition {
@@ -993,7 +1015,7 @@ export interface SoundDefinition {
993
1015
 
994
1016
  ## AudioBusDefinition
995
1017
 
996
- 来源:`packages/sdk/src/index.ts:521`
1018
+ 来源:`packages/sdk/src/index.ts:537`
997
1019
 
998
1020
  ```ts
999
1021
  export interface AudioBusDefinition {
@@ -1004,7 +1026,7 @@ export interface AudioBusDefinition {
1004
1026
 
1005
1027
  ## SYSTEM_PHASES
1006
1028
 
1007
- 来源:`packages/sdk/src/index.ts:525`
1029
+ 来源:`packages/sdk/src/index.ts:541`
1008
1030
 
1009
1031
  ```ts
1010
1032
  SYSTEM_PHASES = [
@@ -1019,7 +1041,7 @@ SYSTEM_PHASES = [
1019
1041
 
1020
1042
  ## SystemPhase
1021
1043
 
1022
- 来源:`packages/sdk/src/index.ts:533`
1044
+ 来源:`packages/sdk/src/index.ts:549`
1023
1045
 
1024
1046
  ```ts
1025
1047
  export type SystemPhase = (typeof SYSTEM_PHASES)[number];
@@ -1027,7 +1049,7 @@ export type SystemPhase = (typeof SYSTEM_PHASES)[number];
1027
1049
 
1028
1050
  ## Geometry
1029
1051
 
1030
- 来源:`packages/sdk/src/index.ts:534`
1052
+ 来源:`packages/sdk/src/index.ts:550`
1031
1053
 
1032
1054
  ```ts
1033
1055
  export type Geometry =
@@ -1038,7 +1060,7 @@ export type Geometry =
1038
1060
 
1039
1061
  ## GRAPH_TYPES
1040
1062
 
1041
- 来源:`packages/sdk/src/index.ts:538`
1063
+ 来源:`packages/sdk/src/index.ts:554`
1042
1064
 
1043
1065
  ```ts
1044
1066
  GRAPH_TYPES = ["float", "vec2", "vec3", "vec4", "bool"] as const
@@ -1046,7 +1068,7 @@ GRAPH_TYPES = ["float", "vec2", "vec3", "vec4", "bool"] as const
1046
1068
 
1047
1069
  ## GraphType
1048
1070
 
1049
- 来源:`packages/sdk/src/index.ts:539`
1071
+ 来源:`packages/sdk/src/index.ts:555`
1050
1072
 
1051
1073
  ```ts
1052
1074
  export type GraphType = typeof GRAPH_TYPES[number];
@@ -1054,7 +1076,7 @@ export type GraphType = typeof GRAPH_TYPES[number];
1054
1076
 
1055
1077
  ## GraphValue
1056
1078
 
1057
- 来源:`packages/sdk/src/index.ts:540`
1079
+ 来源:`packages/sdk/src/index.ts:556`
1058
1080
 
1059
1081
  ```ts
1060
1082
  export type GraphValue = number | boolean | Vec2 | Vec3 | Vec4;
@@ -1062,7 +1084,7 @@ export type GraphValue = number | boolean | Vec2 | Vec3 | Vec4;
1062
1084
 
1063
1085
  ## GraphParameter
1064
1086
 
1065
- 来源:`packages/sdk/src/index.ts:541`
1087
+ 来源:`packages/sdk/src/index.ts:557`
1066
1088
 
1067
1089
  ```ts
1068
1090
  export interface GraphParameter {
@@ -1074,7 +1096,7 @@ export interface GraphParameter {
1074
1096
 
1075
1097
  ## GRAPH_INPUT_TYPES
1076
1098
 
1077
- 来源:`packages/sdk/src/index.ts:546`
1099
+ 来源:`packages/sdk/src/index.ts:562`
1078
1100
 
1079
1101
  ```ts
1080
1102
  GRAPH_INPUT_TYPES = {
@@ -1088,7 +1110,7 @@ GRAPH_INPUT_TYPES = {
1088
1110
 
1089
1111
  ## GraphInputName
1090
1112
 
1091
- 来源:`packages/sdk/src/index.ts:553`
1113
+ 来源:`packages/sdk/src/index.ts:569`
1092
1114
 
1093
1115
  ```ts
1094
1116
  export type GraphInputName = keyof typeof GRAPH_INPUT_TYPES;
@@ -1096,7 +1118,7 @@ export type GraphInputName = keyof typeof GRAPH_INPUT_TYPES;
1096
1118
 
1097
1119
  ## GRAPH_OPERATIONS
1098
1120
 
1099
- 来源:`packages/sdk/src/index.ts:554`
1121
+ 来源:`packages/sdk/src/index.ts:570`
1100
1122
 
1101
1123
  ```ts
1102
1124
  GRAPH_OPERATIONS = {
@@ -1108,7 +1130,7 @@ GRAPH_OPERATIONS = {
1108
1130
 
1109
1131
  ## GraphNode
1110
1132
 
1111
- 来源:`packages/sdk/src/index.ts:559`
1133
+ 来源:`packages/sdk/src/index.ts:575`
1112
1134
 
1113
1135
  ```ts
1114
1136
  export type GraphNode =
@@ -1135,7 +1157,7 @@ export type GraphNode =
1135
1157
 
1136
1158
  ## Graph
1137
1159
 
1138
- 来源:`packages/sdk/src/index.ts:579`
1160
+ 来源:`packages/sdk/src/index.ts:595`
1139
1161
 
1140
1162
  ```ts
1141
1163
  export interface Graph {
@@ -1147,7 +1169,7 @@ export interface Graph {
1147
1169
 
1148
1170
  ## MaterialGraphs
1149
1171
 
1150
- 来源:`packages/sdk/src/index.ts:584`
1172
+ 来源:`packages/sdk/src/index.ts:600`
1151
1173
 
1152
1174
  ```ts
1153
1175
  export interface MaterialGraphs {
@@ -1163,7 +1185,7 @@ export interface MaterialGraphs {
1163
1185
 
1164
1186
  ## VertexGraphs
1165
1187
 
1166
- 来源:`packages/sdk/src/index.ts:593`
1188
+ 来源:`packages/sdk/src/index.ts:609`
1167
1189
 
1168
1190
  ```ts
1169
1191
  export interface VertexGraphs {
@@ -1176,7 +1198,7 @@ export interface VertexGraphs {
1176
1198
 
1177
1199
  ## MaterialInput
1178
1200
 
1179
- 来源:`packages/sdk/src/index.ts:599`
1201
+ 来源:`packages/sdk/src/index.ts:615`
1180
1202
 
1181
1203
  ```ts
1182
1204
  export interface MaterialInput {
@@ -1210,7 +1232,7 @@ export interface MaterialInput {
1210
1232
 
1211
1233
  ## MaterialDefinition
1212
1234
 
1213
- 来源:`packages/sdk/src/index.ts:626`
1235
+ 来源:`packages/sdk/src/index.ts:642`
1214
1236
 
1215
1237
  ```ts
1216
1238
  export interface MaterialDefinition extends MaterialInput {
@@ -1220,7 +1242,7 @@ export interface MaterialDefinition extends MaterialInput {
1220
1242
 
1221
1243
  ## PostProcessInput
1222
1244
 
1223
- 来源:`packages/sdk/src/index.ts:629`
1245
+ 来源:`packages/sdk/src/index.ts:645`
1224
1246
 
1225
1247
  ```ts
1226
1248
  export interface PostProcessInput {
@@ -1235,7 +1257,7 @@ export interface PostProcessInput {
1235
1257
 
1236
1258
  ## PostProcessDefinition
1237
1259
 
1238
- 来源:`packages/sdk/src/index.ts:637`
1260
+ 来源:`packages/sdk/src/index.ts:653`
1239
1261
 
1240
1262
  ```ts
1241
1263
  export interface PostProcessDefinition extends PostProcessInput {
@@ -1245,7 +1267,7 @@ export interface PostProcessDefinition extends PostProcessInput {
1245
1267
 
1246
1268
  ## ComputeInput
1247
1269
 
1248
- 来源:`packages/sdk/src/index.ts:640`
1270
+ 来源:`packages/sdk/src/index.ts:656`
1249
1271
 
1250
1272
  ```ts
1251
1273
  export interface ComputeInput {
@@ -1261,7 +1283,7 @@ export interface ComputeInput {
1261
1283
 
1262
1284
  ## ComputeDefinition
1263
1285
 
1264
- 来源:`packages/sdk/src/index.ts:649`
1286
+ 来源:`packages/sdk/src/index.ts:665`
1265
1287
 
1266
1288
  ```ts
1267
1289
  export interface ComputeDefinition extends ComputeInput {
@@ -1271,7 +1293,7 @@ export interface ComputeDefinition extends ComputeInput {
1271
1293
 
1272
1294
  ## AssetInput
1273
1295
 
1274
- 来源:`packages/sdk/src/index.ts:652`
1296
+ 来源:`packages/sdk/src/index.ts:668`
1275
1297
 
1276
1298
  ```ts
1277
1299
  export interface AssetInput {
@@ -1288,7 +1310,7 @@ export interface AssetInput {
1288
1310
 
1289
1311
  ## AssetDefinition
1290
1312
 
1291
- 来源:`packages/sdk/src/index.ts:662`
1313
+ 来源:`packages/sdk/src/index.ts:678`
1292
1314
 
1293
1315
  ```ts
1294
1316
  export interface AssetDefinition extends AssetInput {
@@ -1298,7 +1320,7 @@ export interface AssetDefinition extends AssetInput {
1298
1320
 
1299
1321
  ## MeshDefinition
1300
1322
 
1301
- 来源:`packages/sdk/src/index.ts:665`
1323
+ 来源:`packages/sdk/src/index.ts:681`
1302
1324
 
1303
1325
  ```ts
1304
1326
  export interface MeshDefinition {
@@ -1311,7 +1333,7 @@ export interface MeshDefinition {
1311
1333
 
1312
1334
  ## LightDefinition
1313
1335
 
1314
- 来源:`packages/sdk/src/index.ts:671`
1336
+ 来源:`packages/sdk/src/index.ts:687`
1315
1337
 
1316
1338
  ```ts
1317
1339
  export interface LightDefinition {
@@ -1333,7 +1355,7 @@ export interface LightDefinition {
1333
1355
 
1334
1356
  ## EntityInput
1335
1357
 
1336
- 来源:`packages/sdk/src/index.ts:686`
1358
+ 来源:`packages/sdk/src/index.ts:702`
1337
1359
 
1338
1360
  ```ts
1339
1361
  export interface EntityInput {
@@ -1352,7 +1374,7 @@ export interface EntityInput {
1352
1374
 
1353
1375
  ## PrefabInput
1354
1376
 
1355
- 来源:`packages/sdk/src/index.ts:698`
1377
+ 来源:`packages/sdk/src/index.ts:714`
1356
1378
 
1357
1379
  ```ts
1358
1380
  export interface PrefabInput extends Omit<EntityInput, "prefab" | "parent"> {
@@ -1362,7 +1384,7 @@ export interface PrefabInput extends Omit<EntityInput, "prefab" | "parent"> {
1362
1384
 
1363
1385
  ## PrefabDefinition
1364
1386
 
1365
- 来源:`packages/sdk/src/index.ts:701`
1387
+ 来源:`packages/sdk/src/index.ts:717`
1366
1388
 
1367
1389
  ```ts
1368
1390
  export interface PrefabDefinition extends PrefabInput {
@@ -1372,7 +1394,7 @@ export interface PrefabDefinition extends PrefabInput {
1372
1394
 
1373
1395
  ## SceneInput
1374
1396
 
1375
- 来源:`packages/sdk/src/index.ts:704`
1397
+ 来源:`packages/sdk/src/index.ts:720`
1376
1398
 
1377
1399
  ```ts
1378
1400
  export interface SceneInput {
@@ -1404,7 +1426,7 @@ export interface SceneInput {
1404
1426
 
1405
1427
  ## SceneDefinition
1406
1428
 
1407
- 来源:`packages/sdk/src/index.ts:729`
1429
+ 来源:`packages/sdk/src/index.ts:745`
1408
1430
 
1409
1431
  ```ts
1410
1432
  export interface SceneDefinition extends SceneInput {
@@ -1414,7 +1436,7 @@ export interface SceneDefinition extends SceneInput {
1414
1436
 
1415
1437
  ## SystemInput
1416
1438
 
1417
- 来源:`packages/sdk/src/index.ts:732`
1439
+ 来源:`packages/sdk/src/index.ts:748`
1418
1440
 
1419
1441
  ```ts
1420
1442
  export interface SystemInput {
@@ -1431,7 +1453,7 @@ export interface SystemInput {
1431
1453
 
1432
1454
  ## SystemDefinition
1433
1455
 
1434
- 来源:`packages/sdk/src/index.ts:742`
1456
+ 来源:`packages/sdk/src/index.ts:758`
1435
1457
 
1436
1458
  ```ts
1437
1459
  export interface SystemDefinition extends SystemInput {
@@ -1441,7 +1463,7 @@ export interface SystemDefinition extends SystemInput {
1441
1463
 
1442
1464
  ## GameInput
1443
1465
 
1444
- 来源:`packages/sdk/src/index.ts:745`
1466
+ 来源:`packages/sdk/src/index.ts:761`
1445
1467
 
1446
1468
  ```ts
1447
1469
  export interface GameInput {
@@ -1467,7 +1489,7 @@ export interface GameInput {
1467
1489
 
1468
1490
  ## GameDefinition
1469
1491
 
1470
- 来源:`packages/sdk/src/index.ts:764`
1492
+ 来源:`packages/sdk/src/index.ts:780`
1471
1493
 
1472
1494
  ```ts
1473
1495
  export interface GameDefinition extends GameInput {
@@ -1477,7 +1499,7 @@ export interface GameDefinition extends GameInput {
1477
1499
 
1478
1500
  ## GameInstance
1479
1501
 
1480
- 来源:`packages/sdk/src/index.ts:767`
1502
+ 来源:`packages/sdk/src/index.ts:783`
1481
1503
 
1482
1504
  ```ts
1483
1505
  export interface GameInstance {
@@ -1488,7 +1510,7 @@ export interface GameInstance {
1488
1510
 
1489
1511
  ## defineComponent
1490
1512
 
1491
- 来源:`packages/sdk/src/index.ts:771`
1513
+ 来源:`packages/sdk/src/index.ts:787`
1492
1514
 
1493
1515
  ```ts
1494
1516
  export function defineComponent<const S extends ComponentSchema>(input: {
@@ -1499,7 +1521,7 @@ export function defineComponent<const S extends ComponentSchema>(input: {
1499
1521
 
1500
1522
  ## defineMaterial
1501
1523
 
1502
- 来源:`packages/sdk/src/index.ts:777`
1524
+ 来源:`packages/sdk/src/index.ts:793`
1503
1525
 
1504
1526
  ```ts
1505
1527
  export function defineMaterial(input: MaterialInput): MaterialDefinition;
@@ -1507,7 +1529,7 @@ export function defineMaterial(input: MaterialInput): MaterialDefinition;
1507
1529
 
1508
1530
  ## definePostProcess
1509
1531
 
1510
- 来源:`packages/sdk/src/index.ts:780`
1532
+ 来源:`packages/sdk/src/index.ts:796`
1511
1533
 
1512
1534
  ```ts
1513
1535
  export function definePostProcess(input: PostProcessInput): PostProcessDefinition;
@@ -1515,7 +1537,7 @@ export function definePostProcess(input: PostProcessInput): PostProcessDefinitio
1515
1537
 
1516
1538
  ## defineCompute
1517
1539
 
1518
- 来源:`packages/sdk/src/index.ts:783`
1540
+ 来源:`packages/sdk/src/index.ts:799`
1519
1541
 
1520
1542
  ```ts
1521
1543
  export function defineCompute(input: ComputeInput): ComputeDefinition;
@@ -1523,7 +1545,7 @@ export function defineCompute(input: ComputeInput): ComputeDefinition;
1523
1545
 
1524
1546
  ## defineAsset
1525
1547
 
1526
- 来源:`packages/sdk/src/index.ts:786`
1548
+ 来源:`packages/sdk/src/index.ts:802`
1527
1549
 
1528
1550
  ```ts
1529
1551
  export function defineAsset(input: AssetInput): AssetDefinition;
@@ -1531,7 +1553,7 @@ export function defineAsset(input: AssetInput): AssetDefinition;
1531
1553
 
1532
1554
  ## definePrefab
1533
1555
 
1534
- 来源:`packages/sdk/src/index.ts:789`
1556
+ 来源:`packages/sdk/src/index.ts:805`
1535
1557
 
1536
1558
  ```ts
1537
1559
  export function definePrefab(input: PrefabInput): PrefabDefinition;
@@ -1539,7 +1561,7 @@ export function definePrefab(input: PrefabInput): PrefabDefinition;
1539
1561
 
1540
1562
  ## defineScene
1541
1563
 
1542
- 来源:`packages/sdk/src/index.ts:792`
1564
+ 来源:`packages/sdk/src/index.ts:808`
1543
1565
 
1544
1566
  ```ts
1545
1567
  export function defineScene(input: SceneInput): SceneDefinition;
@@ -1547,7 +1569,7 @@ export function defineScene(input: SceneInput): SceneDefinition;
1547
1569
 
1548
1570
  ## defineSystem
1549
1571
 
1550
- 来源:`packages/sdk/src/index.ts:795`
1572
+ 来源:`packages/sdk/src/index.ts:811`
1551
1573
 
1552
1574
  ```ts
1553
1575
  export function defineSystem(input: SystemInput): SystemDefinition;
@@ -1555,7 +1577,7 @@ export function defineSystem(input: SystemInput): SystemDefinition;
1555
1577
 
1556
1578
  ## defineGame
1557
1579
 
1558
- 来源:`packages/sdk/src/index.ts:798`
1580
+ 来源:`packages/sdk/src/index.ts:814`
1559
1581
 
1560
1582
  ```ts
1561
1583
  export function defineGame(input: GameInput): GameDefinition;
@@ -1563,7 +1585,7 @@ export function defineGame(input: GameInput): GameDefinition;
1563
1585
 
1564
1586
  ## instantiateGame
1565
1587
 
1566
- 来源:`packages/sdk/src/index.ts:802`
1588
+ 来源:`packages/sdk/src/index.ts:818`
1567
1589
 
1568
1590
  ```ts
1569
1591
  export function instantiateGame(