pelican-engine 0.3.14 → 0.3.15

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.14 API 索引
1
+ # pelican 0.3.15 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.14"
14
+ SDK_VERSION = "0.3.15"
15
15
  ```
16
16
 
17
17
  ## Vec2
@@ -276,9 +276,39 @@ export type RopeCollider =
276
276
  export interface RopeBodyCollider { readonly id: string; readonly entity: string }
277
277
  ```
278
278
 
279
+ ## RopeVisualOptions
280
+
281
+ 来源:`packages/sdk/src/index.ts:129`
282
+
283
+ ```ts
284
+ export interface RopeVisualOptions {
285
+ material: string;
286
+ radius?: number;
287
+ radialSegments?: number;
288
+ castShadow?: boolean;
289
+ receiveShadow?: boolean;
290
+ }
291
+ ```
292
+
293
+ ## RopeVisualState
294
+
295
+ 来源:`packages/sdk/src/index.ts:137`
296
+
297
+ ```ts
298
+ export interface RopeVisualState {
299
+ id: string;
300
+ material: string;
301
+ radius: number;
302
+ radialSegments: number;
303
+ castShadow: boolean;
304
+ receiveShadow: boolean;
305
+ positions: Vec3[];
306
+ }
307
+ ```
308
+
279
309
  ## RopeDefinition
280
310
 
281
- 来源:`packages/sdk/src/index.ts:128`
311
+ 来源:`packages/sdk/src/index.ts:146`
282
312
 
283
313
  ```ts
284
314
  export interface RopeDefinition {
@@ -293,6 +323,8 @@ export interface RopeDefinition {
293
323
  autoStep?: boolean;
294
324
  /** Automatically sample and react to existing dynamic, non-trigger sphere bodies. Requires autoStep. */
295
325
  bodyColliders?: readonly RopeBodyCollider[];
326
+ /** Optional segmented presentation using an already-declared material id. */
327
+ visual?: RopeVisualOptions;
296
328
  substeps?: number;
297
329
  iterations?: number;
298
330
  damping?: number;
@@ -303,7 +335,7 @@ export interface RopeDefinition {
303
335
 
304
336
  ## RopeContact
305
337
 
306
- 来源:`packages/sdk/src/index.ts:147`
338
+ 来源:`packages/sdk/src/index.ts:167`
307
339
 
308
340
  ```ts
309
341
  export interface RopeContact {
@@ -317,7 +349,7 @@ export interface RopeContact {
317
349
 
318
350
  ## RopeState
319
351
 
320
- 来源:`packages/sdk/src/index.ts:154`
352
+ 来源:`packages/sdk/src/index.ts:174`
321
353
 
322
354
  ```ts
323
355
  export interface RopeState {
@@ -332,7 +364,7 @@ export interface RopeState {
332
364
 
333
365
  ## RopeService
334
366
 
335
- 来源:`packages/sdk/src/index.ts:162`
367
+ 来源:`packages/sdk/src/index.ts:182`
336
368
 
337
369
  ```ts
338
370
  export interface RopeService {
@@ -340,6 +372,8 @@ export interface RopeService {
340
372
  /** Explicit ticks for manual ropes only. Auto-stepped ropes reject this call. A failed batch leaves the rope unchanged. */
341
373
  step(id: string, ticks?: number): RopeState;
342
374
  inspect(id: string): RopeState;
375
+ /** Detached visual descriptions, sorted by rope id; empty when no visuals are requested. */
376
+ visuals(): readonly RopeVisualState[];
343
377
  setColliders(id: string, colliders: readonly RopeCollider[]): void;
344
378
  setAnchor(id: string, index: number, position: Vec3): void;
345
379
  releaseAnchor(id: string, index: number): void;
@@ -351,7 +385,7 @@ export interface RopeService {
351
385
 
352
386
  ## NavigationCell
353
387
 
354
- 来源:`packages/sdk/src/index.ts:177`
388
+ 来源:`packages/sdk/src/index.ts:199`
355
389
 
356
390
  ```ts
357
391
  export interface NavigationCell { readonly x: number; readonly y: number }
@@ -359,7 +393,7 @@ export interface NavigationCell { readonly x: number; readonly y: number }
359
393
 
360
394
  ## NavigationObstacleUpdate
361
395
 
362
- 来源:`packages/sdk/src/index.ts:179`
396
+ 来源:`packages/sdk/src/index.ts:201`
363
397
 
364
398
  ```ts
365
399
  export interface NavigationObstacleUpdate { readonly cell: NavigationCell; readonly blocked: boolean }
@@ -367,7 +401,7 @@ export interface NavigationObstacleUpdate { readonly cell: NavigationCell; reado
367
401
 
368
402
  ## NavigationGrid
369
403
 
370
- 来源:`packages/sdk/src/index.ts:180`
404
+ 来源:`packages/sdk/src/index.ts:202`
371
405
 
372
406
  ```ts
373
407
  export interface NavigationGrid {
@@ -383,7 +417,7 @@ export interface NavigationGrid {
383
417
 
384
418
  ## NavigationService
385
419
 
386
- 来源:`packages/sdk/src/index.ts:189`
420
+ 来源:`packages/sdk/src/index.ts:211`
387
421
 
388
422
  ```ts
389
423
  export interface NavigationService {
@@ -402,7 +436,7 @@ export interface NavigationService {
402
436
 
403
437
  ## RenderMode
404
438
 
405
- 来源:`packages/sdk/src/index.ts:201`
439
+ 来源:`packages/sdk/src/index.ts:223`
406
440
 
407
441
  ```ts
408
442
  export type RenderMode = "raster" | "hybrid" | "path";
@@ -410,7 +444,7 @@ export type RenderMode = "raster" | "hybrid" | "path";
410
444
 
411
445
  ## RenderCapabilities
412
446
 
413
- 来源:`packages/sdk/src/index.ts:202`
447
+ 来源:`packages/sdk/src/index.ts:224`
414
448
 
415
449
  ```ts
416
450
  export interface RenderCapabilities {
@@ -422,7 +456,7 @@ export interface RenderCapabilities {
422
456
 
423
457
  ## RenderSettings
424
458
 
425
- 来源:`packages/sdk/src/index.ts:207`
459
+ 来源:`packages/sdk/src/index.ts:229`
426
460
 
427
461
  ```ts
428
462
  export interface RenderSettings {
@@ -440,7 +474,7 @@ export interface RenderSettings {
440
474
 
441
475
  ## RenderService
442
476
 
443
- 来源:`packages/sdk/src/index.ts:218`
477
+ 来源:`packages/sdk/src/index.ts:240`
444
478
 
445
479
  ```ts
446
480
  export interface RenderService {
@@ -457,7 +491,7 @@ export interface RenderService {
457
491
 
458
492
  ## MaterialBufferInput
459
493
 
460
- 来源:`packages/sdk/src/index.ts:228`
494
+ 来源:`packages/sdk/src/index.ts:250`
461
495
 
462
496
  ```ts
463
497
  export interface MaterialBufferInput {
@@ -473,7 +507,7 @@ export interface MaterialBufferInput {
473
507
 
474
508
  ## RenderBufferReference
475
509
 
476
- 来源:`packages/sdk/src/index.ts:237`
510
+ 来源:`packages/sdk/src/index.ts:259`
477
511
 
478
512
  ```ts
479
513
  export interface RenderBufferReference {
@@ -485,7 +519,7 @@ export interface RenderBufferReference {
485
519
 
486
520
  ## RenderBufferBindings
487
521
 
488
- 来源:`packages/sdk/src/index.ts:242`
522
+ 来源:`packages/sdk/src/index.ts:264`
489
523
 
490
524
  ```ts
491
525
  export interface RenderBufferBindings {
@@ -497,7 +531,7 @@ export interface RenderBufferBindings {
497
531
 
498
532
  ## MaterialTextureInput
499
533
 
500
- 来源:`packages/sdk/src/index.ts:247`
534
+ 来源:`packages/sdk/src/index.ts:269`
501
535
 
502
536
  ```ts
503
537
  export interface MaterialTextureInput extends ComputeTextureBinding {
@@ -510,7 +544,7 @@ export interface MaterialTextureInput extends ComputeTextureBinding {
510
544
 
511
545
  ## RenderTextureReference
512
546
 
513
- 来源:`packages/sdk/src/index.ts:253`
547
+ 来源:`packages/sdk/src/index.ts:275`
514
548
 
515
549
  ```ts
516
550
  export interface RenderTextureReference extends ComputeTextureSize {
@@ -521,7 +555,7 @@ export interface RenderTextureReference extends ComputeTextureSize {
521
555
 
522
556
  ## RenderTextureBindings
523
557
 
524
- 来源:`packages/sdk/src/index.ts:257`
558
+ 来源:`packages/sdk/src/index.ts:279`
525
559
 
526
560
  ```ts
527
561
  export interface RenderTextureBindings {
@@ -533,7 +567,7 @@ export interface RenderTextureBindings {
533
567
 
534
568
  ## PostProcessState
535
569
 
536
- 来源:`packages/sdk/src/index.ts:262`
570
+ 来源:`packages/sdk/src/index.ts:284`
537
571
 
538
572
  ```ts
539
573
  export interface PostProcessState {
@@ -545,7 +579,7 @@ export interface PostProcessState {
545
579
 
546
580
  ## PostProcessService
547
581
 
548
- 来源:`packages/sdk/src/index.ts:267`
582
+ 来源:`packages/sdk/src/index.ts:289`
549
583
 
550
584
  ```ts
551
585
  export interface PostProcessService {
@@ -562,7 +596,7 @@ export interface PostProcessService {
562
596
 
563
597
  ## ComputeBufferHandle
564
598
 
565
- 来源:`packages/sdk/src/index.ts:277`
599
+ 来源:`packages/sdk/src/index.ts:299`
566
600
 
567
601
  ```ts
568
602
  export interface ComputeBufferHandle {
@@ -574,7 +608,7 @@ export interface ComputeBufferHandle {
574
608
 
575
609
  ## ComputeTaskHandle
576
610
 
577
- 来源:`packages/sdk/src/index.ts:282`
611
+ 来源:`packages/sdk/src/index.ts:304`
578
612
 
579
613
  ```ts
580
614
  export interface ComputeTaskHandle {
@@ -585,7 +619,7 @@ export interface ComputeTaskHandle {
585
619
 
586
620
  ## ComputeBufferInput
587
621
 
588
- 来源:`packages/sdk/src/index.ts:286`
622
+ 来源:`packages/sdk/src/index.ts:308`
589
623
 
590
624
  ```ts
591
625
  export interface ComputeBufferInput {
@@ -598,7 +632,7 @@ export interface ComputeBufferInput {
598
632
 
599
633
  ## ComputeTextureHandle
600
634
 
601
- 来源:`packages/sdk/src/index.ts:292`
635
+ 来源:`packages/sdk/src/index.ts:314`
602
636
 
603
637
  ```ts
604
638
  export interface ComputeTextureHandle {
@@ -611,7 +645,7 @@ export interface ComputeTextureHandle {
611
645
 
612
646
  ## ComputeTextureSize
613
647
 
614
- 来源:`packages/sdk/src/index.ts:298`
648
+ 来源:`packages/sdk/src/index.ts:320`
615
649
 
616
650
  ```ts
617
651
  export interface ComputeTextureSize {
@@ -622,7 +656,7 @@ export interface ComputeTextureSize {
622
656
 
623
657
  ## ComputeTextureDataInput
624
658
 
625
- 来源:`packages/sdk/src/index.ts:302`
659
+ 来源:`packages/sdk/src/index.ts:324`
626
660
 
627
661
  ```ts
628
662
  export interface ComputeTextureDataInput extends ComputeTextureSize {
@@ -635,7 +669,7 @@ export interface ComputeTextureDataInput extends ComputeTextureSize {
635
669
 
636
670
  ## ComputeTextureAssetInput
637
671
 
638
- 来源:`packages/sdk/src/index.ts:308`
672
+ 来源:`packages/sdk/src/index.ts:330`
639
673
 
640
674
  ```ts
641
675
  export interface ComputeTextureAssetInput {
@@ -649,7 +683,7 @@ export interface ComputeTextureAssetInput {
649
683
 
650
684
  ## ComputeTextureInput
651
685
 
652
- 来源:`packages/sdk/src/index.ts:315`
686
+ 来源:`packages/sdk/src/index.ts:337`
653
687
 
654
688
  ```ts
655
689
  export type ComputeTextureInput = ComputeTextureDataInput | ComputeTextureAssetInput;
@@ -657,7 +691,7 @@ export type ComputeTextureInput = ComputeTextureDataInput | ComputeTextureAssetI
657
691
 
658
692
  ## ComputeTextureBinding
659
693
 
660
- 来源:`packages/sdk/src/index.ts:316`
694
+ 来源:`packages/sdk/src/index.ts:338`
661
695
 
662
696
  ```ts
663
697
  export interface ComputeTextureBinding {
@@ -670,7 +704,7 @@ export interface ComputeTextureBinding {
670
704
 
671
705
  ## ComputeDispatchInput
672
706
 
673
- 来源:`packages/sdk/src/index.ts:322`
707
+ 来源:`packages/sdk/src/index.ts:344`
674
708
 
675
709
  ```ts
676
710
  export interface ComputeDispatchInput {
@@ -689,7 +723,7 @@ export interface ComputeDispatchInput {
689
723
 
690
724
  ## ComputeTaskState
691
725
 
692
- 来源:`packages/sdk/src/index.ts:334`
726
+ 来源:`packages/sdk/src/index.ts:356`
693
727
 
694
728
  ```ts
695
729
  export interface ComputeTaskState {
@@ -700,7 +734,7 @@ export interface ComputeTaskState {
700
734
 
701
735
  ## ComputeService
702
736
 
703
- 来源:`packages/sdk/src/index.ts:338`
737
+ 来源:`packages/sdk/src/index.ts:360`
704
738
 
705
739
  ```ts
706
740
  export interface ComputeService {
@@ -727,7 +761,7 @@ export interface ComputeService {
727
761
 
728
762
  ## InputService
729
763
 
730
- 来源:`packages/sdk/src/index.ts:358`
764
+ 来源:`packages/sdk/src/index.ts:380`
731
765
 
732
766
  ```ts
733
767
  export interface InputService {
@@ -740,7 +774,7 @@ export interface InputService {
740
774
 
741
775
  ## PhysicsService
742
776
 
743
- 来源:`packages/sdk/src/index.ts:364`
777
+ 来源:`packages/sdk/src/index.ts:386`
744
778
 
745
779
  ```ts
746
780
  export interface PhysicsService {
@@ -769,7 +803,7 @@ export interface PhysicsService {
769
803
 
770
804
  ## AnimationService
771
805
 
772
- 来源:`packages/sdk/src/index.ts:386`
806
+ 来源:`packages/sdk/src/index.ts:408`
773
807
 
774
808
  ```ts
775
809
  export interface AnimationService {
@@ -788,7 +822,7 @@ export interface AnimationService {
788
822
 
789
823
  ## CameraService
790
824
 
791
- 来源:`packages/sdk/src/index.ts:398`
825
+ 来源:`packages/sdk/src/index.ts:420`
792
826
 
793
827
  ```ts
794
828
  export interface CameraService {
@@ -808,7 +842,7 @@ export interface CameraService {
808
842
 
809
843
  ## UIService
810
844
 
811
- 来源:`packages/sdk/src/index.ts:411`
845
+ 来源:`packages/sdk/src/index.ts:433`
812
846
 
813
847
  ```ts
814
848
  export interface UIService {
@@ -820,7 +854,7 @@ export interface UIService {
820
854
 
821
855
  ## AudioService
822
856
 
823
- 来源:`packages/sdk/src/index.ts:416`
857
+ 来源:`packages/sdk/src/index.ts:438`
824
858
 
825
859
  ```ts
826
860
  export interface AudioService {
@@ -842,7 +876,7 @@ export interface AudioService {
842
876
 
843
877
  ## StorageService
844
878
 
845
- 来源:`packages/sdk/src/index.ts:431`
879
+ 来源:`packages/sdk/src/index.ts:453`
846
880
 
847
881
  ```ts
848
882
  export interface StorageService {
@@ -858,7 +892,7 @@ export interface StorageService {
858
892
 
859
893
  ## SceneService
860
894
 
861
- 来源:`packages/sdk/src/index.ts:440`
895
+ 来源:`packages/sdk/src/index.ts:462`
862
896
 
863
897
  ```ts
864
898
  export interface SceneService {
@@ -869,7 +903,7 @@ export interface SceneService {
869
903
 
870
904
  ## ModelDefinition
871
905
 
872
- 来源:`packages/sdk/src/index.ts:444`
906
+ 来源:`packages/sdk/src/index.ts:466`
873
907
 
874
908
  ```ts
875
909
  export interface ModelDefinition {
@@ -889,7 +923,7 @@ export interface ModelDefinition {
889
923
 
890
924
  ## RigidBodyDefinition
891
925
 
892
- 来源:`packages/sdk/src/index.ts:457`
926
+ 来源:`packages/sdk/src/index.ts:479`
893
927
 
894
928
  ```ts
895
929
  export interface RigidBodyDefinition {
@@ -910,7 +944,7 @@ export interface RigidBodyDefinition {
910
944
 
911
945
  ## CharacterDefinition
912
946
 
913
- 来源:`packages/sdk/src/index.ts:471`
947
+ 来源:`packages/sdk/src/index.ts:493`
914
948
 
915
949
  ```ts
916
950
  export interface CharacterDefinition {
@@ -925,7 +959,7 @@ export interface CharacterDefinition {
925
959
 
926
960
  ## UIElementDefinition
927
961
 
928
- 来源:`packages/sdk/src/index.ts:479`
962
+ 来源:`packages/sdk/src/index.ts:501`
929
963
 
930
964
  ```ts
931
965
  export interface UIElementDefinition {
@@ -945,7 +979,7 @@ export interface UIElementDefinition {
945
979
 
946
980
  ## SoundDefinition
947
981
 
948
- 来源:`packages/sdk/src/index.ts:492`
982
+ 来源:`packages/sdk/src/index.ts:514`
949
983
 
950
984
  ```ts
951
985
  export interface SoundDefinition {
@@ -959,7 +993,7 @@ export interface SoundDefinition {
959
993
 
960
994
  ## AudioBusDefinition
961
995
 
962
- 来源:`packages/sdk/src/index.ts:499`
996
+ 来源:`packages/sdk/src/index.ts:521`
963
997
 
964
998
  ```ts
965
999
  export interface AudioBusDefinition {
@@ -970,7 +1004,7 @@ export interface AudioBusDefinition {
970
1004
 
971
1005
  ## SYSTEM_PHASES
972
1006
 
973
- 来源:`packages/sdk/src/index.ts:503`
1007
+ 来源:`packages/sdk/src/index.ts:525`
974
1008
 
975
1009
  ```ts
976
1010
  SYSTEM_PHASES = [
@@ -985,7 +1019,7 @@ SYSTEM_PHASES = [
985
1019
 
986
1020
  ## SystemPhase
987
1021
 
988
- 来源:`packages/sdk/src/index.ts:511`
1022
+ 来源:`packages/sdk/src/index.ts:533`
989
1023
 
990
1024
  ```ts
991
1025
  export type SystemPhase = (typeof SYSTEM_PHASES)[number];
@@ -993,7 +1027,7 @@ export type SystemPhase = (typeof SYSTEM_PHASES)[number];
993
1027
 
994
1028
  ## Geometry
995
1029
 
996
- 来源:`packages/sdk/src/index.ts:512`
1030
+ 来源:`packages/sdk/src/index.ts:534`
997
1031
 
998
1032
  ```ts
999
1033
  export type Geometry =
@@ -1004,7 +1038,7 @@ export type Geometry =
1004
1038
 
1005
1039
  ## GRAPH_TYPES
1006
1040
 
1007
- 来源:`packages/sdk/src/index.ts:516`
1041
+ 来源:`packages/sdk/src/index.ts:538`
1008
1042
 
1009
1043
  ```ts
1010
1044
  GRAPH_TYPES = ["float", "vec2", "vec3", "vec4", "bool"] as const
@@ -1012,7 +1046,7 @@ GRAPH_TYPES = ["float", "vec2", "vec3", "vec4", "bool"] as const
1012
1046
 
1013
1047
  ## GraphType
1014
1048
 
1015
- 来源:`packages/sdk/src/index.ts:517`
1049
+ 来源:`packages/sdk/src/index.ts:539`
1016
1050
 
1017
1051
  ```ts
1018
1052
  export type GraphType = typeof GRAPH_TYPES[number];
@@ -1020,7 +1054,7 @@ export type GraphType = typeof GRAPH_TYPES[number];
1020
1054
 
1021
1055
  ## GraphValue
1022
1056
 
1023
- 来源:`packages/sdk/src/index.ts:518`
1057
+ 来源:`packages/sdk/src/index.ts:540`
1024
1058
 
1025
1059
  ```ts
1026
1060
  export type GraphValue = number | boolean | Vec2 | Vec3 | Vec4;
@@ -1028,7 +1062,7 @@ export type GraphValue = number | boolean | Vec2 | Vec3 | Vec4;
1028
1062
 
1029
1063
  ## GraphParameter
1030
1064
 
1031
- 来源:`packages/sdk/src/index.ts:519`
1065
+ 来源:`packages/sdk/src/index.ts:541`
1032
1066
 
1033
1067
  ```ts
1034
1068
  export interface GraphParameter {
@@ -1040,7 +1074,7 @@ export interface GraphParameter {
1040
1074
 
1041
1075
  ## GRAPH_INPUT_TYPES
1042
1076
 
1043
- 来源:`packages/sdk/src/index.ts:524`
1077
+ 来源:`packages/sdk/src/index.ts:546`
1044
1078
 
1045
1079
  ```ts
1046
1080
  GRAPH_INPUT_TYPES = {
@@ -1054,7 +1088,7 @@ GRAPH_INPUT_TYPES = {
1054
1088
 
1055
1089
  ## GraphInputName
1056
1090
 
1057
- 来源:`packages/sdk/src/index.ts:531`
1091
+ 来源:`packages/sdk/src/index.ts:553`
1058
1092
 
1059
1093
  ```ts
1060
1094
  export type GraphInputName = keyof typeof GRAPH_INPUT_TYPES;
@@ -1062,7 +1096,7 @@ export type GraphInputName = keyof typeof GRAPH_INPUT_TYPES;
1062
1096
 
1063
1097
  ## GRAPH_OPERATIONS
1064
1098
 
1065
- 来源:`packages/sdk/src/index.ts:532`
1099
+ 来源:`packages/sdk/src/index.ts:554`
1066
1100
 
1067
1101
  ```ts
1068
1102
  GRAPH_OPERATIONS = {
@@ -1074,7 +1108,7 @@ GRAPH_OPERATIONS = {
1074
1108
 
1075
1109
  ## GraphNode
1076
1110
 
1077
- 来源:`packages/sdk/src/index.ts:537`
1111
+ 来源:`packages/sdk/src/index.ts:559`
1078
1112
 
1079
1113
  ```ts
1080
1114
  export type GraphNode =
@@ -1101,7 +1135,7 @@ export type GraphNode =
1101
1135
 
1102
1136
  ## Graph
1103
1137
 
1104
- 来源:`packages/sdk/src/index.ts:557`
1138
+ 来源:`packages/sdk/src/index.ts:579`
1105
1139
 
1106
1140
  ```ts
1107
1141
  export interface Graph {
@@ -1113,7 +1147,7 @@ export interface Graph {
1113
1147
 
1114
1148
  ## MaterialGraphs
1115
1149
 
1116
- 来源:`packages/sdk/src/index.ts:562`
1150
+ 来源:`packages/sdk/src/index.ts:584`
1117
1151
 
1118
1152
  ```ts
1119
1153
  export interface MaterialGraphs {
@@ -1129,7 +1163,7 @@ export interface MaterialGraphs {
1129
1163
 
1130
1164
  ## VertexGraphs
1131
1165
 
1132
- 来源:`packages/sdk/src/index.ts:571`
1166
+ 来源:`packages/sdk/src/index.ts:593`
1133
1167
 
1134
1168
  ```ts
1135
1169
  export interface VertexGraphs {
@@ -1142,7 +1176,7 @@ export interface VertexGraphs {
1142
1176
 
1143
1177
  ## MaterialInput
1144
1178
 
1145
- 来源:`packages/sdk/src/index.ts:577`
1179
+ 来源:`packages/sdk/src/index.ts:599`
1146
1180
 
1147
1181
  ```ts
1148
1182
  export interface MaterialInput {
@@ -1176,7 +1210,7 @@ export interface MaterialInput {
1176
1210
 
1177
1211
  ## MaterialDefinition
1178
1212
 
1179
- 来源:`packages/sdk/src/index.ts:604`
1213
+ 来源:`packages/sdk/src/index.ts:626`
1180
1214
 
1181
1215
  ```ts
1182
1216
  export interface MaterialDefinition extends MaterialInput {
@@ -1186,7 +1220,7 @@ export interface MaterialDefinition extends MaterialInput {
1186
1220
 
1187
1221
  ## PostProcessInput
1188
1222
 
1189
- 来源:`packages/sdk/src/index.ts:607`
1223
+ 来源:`packages/sdk/src/index.ts:629`
1190
1224
 
1191
1225
  ```ts
1192
1226
  export interface PostProcessInput {
@@ -1201,7 +1235,7 @@ export interface PostProcessInput {
1201
1235
 
1202
1236
  ## PostProcessDefinition
1203
1237
 
1204
- 来源:`packages/sdk/src/index.ts:615`
1238
+ 来源:`packages/sdk/src/index.ts:637`
1205
1239
 
1206
1240
  ```ts
1207
1241
  export interface PostProcessDefinition extends PostProcessInput {
@@ -1211,7 +1245,7 @@ export interface PostProcessDefinition extends PostProcessInput {
1211
1245
 
1212
1246
  ## ComputeInput
1213
1247
 
1214
- 来源:`packages/sdk/src/index.ts:618`
1248
+ 来源:`packages/sdk/src/index.ts:640`
1215
1249
 
1216
1250
  ```ts
1217
1251
  export interface ComputeInput {
@@ -1227,7 +1261,7 @@ export interface ComputeInput {
1227
1261
 
1228
1262
  ## ComputeDefinition
1229
1263
 
1230
- 来源:`packages/sdk/src/index.ts:627`
1264
+ 来源:`packages/sdk/src/index.ts:649`
1231
1265
 
1232
1266
  ```ts
1233
1267
  export interface ComputeDefinition extends ComputeInput {
@@ -1237,7 +1271,7 @@ export interface ComputeDefinition extends ComputeInput {
1237
1271
 
1238
1272
  ## AssetInput
1239
1273
 
1240
- 来源:`packages/sdk/src/index.ts:630`
1274
+ 来源:`packages/sdk/src/index.ts:652`
1241
1275
 
1242
1276
  ```ts
1243
1277
  export interface AssetInput {
@@ -1254,7 +1288,7 @@ export interface AssetInput {
1254
1288
 
1255
1289
  ## AssetDefinition
1256
1290
 
1257
- 来源:`packages/sdk/src/index.ts:640`
1291
+ 来源:`packages/sdk/src/index.ts:662`
1258
1292
 
1259
1293
  ```ts
1260
1294
  export interface AssetDefinition extends AssetInput {
@@ -1264,7 +1298,7 @@ export interface AssetDefinition extends AssetInput {
1264
1298
 
1265
1299
  ## MeshDefinition
1266
1300
 
1267
- 来源:`packages/sdk/src/index.ts:643`
1301
+ 来源:`packages/sdk/src/index.ts:665`
1268
1302
 
1269
1303
  ```ts
1270
1304
  export interface MeshDefinition {
@@ -1277,7 +1311,7 @@ export interface MeshDefinition {
1277
1311
 
1278
1312
  ## LightDefinition
1279
1313
 
1280
- 来源:`packages/sdk/src/index.ts:649`
1314
+ 来源:`packages/sdk/src/index.ts:671`
1281
1315
 
1282
1316
  ```ts
1283
1317
  export interface LightDefinition {
@@ -1299,7 +1333,7 @@ export interface LightDefinition {
1299
1333
 
1300
1334
  ## EntityInput
1301
1335
 
1302
- 来源:`packages/sdk/src/index.ts:664`
1336
+ 来源:`packages/sdk/src/index.ts:686`
1303
1337
 
1304
1338
  ```ts
1305
1339
  export interface EntityInput {
@@ -1318,7 +1352,7 @@ export interface EntityInput {
1318
1352
 
1319
1353
  ## PrefabInput
1320
1354
 
1321
- 来源:`packages/sdk/src/index.ts:676`
1355
+ 来源:`packages/sdk/src/index.ts:698`
1322
1356
 
1323
1357
  ```ts
1324
1358
  export interface PrefabInput extends Omit<EntityInput, "prefab" | "parent"> {
@@ -1328,7 +1362,7 @@ export interface PrefabInput extends Omit<EntityInput, "prefab" | "parent"> {
1328
1362
 
1329
1363
  ## PrefabDefinition
1330
1364
 
1331
- 来源:`packages/sdk/src/index.ts:679`
1365
+ 来源:`packages/sdk/src/index.ts:701`
1332
1366
 
1333
1367
  ```ts
1334
1368
  export interface PrefabDefinition extends PrefabInput {
@@ -1338,7 +1372,7 @@ export interface PrefabDefinition extends PrefabInput {
1338
1372
 
1339
1373
  ## SceneInput
1340
1374
 
1341
- 来源:`packages/sdk/src/index.ts:682`
1375
+ 来源:`packages/sdk/src/index.ts:704`
1342
1376
 
1343
1377
  ```ts
1344
1378
  export interface SceneInput {
@@ -1370,7 +1404,7 @@ export interface SceneInput {
1370
1404
 
1371
1405
  ## SceneDefinition
1372
1406
 
1373
- 来源:`packages/sdk/src/index.ts:707`
1407
+ 来源:`packages/sdk/src/index.ts:729`
1374
1408
 
1375
1409
  ```ts
1376
1410
  export interface SceneDefinition extends SceneInput {
@@ -1380,7 +1414,7 @@ export interface SceneDefinition extends SceneInput {
1380
1414
 
1381
1415
  ## SystemInput
1382
1416
 
1383
- 来源:`packages/sdk/src/index.ts:710`
1417
+ 来源:`packages/sdk/src/index.ts:732`
1384
1418
 
1385
1419
  ```ts
1386
1420
  export interface SystemInput {
@@ -1397,7 +1431,7 @@ export interface SystemInput {
1397
1431
 
1398
1432
  ## SystemDefinition
1399
1433
 
1400
- 来源:`packages/sdk/src/index.ts:720`
1434
+ 来源:`packages/sdk/src/index.ts:742`
1401
1435
 
1402
1436
  ```ts
1403
1437
  export interface SystemDefinition extends SystemInput {
@@ -1407,7 +1441,7 @@ export interface SystemDefinition extends SystemInput {
1407
1441
 
1408
1442
  ## GameInput
1409
1443
 
1410
- 来源:`packages/sdk/src/index.ts:723`
1444
+ 来源:`packages/sdk/src/index.ts:745`
1411
1445
 
1412
1446
  ```ts
1413
1447
  export interface GameInput {
@@ -1433,7 +1467,7 @@ export interface GameInput {
1433
1467
 
1434
1468
  ## GameDefinition
1435
1469
 
1436
- 来源:`packages/sdk/src/index.ts:742`
1470
+ 来源:`packages/sdk/src/index.ts:764`
1437
1471
 
1438
1472
  ```ts
1439
1473
  export interface GameDefinition extends GameInput {
@@ -1443,7 +1477,7 @@ export interface GameDefinition extends GameInput {
1443
1477
 
1444
1478
  ## GameInstance
1445
1479
 
1446
- 来源:`packages/sdk/src/index.ts:745`
1480
+ 来源:`packages/sdk/src/index.ts:767`
1447
1481
 
1448
1482
  ```ts
1449
1483
  export interface GameInstance {
@@ -1454,7 +1488,7 @@ export interface GameInstance {
1454
1488
 
1455
1489
  ## defineComponent
1456
1490
 
1457
- 来源:`packages/sdk/src/index.ts:749`
1491
+ 来源:`packages/sdk/src/index.ts:771`
1458
1492
 
1459
1493
  ```ts
1460
1494
  export function defineComponent<const S extends ComponentSchema>(input: {
@@ -1465,7 +1499,7 @@ export function defineComponent<const S extends ComponentSchema>(input: {
1465
1499
 
1466
1500
  ## defineMaterial
1467
1501
 
1468
- 来源:`packages/sdk/src/index.ts:755`
1502
+ 来源:`packages/sdk/src/index.ts:777`
1469
1503
 
1470
1504
  ```ts
1471
1505
  export function defineMaterial(input: MaterialInput): MaterialDefinition;
@@ -1473,7 +1507,7 @@ export function defineMaterial(input: MaterialInput): MaterialDefinition;
1473
1507
 
1474
1508
  ## definePostProcess
1475
1509
 
1476
- 来源:`packages/sdk/src/index.ts:758`
1510
+ 来源:`packages/sdk/src/index.ts:780`
1477
1511
 
1478
1512
  ```ts
1479
1513
  export function definePostProcess(input: PostProcessInput): PostProcessDefinition;
@@ -1481,7 +1515,7 @@ export function definePostProcess(input: PostProcessInput): PostProcessDefinitio
1481
1515
 
1482
1516
  ## defineCompute
1483
1517
 
1484
- 来源:`packages/sdk/src/index.ts:761`
1518
+ 来源:`packages/sdk/src/index.ts:783`
1485
1519
 
1486
1520
  ```ts
1487
1521
  export function defineCompute(input: ComputeInput): ComputeDefinition;
@@ -1489,7 +1523,7 @@ export function defineCompute(input: ComputeInput): ComputeDefinition;
1489
1523
 
1490
1524
  ## defineAsset
1491
1525
 
1492
- 来源:`packages/sdk/src/index.ts:764`
1526
+ 来源:`packages/sdk/src/index.ts:786`
1493
1527
 
1494
1528
  ```ts
1495
1529
  export function defineAsset(input: AssetInput): AssetDefinition;
@@ -1497,7 +1531,7 @@ export function defineAsset(input: AssetInput): AssetDefinition;
1497
1531
 
1498
1532
  ## definePrefab
1499
1533
 
1500
- 来源:`packages/sdk/src/index.ts:767`
1534
+ 来源:`packages/sdk/src/index.ts:789`
1501
1535
 
1502
1536
  ```ts
1503
1537
  export function definePrefab(input: PrefabInput): PrefabDefinition;
@@ -1505,7 +1539,7 @@ export function definePrefab(input: PrefabInput): PrefabDefinition;
1505
1539
 
1506
1540
  ## defineScene
1507
1541
 
1508
- 来源:`packages/sdk/src/index.ts:770`
1542
+ 来源:`packages/sdk/src/index.ts:792`
1509
1543
 
1510
1544
  ```ts
1511
1545
  export function defineScene(input: SceneInput): SceneDefinition;
@@ -1513,7 +1547,7 @@ export function defineScene(input: SceneInput): SceneDefinition;
1513
1547
 
1514
1548
  ## defineSystem
1515
1549
 
1516
- 来源:`packages/sdk/src/index.ts:773`
1550
+ 来源:`packages/sdk/src/index.ts:795`
1517
1551
 
1518
1552
  ```ts
1519
1553
  export function defineSystem(input: SystemInput): SystemDefinition;
@@ -1521,7 +1555,7 @@ export function defineSystem(input: SystemInput): SystemDefinition;
1521
1555
 
1522
1556
  ## defineGame
1523
1557
 
1524
- 来源:`packages/sdk/src/index.ts:776`
1558
+ 来源:`packages/sdk/src/index.ts:798`
1525
1559
 
1526
1560
  ```ts
1527
1561
  export function defineGame(input: GameInput): GameDefinition;
@@ -1529,7 +1563,7 @@ export function defineGame(input: GameInput): GameDefinition;
1529
1563
 
1530
1564
  ## instantiateGame
1531
1565
 
1532
- 来源:`packages/sdk/src/index.ts:780`
1566
+ 来源:`packages/sdk/src/index.ts:802`
1533
1567
 
1534
1568
  ```ts
1535
1569
  export function instantiateGame(