@zephyr3d/editor 0.3.5 → 0.3.7

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.
Files changed (48) hide show
  1. package/dist/assets/{index-DlnbO59X.js → index-ySiLtSxz.js} +2 -2
  2. package/dist/assistant/zephyr-types-index.json +14215 -7892
  3. package/dist/index.html +1 -1
  4. package/dist/modules/zephyr3d_backend-webgl.js.map +1 -1
  5. package/dist/modules/zephyr3d_backend-webgpu.js.map +1 -1
  6. package/dist/modules/zephyr3d_base.js +152 -152
  7. package/dist/modules/zephyr3d_base.js.map +1 -1
  8. package/dist/modules/zephyr3d_imgui.js.map +1 -1
  9. package/dist/modules/zephyr3d_loaders.js +6 -6
  10. package/dist/modules/zephyr3d_loaders.js.map +1 -1
  11. package/dist/modules/zephyr3d_scene.js +2538 -348
  12. package/dist/modules/zephyr3d_scene.js.map +1 -1
  13. package/dist/vendor/zephyr3d/backend-webgl/dist/index.js.map +1 -1
  14. package/dist/vendor/zephyr3d/backend-webgpu/dist/index.js.map +1 -1
  15. package/dist/vendor/zephyr3d/base/dist/vfs/common.js +152 -152
  16. package/dist/vendor/zephyr3d/base/dist/vfs/common.js.map +1 -1
  17. package/dist/vendor/zephyr3d/imgui/dist/index.d.ts +7 -0
  18. package/dist/vendor/zephyr3d/imgui/dist/index.js.map +1 -1
  19. package/dist/vendor/zephyr3d/loaders/dist/gltf/gltf_importer.js +6 -6
  20. package/dist/vendor/zephyr3d/loaders/dist/gltf/gltf_importer.js.map +1 -1
  21. package/dist/vendor/zephyr3d/scene/dist/animation/animation.js +87 -0
  22. package/dist/vendor/zephyr3d/scene/dist/animation/animation.js.map +1 -1
  23. package/dist/vendor/zephyr3d/scene/dist/animation/animationcontroller.js +503 -0
  24. package/dist/vendor/zephyr3d/scene/dist/animation/animationcontroller.js.map +1 -0
  25. package/dist/vendor/zephyr3d/scene/dist/animation/animationset.js +782 -156
  26. package/dist/vendor/zephyr3d/scene/dist/animation/animationset.js.map +1 -1
  27. package/dist/vendor/zephyr3d/scene/dist/animation/animationtimeline.js +974 -0
  28. package/dist/vendor/zephyr3d/scene/dist/animation/animationtimeline.js.map +1 -0
  29. package/dist/vendor/zephyr3d/scene/dist/animation/joint_dynamics/convex_collider.js +320 -0
  30. package/dist/vendor/zephyr3d/scene/dist/animation/joint_dynamics/convex_collider.js.map +1 -0
  31. package/dist/vendor/zephyr3d/scene/dist/app/scriptregistry.js +130 -125
  32. package/dist/vendor/zephyr3d/scene/dist/app/scriptregistry.js.map +1 -1
  33. package/dist/vendor/zephyr3d/scene/dist/asset/model.js +64 -63
  34. package/dist/vendor/zephyr3d/scene/dist/asset/model.js.map +1 -1
  35. package/dist/vendor/zephyr3d/scene/dist/index.d.ts +1270 -9
  36. package/dist/vendor/zephyr3d/scene/dist/index.js +3 -1
  37. package/dist/vendor/zephyr3d/scene/dist/index.js.map +1 -1
  38. package/dist/vendor/zephyr3d/scene/dist/material/mixins/lit.js +7 -3
  39. package/dist/vendor/zephyr3d/scene/dist/material/mixins/lit.js.map +1 -1
  40. package/dist/vendor/zephyr3d/scene/dist/utility/serialization/manager.js +1 -0
  41. package/dist/vendor/zephyr3d/scene/dist/utility/serialization/manager.js.map +1 -1
  42. package/dist/vendor/zephyr3d/scene/dist/utility/serialization/scene/animation.js +4 -3
  43. package/dist/vendor/zephyr3d/scene/dist/utility/serialization/scene/animation.js.map +1 -1
  44. package/dist/vendor/zephyr3d/scene/dist/utility/serialization/scene/camera.js +1 -1
  45. package/dist/vendor/zephyr3d/scene/dist/utility/serialization/scene/camera.js.map +1 -1
  46. package/dist/vendor/zephyr3d/scene/dist/utility/serialization/scene/node.js +3 -2
  47. package/dist/vendor/zephyr3d/scene/dist/utility/serialization/scene/node.js.map +1 -1
  48. package/package.json +8 -8
@@ -9719,6 +9719,50 @@ type NamedJointsSkeletalAnimationMaskOptions = SkeletalAnimationMaskCommonOption
9719
9719
  /** @public */
9720
9720
  type SkeletalAnimationMaskOptions = HumanoidSkeletalAnimationMaskOptions | NamedJointsSkeletalAnimationMaskOptions;
9721
9721
 
9722
+ /**
9723
+ * How a new playback copies phase from an existing active playback.
9724
+ *
9725
+ * - `'normalized'`: copy the source playback's normalized phase and map it into the new clip.
9726
+ * - `'time'`: copy the source playback's time in seconds.
9727
+ *
9728
+ * @public
9729
+ */
9730
+ type AnimationPlaybackSyncMode = 'normalized' | 'time';
9731
+ /**
9732
+ * Options for starting a playback at the same phase as another active playback.
9733
+ *
9734
+ * Use this when switching between matching locomotion clips, upper/lower body clips, or a
9735
+ * layered setup and a full-body clip that must stay phase-aligned.
9736
+ *
9737
+ * @public
9738
+ */
9739
+ type AnimationPlaybackSyncOptions = {
9740
+ /**
9741
+ * Active playback to synchronize with.
9742
+ *
9743
+ * The value is resolved as an active clip name first, then as an active playback id. Timeline
9744
+ * `play` steps also resolve local `id` references before forwarding the options to
9745
+ * `AnimationSet`.
9746
+ */
9747
+ target: string;
9748
+ /**
9749
+ * Synchronization mode. Defaults to `'normalized'`.
9750
+ */
9751
+ mode?: AnimationPlaybackSyncMode;
9752
+ /**
9753
+ * Optional phase offset.
9754
+ *
9755
+ * In `'normalized'` mode this is a normalized phase offset where 1 is one full cycle. In
9756
+ * `'time'` mode this is an offset in seconds.
9757
+ */
9758
+ offset?: number;
9759
+ /**
9760
+ * Whether the synchronized time wraps into the destination clip or range. Defaults to true.
9761
+ *
9762
+ * Set to false to clamp the initial time to the destination clip or range.
9763
+ */
9764
+ wrap?: boolean;
9765
+ };
9722
9766
  /**
9723
9767
  * Options for playing an animation.
9724
9768
  *
@@ -9749,6 +9793,14 @@ type PlayAnimationOptions = {
9749
9793
  * Default is 0 (no fade-in).
9750
9794
  */
9751
9795
  fadeIn?: number;
9796
+ /**
9797
+ * Fade-out duration in seconds used after the playback completes naturally.
9798
+ *
9799
+ * When greater than 0, the playback emits `complete` at the authored end time but remains active
9800
+ * for this duration while its weight fades to 0. This lets a following playback cross-fade from
9801
+ * the completed pose instead of snapping after the completed clip is removed.
9802
+ */
9803
+ completionFadeOut?: number;
9752
9804
  /**
9753
9805
  * Weight of the animation clip.
9754
9806
  *
@@ -9756,6 +9808,37 @@ type PlayAnimationOptions = {
9756
9808
  * Default is the clip's configured weight.
9757
9809
  */
9758
9810
  weight?: number;
9811
+ /**
9812
+ * Optional stable playback id. Useful for blueprint/editor references.
9813
+ */
9814
+ id?: string;
9815
+ /**
9816
+ * Logical layer/channel name used by higher-level controllers.
9817
+ */
9818
+ layer?: string;
9819
+ /**
9820
+ * Priority used by higher-level interrupt policies.
9821
+ */
9822
+ priority?: number;
9823
+ /**
9824
+ * Whether higher-level controllers may interrupt this playback.
9825
+ */
9826
+ interruptible?: boolean;
9827
+ /**
9828
+ * Optional sub-range to play.
9829
+ */
9830
+ range?: {
9831
+ start?: AnimationTimeRef;
9832
+ end?: AnimationTimeRef;
9833
+ };
9834
+ /**
9835
+ * Optional phase synchronization source used to choose the initial playback time.
9836
+ *
9837
+ * When omitted, playback starts at the range start (or clip start), and reverse playback starts
9838
+ * at the range end (or clip end). When set, the new playback starts at the phase copied from the
9839
+ * referenced active playback.
9840
+ */
9841
+ sync?: AnimationPlaybackSyncOptions;
9759
9842
  };
9760
9843
  /**
9761
9844
  * Options for stopping an animation.
@@ -9771,8 +9854,96 @@ type StopAnimationOptions = {
9771
9854
  * Default is 0 (immediate stop).
9772
9855
  */
9773
9856
  fadeOut?: number;
9857
+ /**
9858
+ * Stop reason reported by playback events.
9859
+ */
9860
+ reason?: AnimationStopReason;
9861
+ };
9862
+ /** @public */
9863
+ type AnimationPlaybackState = 'scheduled' | 'playing' | 'paused' | 'stopping' | 'stopped' | 'completed';
9864
+ /** @public */
9865
+ type AnimationStopReason = 'manual' | 'interrupted' | 'completed' | 'deleted' | 'replaced';
9866
+ /** @public */
9867
+ type AnimationPlaybackEvent = {
9868
+ playback: AnimationPlayback;
9869
+ animationSet: AnimationSet;
9870
+ clip: AnimationClip;
9871
+ time: number;
9872
+ normalizedTime: number;
9873
+ };
9874
+ /** @public */
9875
+ type AnimationMarkerEvent = AnimationPlaybackEvent & {
9876
+ marker: AnimationMarker;
9877
+ direction: 1 | -1;
9774
9878
  };
9775
9879
  /** @public */
9880
+ type AnimationFrameEvent = AnimationPlaybackEvent & {
9881
+ frame: number;
9882
+ };
9883
+ /** @public */
9884
+ type AnimationPlaybackStopEvent = AnimationPlaybackEvent & {
9885
+ reason: AnimationStopReason;
9886
+ };
9887
+ /** @public */
9888
+ type AnimationPlaybackEventMap = {
9889
+ start: [event: AnimationPlaybackEvent];
9890
+ loop: [event: AnimationPlaybackEvent];
9891
+ marker: [event: AnimationMarkerEvent];
9892
+ frame: [event: AnimationFrameEvent];
9893
+ complete: [event: AnimationPlaybackEvent];
9894
+ stop: [event: AnimationPlaybackStopEvent];
9895
+ pause: [event: AnimationPlaybackEvent];
9896
+ resume: [event: AnimationPlaybackEvent];
9897
+ };
9898
+ /** @public */
9899
+ type AnimationSetEventMap = {
9900
+ playbackstart: [event: AnimationPlaybackEvent];
9901
+ playbackloop: [event: AnimationPlaybackEvent];
9902
+ marker: [event: AnimationMarkerEvent];
9903
+ frame: [event: AnimationFrameEvent];
9904
+ playbackcomplete: [event: AnimationPlaybackEvent];
9905
+ playbackstop: [event: AnimationPlaybackStopEvent];
9906
+ playbackpause: [event: AnimationPlaybackEvent];
9907
+ playbackresume: [event: AnimationPlaybackEvent];
9908
+ };
9909
+ /**
9910
+ * Runtime handle for one playback of an AnimationClip.
9911
+ * @public
9912
+ */
9913
+ declare class AnimationPlayback extends Observable<AnimationPlaybackEventMap> {
9914
+ constructor(animationSet: AnimationSet, clip: AnimationClip, options?: PlayAnimationOptions);
9915
+ get id(): string;
9916
+ get animationSet(): AnimationSet;
9917
+ get clip(): AnimationClip;
9918
+ get state(): AnimationPlaybackState;
9919
+ get time(): number;
9920
+ set time(value: number);
9921
+ get normalizedTime(): number;
9922
+ set normalizedTime(value: number);
9923
+ get weight(): number;
9924
+ set weight(value: number);
9925
+ get speedRatio(): number;
9926
+ set speedRatio(value: number);
9927
+ get layer(): string;
9928
+ get priority(): number;
9929
+ get interruptible(): boolean;
9930
+ play(): this;
9931
+ pause(): this;
9932
+ resume(): this;
9933
+ stop(options?: StopAnimationOptions): this;
9934
+ seek(time: number, options?: {
9935
+ emitEvents?: boolean;
9936
+ apply?: boolean;
9937
+ }): this;
9938
+ fadeTo(weight: number, duration: number): this;
9939
+ crossFadeTo(name: string, options?: PlayAnimationOptions & {
9940
+ duration?: number;
9941
+ }): AnimationPlayback | null;
9942
+ waitForComplete(): Promise<this>;
9943
+ waitForMarker(idOrName: string): Promise<AnimationMarkerEvent | undefined>;
9944
+ waitForFrame(frame: number): Promise<AnimationFrameEvent | undefined>;
9945
+ }
9946
+ /** @public */
9776
9947
  type HumanoidRootMotionMode = 'scaled' | 'copy' | 'locked' | 'none';
9777
9948
  /** @public */
9778
9949
  type HumanoidRootMotionScaleMode = 'legLength' | 'none' | number;
@@ -9811,6 +9982,286 @@ type CopyHumanoidAnimationOptions = {
9811
9982
  */
9812
9983
  jointTranslations?: 'skip' | 'preserve';
9813
9984
  };
9985
+ declare const AnimationSet_base: (new (...args: any[]) => {
9986
+ _listeners: Nullable<{
9987
+ playbackstart?: {
9988
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
9989
+ dispose: [];
9990
+ }, "playbackstart">;
9991
+ options: _zephyr3d_base.REventHandlerOptions;
9992
+ removed: boolean;
9993
+ }[] | undefined;
9994
+ playbackloop?: {
9995
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
9996
+ dispose: [];
9997
+ }, "playbackloop">;
9998
+ options: _zephyr3d_base.REventHandlerOptions;
9999
+ removed: boolean;
10000
+ }[] | undefined;
10001
+ marker?: {
10002
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10003
+ dispose: [];
10004
+ }, "marker">;
10005
+ options: _zephyr3d_base.REventHandlerOptions;
10006
+ removed: boolean;
10007
+ }[] | undefined;
10008
+ frame?: {
10009
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10010
+ dispose: [];
10011
+ }, "frame">;
10012
+ options: _zephyr3d_base.REventHandlerOptions;
10013
+ removed: boolean;
10014
+ }[] | undefined;
10015
+ playbackcomplete?: {
10016
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10017
+ dispose: [];
10018
+ }, "playbackcomplete">;
10019
+ options: _zephyr3d_base.REventHandlerOptions;
10020
+ removed: boolean;
10021
+ }[] | undefined;
10022
+ playbackstop?: {
10023
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10024
+ dispose: [];
10025
+ }, "playbackstop">;
10026
+ options: _zephyr3d_base.REventHandlerOptions;
10027
+ removed: boolean;
10028
+ }[] | undefined;
10029
+ playbackpause?: {
10030
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10031
+ dispose: [];
10032
+ }, "playbackpause">;
10033
+ options: _zephyr3d_base.REventHandlerOptions;
10034
+ removed: boolean;
10035
+ }[] | undefined;
10036
+ playbackresume?: {
10037
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10038
+ dispose: [];
10039
+ }, "playbackresume">;
10040
+ options: _zephyr3d_base.REventHandlerOptions;
10041
+ removed: boolean;
10042
+ }[] | undefined;
10043
+ dispose?: {
10044
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10045
+ dispose: [];
10046
+ }, "dispose">;
10047
+ options: _zephyr3d_base.REventHandlerOptions;
10048
+ removed: boolean;
10049
+ }[] | undefined;
10050
+ }>;
10051
+ on<K extends "dispose" | keyof AnimationSetEventMap>(type: K, listener: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10052
+ dispose: [];
10053
+ }, K>, context?: unknown): void;
10054
+ once<K extends "dispose" | keyof AnimationSetEventMap>(type: K, listener: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10055
+ dispose: [];
10056
+ }, K>, context?: unknown): void;
10057
+ off<K extends "dispose" | keyof AnimationSetEventMap>(type: K, listener: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10058
+ dispose: [];
10059
+ }, K>, context?: unknown): void;
10060
+ dispatchEvent<K extends "dispose" | keyof AnimationSetEventMap>(type: K, ...args: (AnimationSetEventMap & {
10061
+ dispose: [];
10062
+ })[K]): void;
10063
+ _internalAddEventListener<K extends "dispose" | keyof AnimationSetEventMap>(listenerMap: Nullable<{
10064
+ playbackstart?: {
10065
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10066
+ dispose: [];
10067
+ }, "playbackstart">;
10068
+ options: _zephyr3d_base.REventHandlerOptions;
10069
+ removed: boolean;
10070
+ }[] | undefined;
10071
+ playbackloop?: {
10072
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10073
+ dispose: [];
10074
+ }, "playbackloop">;
10075
+ options: _zephyr3d_base.REventHandlerOptions;
10076
+ removed: boolean;
10077
+ }[] | undefined;
10078
+ marker?: {
10079
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10080
+ dispose: [];
10081
+ }, "marker">;
10082
+ options: _zephyr3d_base.REventHandlerOptions;
10083
+ removed: boolean;
10084
+ }[] | undefined;
10085
+ frame?: {
10086
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10087
+ dispose: [];
10088
+ }, "frame">;
10089
+ options: _zephyr3d_base.REventHandlerOptions;
10090
+ removed: boolean;
10091
+ }[] | undefined;
10092
+ playbackcomplete?: {
10093
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10094
+ dispose: [];
10095
+ }, "playbackcomplete">;
10096
+ options: _zephyr3d_base.REventHandlerOptions;
10097
+ removed: boolean;
10098
+ }[] | undefined;
10099
+ playbackstop?: {
10100
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10101
+ dispose: [];
10102
+ }, "playbackstop">;
10103
+ options: _zephyr3d_base.REventHandlerOptions;
10104
+ removed: boolean;
10105
+ }[] | undefined;
10106
+ playbackpause?: {
10107
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10108
+ dispose: [];
10109
+ }, "playbackpause">;
10110
+ options: _zephyr3d_base.REventHandlerOptions;
10111
+ removed: boolean;
10112
+ }[] | undefined;
10113
+ playbackresume?: {
10114
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10115
+ dispose: [];
10116
+ }, "playbackresume">;
10117
+ options: _zephyr3d_base.REventHandlerOptions;
10118
+ removed: boolean;
10119
+ }[] | undefined;
10120
+ dispose?: {
10121
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10122
+ dispose: [];
10123
+ }, "dispose">;
10124
+ options: _zephyr3d_base.REventHandlerOptions;
10125
+ removed: boolean;
10126
+ }[] | undefined;
10127
+ }>, type: K, listener: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10128
+ dispose: [];
10129
+ }, K>, options: _zephyr3d_base.REventHandlerOptions): Nullable<{
10130
+ playbackstart?: {
10131
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10132
+ dispose: [];
10133
+ }, "playbackstart">;
10134
+ options: _zephyr3d_base.REventHandlerOptions;
10135
+ removed: boolean;
10136
+ }[] | undefined;
10137
+ playbackloop?: {
10138
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10139
+ dispose: [];
10140
+ }, "playbackloop">;
10141
+ options: _zephyr3d_base.REventHandlerOptions;
10142
+ removed: boolean;
10143
+ }[] | undefined;
10144
+ marker?: {
10145
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10146
+ dispose: [];
10147
+ }, "marker">;
10148
+ options: _zephyr3d_base.REventHandlerOptions;
10149
+ removed: boolean;
10150
+ }[] | undefined;
10151
+ frame?: {
10152
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10153
+ dispose: [];
10154
+ }, "frame">;
10155
+ options: _zephyr3d_base.REventHandlerOptions;
10156
+ removed: boolean;
10157
+ }[] | undefined;
10158
+ playbackcomplete?: {
10159
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10160
+ dispose: [];
10161
+ }, "playbackcomplete">;
10162
+ options: _zephyr3d_base.REventHandlerOptions;
10163
+ removed: boolean;
10164
+ }[] | undefined;
10165
+ playbackstop?: {
10166
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10167
+ dispose: [];
10168
+ }, "playbackstop">;
10169
+ options: _zephyr3d_base.REventHandlerOptions;
10170
+ removed: boolean;
10171
+ }[] | undefined;
10172
+ playbackpause?: {
10173
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10174
+ dispose: [];
10175
+ }, "playbackpause">;
10176
+ options: _zephyr3d_base.REventHandlerOptions;
10177
+ removed: boolean;
10178
+ }[] | undefined;
10179
+ playbackresume?: {
10180
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10181
+ dispose: [];
10182
+ }, "playbackresume">;
10183
+ options: _zephyr3d_base.REventHandlerOptions;
10184
+ removed: boolean;
10185
+ }[] | undefined;
10186
+ dispose?: {
10187
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10188
+ dispose: [];
10189
+ }, "dispose">;
10190
+ options: _zephyr3d_base.REventHandlerOptions;
10191
+ removed: boolean;
10192
+ }[] | undefined;
10193
+ }>;
10194
+ _internalRemoveEventListener<K extends "dispose" | keyof AnimationSetEventMap>(listenerMap: Nullable<{
10195
+ playbackstart?: {
10196
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10197
+ dispose: [];
10198
+ }, "playbackstart">;
10199
+ options: _zephyr3d_base.REventHandlerOptions;
10200
+ removed: boolean;
10201
+ }[] | undefined;
10202
+ playbackloop?: {
10203
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10204
+ dispose: [];
10205
+ }, "playbackloop">;
10206
+ options: _zephyr3d_base.REventHandlerOptions;
10207
+ removed: boolean;
10208
+ }[] | undefined;
10209
+ marker?: {
10210
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10211
+ dispose: [];
10212
+ }, "marker">;
10213
+ options: _zephyr3d_base.REventHandlerOptions;
10214
+ removed: boolean;
10215
+ }[] | undefined;
10216
+ frame?: {
10217
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10218
+ dispose: [];
10219
+ }, "frame">;
10220
+ options: _zephyr3d_base.REventHandlerOptions;
10221
+ removed: boolean;
10222
+ }[] | undefined;
10223
+ playbackcomplete?: {
10224
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10225
+ dispose: [];
10226
+ }, "playbackcomplete">;
10227
+ options: _zephyr3d_base.REventHandlerOptions;
10228
+ removed: boolean;
10229
+ }[] | undefined;
10230
+ playbackstop?: {
10231
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10232
+ dispose: [];
10233
+ }, "playbackstop">;
10234
+ options: _zephyr3d_base.REventHandlerOptions;
10235
+ removed: boolean;
10236
+ }[] | undefined;
10237
+ playbackpause?: {
10238
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10239
+ dispose: [];
10240
+ }, "playbackpause">;
10241
+ options: _zephyr3d_base.REventHandlerOptions;
10242
+ removed: boolean;
10243
+ }[] | undefined;
10244
+ playbackresume?: {
10245
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10246
+ dispose: [];
10247
+ }, "playbackresume">;
10248
+ options: _zephyr3d_base.REventHandlerOptions;
10249
+ removed: boolean;
10250
+ }[] | undefined;
10251
+ dispose?: {
10252
+ handler: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10253
+ dispose: [];
10254
+ }, "dispose">;
10255
+ options: _zephyr3d_base.REventHandlerOptions;
10256
+ removed: boolean;
10257
+ }[] | undefined;
10258
+ }>, type: K, listener: _zephyr3d_base.EventListener<AnimationSetEventMap & {
10259
+ dispose: [];
10260
+ }, K>, context: unknown): void;
10261
+ _invokeLocalListeners<K extends "dispose" | keyof AnimationSetEventMap>(type: "dispose" | keyof AnimationSetEventMap, ...args: (AnimationSetEventMap & {
10262
+ dispose: [];
10263
+ })[K]): void;
10264
+ }) & typeof Disposable;
9814
10265
  /**
9815
10266
  * Animation set
9816
10267
  *
@@ -9831,7 +10282,7 @@ type CopyHumanoidAnimationOptions = {
9831
10282
  *
9832
10283
  * @public
9833
10284
  */
9834
- declare class AnimationSet extends Disposable implements IDisposable {
10285
+ declare class AnimationSet extends AnimationSet_base implements IDisposable {
9835
10286
  /**
9836
10287
  * Create an AnimationSet controlling the provided model.
9837
10288
  *
@@ -9927,6 +10378,22 @@ declare class AnimationSet extends Disposable implements IDisposable {
9927
10378
  * @param weight - New weight value used during blending.
9928
10379
  */
9929
10380
  setAnimationWeight(name: string, weight: number): void;
10381
+ /**
10382
+ * Create a playback handle without starting it.
10383
+ */
10384
+ createPlayback(name: string, options?: PlayAnimationOptions): AnimationPlayback | null;
10385
+ /**
10386
+ * Start an animation and return its playback handle.
10387
+ */
10388
+ play(name: string, options?: PlayAnimationOptions): AnimationPlayback | null;
10389
+ /**
10390
+ * Get currently active playbacks.
10391
+ */
10392
+ getPlaybacks(name?: string): AnimationPlayback[];
10393
+ /**
10394
+ * Get the currently active playback for a clip.
10395
+ */
10396
+ getPlayback(name: string): AnimationPlayback | null;
9930
10397
  /**
9931
10398
  * Start (or update) playback of an animation clip.
9932
10399
  *
@@ -9939,6 +10406,18 @@ declare class AnimationSet extends Disposable implements IDisposable {
9939
10406
  * @param options - Playback options (repeat, speedRatio, fadeIn).
9940
10407
  */
9941
10408
  playAnimation(name: string, options?: PlayAnimationOptions): void;
10409
+ private resolvePlaybackSyncSource;
10410
+ private resolveActivePlayback;
10411
+ private computePlaybackInitialTime;
10412
+ private getPlaybackEffectiveRange;
10413
+ private constrainPlaybackTime;
10414
+ private createPlaybackEvent;
10415
+ private completePlayback;
10416
+ private emitCrossedMarkers;
10417
+ private emitCrossedFrames;
10418
+ private getCrossedMarkers;
10419
+ private crossedForward;
10420
+ private crossedBackward;
9942
10421
  /**
9943
10422
  * Stop playback of an animation clip.
9944
10423
  *
@@ -10119,6 +10598,39 @@ declare abstract class AnimationTrack<StateType = unknown> {
10119
10598
  abstract getDuration(): number;
10120
10599
  }
10121
10600
 
10601
+ /**
10602
+ * A serializable reference to a point on an animation clip timeline.
10603
+ * @public
10604
+ */
10605
+ type AnimationTimeRef = number | {
10606
+ time: number;
10607
+ } | {
10608
+ frame: number;
10609
+ fps?: number;
10610
+ } | {
10611
+ marker: string;
10612
+ };
10613
+ /**
10614
+ * Timeline marker metadata stored on an animation clip.
10615
+ *
10616
+ * Markers are data, not callbacks. Runtime systems may dispatch events when a
10617
+ * playback cursor crosses the marker.
10618
+ * @public
10619
+ */
10620
+ type AnimationMarker = {
10621
+ /** Stable marker id for editor and blueprint references. */
10622
+ id?: string;
10623
+ /** Display/event name. */
10624
+ name: string;
10625
+ /** Marker time in seconds. */
10626
+ time?: number;
10627
+ /** Marker frame. Converted with `fps` or the owning clip's `frameRate`. */
10628
+ frame?: number;
10629
+ /** Optional frame rate used for `frame` conversion. */
10630
+ fps?: number;
10631
+ /** Serializable user payload. */
10632
+ payload?: unknown;
10633
+ };
10122
10634
  /**
10123
10635
  * Animation clip
10124
10636
  *
@@ -10179,12 +10691,44 @@ declare class AnimationClip extends Disposable {
10179
10691
  get skeletons(): Set<string>;
10180
10692
  set skeletons(val: Set<string>);
10181
10693
  /**
10182
- * Total time span of the clip in seconds.
10183
- *
10184
- * Automatically extended when adding tracks with longer duration.
10694
+ * Default frame rate used to convert frame-based marker references.
10695
+ */
10696
+ get frameRate(): number;
10697
+ set frameRate(val: number);
10698
+ /**
10699
+ * Timeline markers stored on this clip.
10700
+ */
10701
+ get markers(): AnimationMarker[];
10702
+ /**
10703
+ * Total time span of the clip in seconds.
10704
+ *
10705
+ * Automatically extended when adding tracks with longer duration.
10185
10706
  */
10186
10707
  get timeDuration(): number;
10187
10708
  set timeDuration(val: number);
10709
+ /**
10710
+ * Add a serializable marker to this clip.
10711
+ *
10712
+ * @param marker - Marker metadata. If `id` is omitted, `name` is used as the id.
10713
+ * @returns The normalized marker.
10714
+ */
10715
+ addMarker(marker: AnimationMarker): AnimationMarker | null;
10716
+ /**
10717
+ * Remove markers matching the marker id or name.
10718
+ */
10719
+ removeMarker(idOrName: string): boolean;
10720
+ /**
10721
+ * Get the first marker matching the marker id or name.
10722
+ */
10723
+ getMarker(idOrName: string): AnimationMarker | null;
10724
+ /**
10725
+ * Resolve a marker to seconds on this clip's timeline.
10726
+ */
10727
+ resolveMarkerTime(marker: AnimationMarker): number | null;
10728
+ /**
10729
+ * Resolve a time reference to seconds on this clip's timeline.
10730
+ */
10731
+ resolveTimeRef(ref: AnimationTimeRef | null | undefined): number | null;
10188
10732
  /**
10189
10733
  * Add a skeleton used by this clip.
10190
10734
  *
@@ -10219,6 +10763,722 @@ declare class AnimationClip extends Disposable {
10219
10763
  addTrack(target: object, track: AnimationTrack): this;
10220
10764
  }
10221
10765
 
10766
+ /**
10767
+ * How a response disposes of the timeline's currently active playbacks/steps.
10768
+ * - `'stop'` (default): stop the active steps before running the response.
10769
+ * - `'keep'`: leave the active steps running; the response runs concurrently.
10770
+ * - `{ fadeOut }`: stop the active steps with a fade-out.
10771
+ * @public
10772
+ */
10773
+ type AnimationTimelineActiveDisposition = 'stop' | 'keep' | {
10774
+ fadeOut: number;
10775
+ };
10776
+ /**
10777
+ * Return target for controller state-transition responses.
10778
+ *
10779
+ * - `true`: return to the state that was active before the transition.
10780
+ * - `string`: return to the named state.
10781
+ *
10782
+ * Only {@link AnimationController} state responses can perform the return; bare timeline runners
10783
+ * report state-transition targets as unhandled so the controller can act on them.
10784
+ * @public
10785
+ */
10786
+ type AnimationTimelineStateReturnTarget = true | string;
10787
+ /**
10788
+ * What a response does when its event fires. Exactly one variant applies.
10789
+ * @public
10790
+ */
10791
+ type AnimationTimelineEventTarget = {
10792
+ /** Steps to run when the event is handled. */
10793
+ steps: AnimationTimelineStep[];
10794
+ /** Not used for step targets; keeps this union variant mutually exclusive. */
10795
+ targetState?: undefined;
10796
+ /** Not used for step targets; keeps this union variant mutually exclusive. */
10797
+ returnTo?: undefined;
10798
+ /** Not used for step targets; keeps this union variant mutually exclusive. */
10799
+ returnTransition?: undefined;
10800
+ /** Not used for step targets; keeps this union variant mutually exclusive. */
10801
+ consume?: undefined;
10802
+ /** Not used for step targets; keeps this union variant mutually exclusive. */
10803
+ ignore?: undefined;
10804
+ } | {
10805
+ /** Controller state name to transition to. */
10806
+ targetState: string;
10807
+ /**
10808
+ * Optional state to enter when `targetState` completes.
10809
+ *
10810
+ * Use `true` to return to the state active before the transition, or a string to return to
10811
+ * a specific named state. This is only applied by {@link AnimationController}.
10812
+ */
10813
+ returnTo?: AnimationTimelineStateReturnTarget;
10814
+ /**
10815
+ * Optional transition duration used when returning from `targetState`.
10816
+ *
10817
+ * If omitted, the return state's own transition setting is used.
10818
+ */
10819
+ returnTransition?: number;
10820
+ /** Not used for state-transition targets; keeps this union variant mutually exclusive. */
10821
+ steps?: undefined;
10822
+ /** Not used for state-transition targets; keeps this union variant mutually exclusive. */
10823
+ consume?: undefined;
10824
+ /** Not used for state-transition targets; keeps this union variant mutually exclusive. */
10825
+ ignore?: undefined;
10826
+ } | {
10827
+ /** Consume the event without starting steps or changing state. */
10828
+ consume: true;
10829
+ /** Not used for consume targets; keeps this union variant mutually exclusive. */
10830
+ steps?: undefined;
10831
+ /** Not used for consume targets; keeps this union variant mutually exclusive. */
10832
+ targetState?: undefined;
10833
+ /** Not used for consume targets; keeps this union variant mutually exclusive. */
10834
+ returnTo?: undefined;
10835
+ /** Not used for consume targets; keeps this union variant mutually exclusive. */
10836
+ returnTransition?: undefined;
10837
+ /** Not used for consume targets; keeps this union variant mutually exclusive. */
10838
+ ignore?: undefined;
10839
+ } | {
10840
+ /** Explicitly ignore the event. */
10841
+ ignore: true;
10842
+ /** Not used for ignore targets; keeps this union variant mutually exclusive. */
10843
+ steps?: undefined;
10844
+ /** Not used for ignore targets; keeps this union variant mutually exclusive. */
10845
+ targetState?: undefined;
10846
+ /** Not used for ignore targets; keeps this union variant mutually exclusive. */
10847
+ returnTo?: undefined;
10848
+ /** Not used for ignore targets; keeps this union variant mutually exclusive. */
10849
+ returnTransition?: undefined;
10850
+ /** Not used for ignore targets; keeps this union variant mutually exclusive. */
10851
+ consume?: undefined;
10852
+ };
10853
+ /**
10854
+ * Resolved kind of action a dispatched event produced.
10855
+ * @public
10856
+ */
10857
+ type AnimationTimelineEventPolicy = 'none' | 'ignore' | 'consume' | 'steps' | 'enqueue' | 'transition';
10858
+ /**
10859
+ * Result returned when a timeline or controller dispatches an event.
10860
+ * @public
10861
+ */
10862
+ type AnimationTimelineEventResult = {
10863
+ /**
10864
+ * Whether the event was consumed, converted into steps, enqueued, or accepted as a transition.
10865
+ */
10866
+ handled: boolean;
10867
+ /**
10868
+ * The action selected for the event.
10869
+ */
10870
+ policy: AnimationTimelineEventPolicy;
10871
+ /**
10872
+ * Dispatched event name.
10873
+ */
10874
+ event: string;
10875
+ /**
10876
+ * Optional payload supplied by the caller.
10877
+ */
10878
+ payload?: unknown;
10879
+ };
10880
+ /**
10881
+ * A reaction to a gameplay event, declared on a timeline or a controller state.
10882
+ *
10883
+ * The model is orthogonal: `target` says *what* to do, `onActive` says what happens to the
10884
+ * currently running steps, and `enqueue` defers `steps` instead of running them immediately.
10885
+ * @public
10886
+ */
10887
+ type AnimationTimelineEventResponse = {
10888
+ /**
10889
+ * Event name this response handles.
10890
+ */
10891
+ event: string;
10892
+ /** What the event does. */
10893
+ target: AnimationTimelineEventTarget;
10894
+ /**
10895
+ * Disposition of the currently active steps. Defaults to `'stop'`.
10896
+ * Use `'keep'` with `target.steps` to run the new steps concurrently (true parallel branch).
10897
+ * Ignored for `consume`/`ignore` targets.
10898
+ */
10899
+ onActive?: AnimationTimelineActiveDisposition;
10900
+ /**
10901
+ * When `true` and `target.steps` is set, the steps are appended to the queue and run after the
10902
+ * current steps drain, instead of replacing/joining them. `onActive` is ignored.
10903
+ */
10904
+ enqueue?: boolean;
10905
+ };
10906
+ /**
10907
+ * One executable instruction in an animation timeline.
10908
+ * @public
10909
+ */
10910
+ type AnimationTimelineStep = {
10911
+ /** Start an animation clip playback. */
10912
+ type: 'play';
10913
+ /** Name of the animation clip to play from the owning AnimationSet. */
10914
+ clip: string;
10915
+ /**
10916
+ * Optional local reference id used by later `target` fields in this runner.
10917
+ *
10918
+ * If a later step replaces the same logical playback and future responses should keep using
10919
+ * this name, assign the same id again on the replacement `play` step.
10920
+ */
10921
+ id?: string;
10922
+ /** Playback options passed to `AnimationSet.play`. */
10923
+ options?: PlayAnimationOptions;
10924
+ /**
10925
+ * Whether to block the timeline on this playback before advancing to the next step.
10926
+ * - `'complete'`: wait until the playback completes or is stopped.
10927
+ * - `false` or omitted (default): start the playback and immediately continue.
10928
+ *
10929
+ * A clip that loops forever (`repeat: 0`) only completes when stopped, so combine
10930
+ * `wait: 'complete'` with a finite `repeat`/`range` or an external stop.
10931
+ */
10932
+ wait?: 'complete' | false;
10933
+ } | {
10934
+ /** Stop a playback owned by this runner. */
10935
+ type: 'stop';
10936
+ /**
10937
+ * Optional playback target id.
10938
+ *
10939
+ * When omitted, all playbacks owned by the current runner are stopped.
10940
+ */
10941
+ target?: string;
10942
+ /** Stop behavior passed to the matching playback or playbacks. */
10943
+ options?: StopAnimationOptions;
10944
+ } | {
10945
+ /** Wait for a fixed duration. */
10946
+ type: 'wait';
10947
+ /** Number of seconds to wait before continuing. */
10948
+ seconds: number;
10949
+ } | {
10950
+ /** Wait until a matching event is dispatched to the runner. */
10951
+ type: 'waitEvent';
10952
+ /** Event name that releases the wait. */
10953
+ event: string;
10954
+ } | {
10955
+ /** Wait until a playback crosses a marker. */
10956
+ type: 'waitMarker';
10957
+ /** Marker id or name to wait for. */
10958
+ marker: string;
10959
+ /** Optional playback target id; defaults to the current playback in scope. */
10960
+ target?: string;
10961
+ } | {
10962
+ /** Wait until a playback crosses a frame number. */
10963
+ type: 'waitFrame';
10964
+ /** Frame number to wait for. */
10965
+ frame: number;
10966
+ /** Optional playback target id; defaults to the current playback in scope. */
10967
+ target?: string;
10968
+ } | {
10969
+ /** Emit a timeline event through the runner. */
10970
+ type: 'emit';
10971
+ /** Event name emitted to runner listeners. */
10972
+ event: string;
10973
+ /** Optional payload emitted with the event. */
10974
+ payload?: unknown;
10975
+ } | {
10976
+ /** Execute child steps sequentially. */
10977
+ type: 'sequence';
10978
+ /** Child steps run in order. */
10979
+ steps: AnimationTimelineStep[];
10980
+ } | {
10981
+ /** Execute child steps as parallel branches. */
10982
+ type: 'parallel';
10983
+ /** Child steps that become isolated parallel branches. */
10984
+ steps: AnimationTimelineStep[];
10985
+ };
10986
+ /**
10987
+ * Serializable timeline definition.
10988
+ * @public
10989
+ */
10990
+ type AnimationTimelineDefinition = {
10991
+ /**
10992
+ * Root sequence of timeline steps.
10993
+ */
10994
+ steps: AnimationTimelineStep[];
10995
+ /**
10996
+ * Optional responses evaluated when dispatched events are not consumed by waiters.
10997
+ */
10998
+ responses?: AnimationTimelineEventResponse[];
10999
+ };
11000
+ /**
11001
+ * Event map emitted by {@link AnimationTimelineRunner}.
11002
+ * @public
11003
+ */
11004
+ type AnimationTimelineRunnerEventMap = {
11005
+ /**
11006
+ * Emitted when the runner drains all main, concurrent, and queued work.
11007
+ */
11008
+ complete: [runner: AnimationTimelineRunner];
11009
+ /**
11010
+ * Emitted when an active runner is explicitly stopped.
11011
+ */
11012
+ stop: [runner: AnimationTimelineRunner];
11013
+ /**
11014
+ * Emitted by an `emit` timeline step.
11015
+ */
11016
+ emit: [event: string, payload: unknown];
11017
+ };
11018
+ /**
11019
+ * Serializable snapshot of a runner's runtime state.
11020
+ *
11021
+ * References to playbacks are by id; restoring playbacks themselves is the caller's
11022
+ * responsibility (replay should re-create the active playbacks before deserializing).
11023
+ * @public
11024
+ */
11025
+ type AnimationTimelineRunnerState = {
11026
+ /**
11027
+ * Serialized main control-flow stack.
11028
+ */
11029
+ stack: SerializedFrame[];
11030
+ /**
11031
+ * Serialized concurrent branches started with `keep` responses.
11032
+ */
11033
+ concurrent: SerializedFrame[];
11034
+ /**
11035
+ * Queued step batches waiting for the main stack to drain.
11036
+ */
11037
+ queued: AnimationTimelineStep[][];
11038
+ /** Ids of playbacks owned by concurrent (keep-active) branches that have already drained. */
11039
+ concurrentPlaybackIds: string[];
11040
+ /**
11041
+ * Runner-level playback references preserved after the frame that created them has drained.
11042
+ */
11043
+ playbackRefs?: Record<string, string>;
11044
+ /**
11045
+ * Whether the runner was stopped when the state was captured.
11046
+ */
11047
+ stopped: boolean;
11048
+ };
11049
+ /**
11050
+ * A scope tracks the "current playback" and named refs for a sequence of steps. Parallel branches
11051
+ * each own an isolated scope so their `waitMarker`/`waitFrame` resolve deterministically.
11052
+ *
11053
+ * `owner` records whether the scope belongs to the main control flow or a concurrent (keep-active)
11054
+ * branch, so a main-flow replacement does not stop the independent concurrent tracks.
11055
+ */
11056
+ type FrameScope = {
11057
+ currentPlaybackId: string | null;
11058
+ refs: Record<string, string>;
11059
+ owner: 'main' | 'concurrent';
11060
+ };
11061
+ type SeqFrame = {
11062
+ kind: 'seq';
11063
+ steps: AnimationTimelineStep[];
11064
+ index: number;
11065
+ scope: FrameScope;
11066
+ child: TimelineFrame | null;
11067
+ };
11068
+ type ParallelFrame = {
11069
+ kind: 'parallel';
11070
+ branches: TimelineFrame[];
11071
+ };
11072
+ type WaitFrame = {
11073
+ kind: 'wait';
11074
+ remaining: number;
11075
+ };
11076
+ type WaitEventFrame = {
11077
+ kind: 'waitEvent';
11078
+ event: string;
11079
+ };
11080
+ type WaitMarkerFrame = {
11081
+ kind: 'waitMarker';
11082
+ marker: string;
11083
+ playbackId: string | null;
11084
+ satisfied: boolean;
11085
+ };
11086
+ type WaitFrameFrame = {
11087
+ kind: 'waitFrame';
11088
+ frame: number;
11089
+ playbackId: string | null;
11090
+ satisfied: boolean;
11091
+ };
11092
+ type PlayWaitFrame = {
11093
+ kind: 'playWait';
11094
+ playbackId: string;
11095
+ };
11096
+ type TimelineFrame = SeqFrame | ParallelFrame | WaitFrame | WaitEventFrame | WaitMarkerFrame | WaitFrameFrame | PlayWaitFrame;
11097
+ /** Plain-data form of a frame (no live playback references), used by serialize/deserialize. */
11098
+ type SerializedFrame = TimelineFrame;
11099
+ /**
11100
+ * Serializable animation timeline definition.
11101
+ * @public
11102
+ */
11103
+ declare class AnimationTimeline {
11104
+ /**
11105
+ * Root step sequence executed by runners created from this timeline.
11106
+ */
11107
+ readonly steps: AnimationTimelineStep[];
11108
+ /**
11109
+ * Event responses declared on this timeline.
11110
+ */
11111
+ readonly responses: AnimationTimelineEventResponse[];
11112
+ /**
11113
+ * Create a timeline from a definition object or a root step array.
11114
+ *
11115
+ * @param definition - Timeline definition, or a shorthand array used as the root steps.
11116
+ */
11117
+ constructor(definition: AnimationTimelineDefinition | AnimationTimelineStep[]);
11118
+ /**
11119
+ * Create a runtime runner for this timeline.
11120
+ *
11121
+ * @param animationSet - Animation set used to create and update playbacks.
11122
+ * @returns A new stopped runner bound to this timeline and animation set.
11123
+ */
11124
+ createRunner(animationSet: AnimationSet): AnimationTimelineRunner;
11125
+ }
11126
+ /**
11127
+ * Runtime interpreter for an AnimationTimeline.
11128
+ *
11129
+ * The interpreter is a synchronous frame-stack state machine advanced by {@link AnimationTimelineRunner.tick}, which is
11130
+ * driven by `AnimationSet.update(dt)` on the same logical clock as the animations. There is no
11131
+ * `async`/`await` in the control flow, so the runtime state can be serialized and replayed.
11132
+ * @public
11133
+ */
11134
+ declare class AnimationTimelineRunner extends Observable<AnimationTimelineRunnerEventMap> {
11135
+ /**
11136
+ * Animation set used to start, stop, and query animation playbacks.
11137
+ */
11138
+ readonly animationSet: AnimationSet;
11139
+ /**
11140
+ * Timeline definition interpreted by this runner.
11141
+ */
11142
+ readonly timeline: AnimationTimeline;
11143
+ private _stack;
11144
+ private _concurrent;
11145
+ private readonly _queued;
11146
+ private _pendingEvents;
11147
+ private _stopped;
11148
+ private _ticking;
11149
+ private _lastCompletedPlaybackId;
11150
+ private readonly _onTick;
11151
+ /** Tracks playbacks created by this runner so `stop()` can tear them down. */
11152
+ private readonly _ownedPlaybacks;
11153
+ /** Local playback refs that survive after the sequence frame that declared them drains. */
11154
+ private readonly _playbackRefs;
11155
+ /** Ids of playbacks owned by concurrent (keep-active) branches; preserved across main-flow stops. */
11156
+ private readonly _concurrentPlaybackIds;
11157
+ /** Marker/frame crossings observed since the last tick, keyed by playback id. */
11158
+ private readonly _crossedMarkers;
11159
+ private readonly _crossedFrames;
11160
+ /**
11161
+ * Create a stopped runner for a timeline.
11162
+ *
11163
+ * @param animationSet - Animation set that owns clips and playbacks referenced by the timeline.
11164
+ * @param timeline - Timeline definition to interpret.
11165
+ */
11166
+ constructor(animationSet: AnimationSet, timeline: AnimationTimeline);
11167
+ /**
11168
+ * Playback currently referenced by the active main-flow scope.
11169
+ *
11170
+ * @returns The current playback, or null when the main flow has no active playback reference.
11171
+ */
11172
+ get currentPlayback(): AnimationPlayback | null;
11173
+ /**
11174
+ * Whether this runner is stopped.
11175
+ *
11176
+ * @returns True when the runner is stopped; otherwise false.
11177
+ */
11178
+ get stopped(): boolean;
11179
+ /**
11180
+ * Playback id for the most recent playback that completed naturally.
11181
+ *
11182
+ * @returns The playback id, or null when no owned playback has completed.
11183
+ */
11184
+ get lastCompletedPlaybackId(): string | null;
11185
+ /**
11186
+ * Start or restart the runner from the beginning of the timeline.
11187
+ *
11188
+ * @returns This runner for chaining.
11189
+ */
11190
+ start(): this;
11191
+ /**
11192
+ * Stop the runner and all playbacks it owns.
11193
+ *
11194
+ * @param options - Optional stop behavior applied to owned playbacks.
11195
+ * @returns This runner for chaining.
11196
+ */
11197
+ stop(options?: StopAnimationOptions): this;
11198
+ /**
11199
+ * Append a batch of steps to run after the main stack drains.
11200
+ *
11201
+ * If the runner has already completed, enqueueing steps revives it and registers it for ticking.
11202
+ *
11203
+ * @param steps - Steps to run as the next queued batch.
11204
+ * @returns void
11205
+ */
11206
+ enqueue(steps: AnimationTimelineStep[]): void;
11207
+ /**
11208
+ * Run `steps` concurrently with the current control flow (a true parallel branch). Unlike
11209
+ * {@link AnimationTimelineRunner.enqueue}, these do not wait for the main stack to drain.
11210
+ *
11211
+ * @param steps - Steps to run immediately in an independent concurrent branch.
11212
+ * @returns void
11213
+ * @public
11214
+ */
11215
+ runConcurrent(steps: AnimationTimelineStep[]): void;
11216
+ /**
11217
+ * Dispatch an event to this runner.
11218
+ *
11219
+ * Waiting `waitEvent` frames consume matching events first. If no waiter consumes the event,
11220
+ * the timeline response table is evaluated.
11221
+ *
11222
+ * @param event - Event name to dispatch.
11223
+ * @param payload - Optional payload returned in the result.
11224
+ * @returns The resolved handling result for the event.
11225
+ */
11226
+ dispatch(event: string, payload?: unknown): AnimationTimelineEventResult;
11227
+ /**
11228
+ * Run pending non-blocking work synchronously (a zero-delta tick), without advancing any
11229
+ * time-based waits. Lets `start()`/`dispatch()` take effect immediately while keeping all
11230
+ * runtime state in the serializable frame stack.
11231
+ *
11232
+ * @returns This runner for chaining.
11233
+ * @public
11234
+ */
11235
+ flush(): this;
11236
+ /**
11237
+ * Advance the timeline by `deltaInSeconds`. Called by `AnimationSet.update`.
11238
+ *
11239
+ * @param deltaInSeconds - Elapsed time in seconds for this tick.
11240
+ * @returns void
11241
+ * @public
11242
+ */
11243
+ tick(deltaInSeconds: number): void;
11244
+ /**
11245
+ * Export the runtime state as plain data.
11246
+ *
11247
+ * @returns A serializable snapshot of the runner state.
11248
+ * @public
11249
+ */
11250
+ serialize(): AnimationTimelineRunnerState;
11251
+ /**
11252
+ * Restore runtime state previously produced by {@link AnimationTimelineRunner.serialize}.
11253
+ *
11254
+ * Re-create the relevant active playbacks on the AnimationSet before calling this so that
11255
+ * playback-bound frames (play-wait, waitMarker, waitFrame) can re-attach by id.
11256
+ *
11257
+ * @param animationSet - Animation set containing any live playbacks referenced by the state.
11258
+ * @param timeline - Timeline definition to bind to the restored runner.
11259
+ * @param state - Serialized state previously returned by {@link AnimationTimelineRunner.serialize}.
11260
+ * @returns A runner restored to the supplied runtime state.
11261
+ * @public
11262
+ */
11263
+ static deserialize(animationSet: AnimationSet, timeline: AnimationTimeline, state: AnimationTimelineRunnerState): AnimationTimelineRunner;
11264
+ private ensureTicking;
11265
+ private makeSeqFrame;
11266
+ /** The scope of the innermost active sequence on the main stack (for currentPlayback). */
11267
+ private activeScope;
11268
+ private deepestScope;
11269
+ /**
11270
+ * Advance a frame stack in place. The top frame runs until it blocks or completes; completed
11271
+ * frames pop and the parent sequence advances. Returns when the stack blocks or empties.
11272
+ */
11273
+ private tickFrames;
11274
+ /**
11275
+ * Same as {@link AnimationTimelineRunner.tickFrames} but returns the time left unconsumed when the stack drains
11276
+ * completely (so a parent sequence can hand it to its next step).
11277
+ */
11278
+ private tickFramesWithLeftover;
11279
+ private tickFrame;
11280
+ private tickSeq;
11281
+ private tickParallel;
11282
+ /**
11283
+ * Execute a non-blocking step immediately and return null, or return a frame to block on.
11284
+ */
11285
+ private beginStep;
11286
+ private resolvePlayOptions;
11287
+ private resolvePlaybackRef;
11288
+ private tickWaitMarker;
11289
+ private tickWaitFrame;
11290
+ private tickPlayWait;
11291
+ private attachPlayback;
11292
+ private detachPlayback;
11293
+ private forgetPlayback;
11294
+ /**
11295
+ * Cleanup when an owned playback ends (externally or naturally). Only touches runner-local
11296
+ * bookkeeping, so it is safe to run inside `AnimationSet.update`'s playback loop. Frames blocked
11297
+ * on this playback observe its absence on the next tick and unblock.
11298
+ */
11299
+ private readonly onPlaybackEnd;
11300
+ private readonly onPlaybackComplete;
11301
+ private readonly onPlaybackMarker;
11302
+ private readonly onPlaybackFrame;
11303
+ private resolvePlayback;
11304
+ private forgetPlaybackRefs;
11305
+ private scopeCurrentPlayback;
11306
+ private hasWaiterFor;
11307
+ /** Stop only the main control flow (used when a response replaces it). */
11308
+ private stopMainFlow;
11309
+ private collectScopePlaybackIds;
11310
+ private cloneFrame;
11311
+ private reattachPlaybacks;
11312
+ private collectAllPlaybackIds;
11313
+ private findLivePlayback;
11314
+ }
11315
+
11316
+ /**
11317
+ * Definition of a named animation controller state.
11318
+ * @public
11319
+ */
11320
+ type AnimationControllerStateDefinition = {
11321
+ /**
11322
+ * Timeline executed when the controller enters this state.
11323
+ */
11324
+ timeline: AnimationTimelineDefinition;
11325
+ /**
11326
+ * Optional state-local responses evaluated after the active timeline does not handle a
11327
+ * dispatched event.
11328
+ */
11329
+ responses?: AnimationTimelineEventResponse[];
11330
+ /**
11331
+ * Default cross-fade duration (seconds) applied when transitioning *into* this state.
11332
+ * The outgoing state fades out and this state's first `play` step fades in over this time.
11333
+ */
11334
+ transition?: number;
11335
+ };
11336
+ /**
11337
+ * Options used when switching the controller to another state.
11338
+ * @public
11339
+ */
11340
+ type AnimationControllerSetStateOptions = {
11341
+ /** Cross-fade duration (seconds). Overrides the target state's own `transition`. */
11342
+ transition?: number;
11343
+ /**
11344
+ * Optional phase synchronization source applied to entry play steps that do not already define
11345
+ * their own `options.sync`.
11346
+ */
11347
+ sync?: AnimationPlaybackSyncOptions;
11348
+ /** Re-enter the state even if it is already current. Defaults to false (no-op on same state). */
11349
+ force?: boolean;
11350
+ /** Stop options for the outgoing state when no cross-fade is used. */
11351
+ stop?: StopAnimationOptions;
11352
+ /**
11353
+ * Optional state to enter when the target state completes.
11354
+ *
11355
+ * Use `true` to return to the state active before this transition, or a string to return to a
11356
+ * specific named state.
11357
+ */
11358
+ returnTo?: AnimationTimelineStateReturnTarget;
11359
+ /**
11360
+ * Optional transition duration used when returning from the target state.
11361
+ *
11362
+ * If omitted, the return state's own transition setting is used.
11363
+ */
11364
+ returnTransition?: number;
11365
+ };
11366
+ /**
11367
+ * Event map emitted by {@link AnimationController}.
11368
+ * @public
11369
+ */
11370
+ type AnimationControllerEventMap = {
11371
+ /**
11372
+ * Emitted after the current state changes.
11373
+ *
11374
+ * The first argument is the new state name, or null when stopped. The second argument is the
11375
+ * previous state name, or null when there was no previous state.
11376
+ */
11377
+ statechange: [state: string | null, previousState: string | null];
11378
+ /**
11379
+ * Emitted when the active state's timeline runner drains all main, concurrent, and queued work.
11380
+ */
11381
+ statecomplete: [state: string];
11382
+ /** Forwarded from the active state's timeline runner, so listeners need not rebind per state. */
11383
+ emit: [event: string, payload: unknown];
11384
+ /**
11385
+ * Emitted for every call to {@link AnimationController.dispatch} with the resolved event result.
11386
+ */
11387
+ event: [event: string, payload: unknown, result: AnimationTimelineEventResult];
11388
+ };
11389
+ /**
11390
+ * Event-driven animation state controller.
11391
+ *
11392
+ * Each state owns one serializable timeline. External gameplay events are dispatched to the
11393
+ * current timeline first, then to the current state's response table, so different states can
11394
+ * respond to the same event differently.
11395
+ * @public
11396
+ */
11397
+ declare class AnimationController extends Observable<AnimationControllerEventMap> {
11398
+ /**
11399
+ * Animation set used to create playbacks for all state timelines.
11400
+ */
11401
+ readonly animationSet: AnimationSet;
11402
+ private readonly _states;
11403
+ private _currentState;
11404
+ private _runner;
11405
+ private _onRunnerComplete;
11406
+ private _onRunnerEmit;
11407
+ /**
11408
+ * Create a controller for an animation set.
11409
+ *
11410
+ * @param animationSet - Animation set that owns the clips and active playbacks.
11411
+ */
11412
+ constructor(animationSet: AnimationSet);
11413
+ /**
11414
+ * Current state name.
11415
+ *
11416
+ * @returns The active state name, or null when the controller is stopped or has not entered a state.
11417
+ */
11418
+ get currentState(): string | null;
11419
+ /**
11420
+ * Current timeline runner.
11421
+ *
11422
+ * @returns The active timeline runner, or null when no state is running.
11423
+ */
11424
+ get runner(): AnimationTimelineRunner | null;
11425
+ /**
11426
+ * Register or replace a named state definition.
11427
+ *
11428
+ * @param name - Unique state name.
11429
+ * @param definition - Timeline and event response configuration for the state.
11430
+ * @returns This controller for chaining.
11431
+ */
11432
+ addState(name: string, definition: AnimationControllerStateDefinition): this;
11433
+ /**
11434
+ * Test whether a state has been registered.
11435
+ *
11436
+ * @param name - State name to look up.
11437
+ * @returns True if the controller contains a state with the given name; otherwise false.
11438
+ */
11439
+ hasState(name: string): boolean;
11440
+ /**
11441
+ * Enter a registered state.
11442
+ *
11443
+ * If the requested state is already current and `options.force` is not set, this returns the
11444
+ * existing runner without restarting the timeline. When a transition duration is provided, the
11445
+ * previous runner fades out while the entry plays of the new state fade in.
11446
+ *
11447
+ * @param name - State name to enter.
11448
+ * @param options - Optional transition, re-entry, and stop behavior.
11449
+ * @returns The active runner for the entered state, or null if the state does not exist.
11450
+ */
11451
+ setState(name: string, options?: AnimationControllerSetStateOptions): AnimationTimelineRunner | null;
11452
+ /**
11453
+ * Dispatch a gameplay event to the active state.
11454
+ *
11455
+ * The active timeline receives the event first. If it does not handle the event, the current
11456
+ * state's response table may consume it, enqueue or run steps, or transition to another state.
11457
+ *
11458
+ * @param event - Event name to dispatch.
11459
+ * @param payload - Optional event payload passed through result notifications.
11460
+ * @returns The resolved handling result for the event.
11461
+ */
11462
+ dispatch(event: string, payload?: unknown): AnimationTimelineEventResult;
11463
+ /**
11464
+ * Stop the active state and clear the current state.
11465
+ *
11466
+ * @param options - Optional stop behavior applied to playbacks owned by the active runner.
11467
+ * @returns void
11468
+ */
11469
+ stop(options?: StopAnimationOptions): void;
11470
+ /**
11471
+ * Stop playback and remove all registered states.
11472
+ *
11473
+ * @returns void
11474
+ */
11475
+ dispose(): void;
11476
+ private emitResult;
11477
+ private resolveReturnTarget;
11478
+ private attachRunner;
11479
+ private detachRunner;
11480
+ }
11481
+
10222
11482
  /**
10223
11483
  * Translate animation track
10224
11484
  * @public
@@ -18040,7 +19300,7 @@ declare class InputManager {
18040
19300
  *
18041
19301
  * Modes:
18042
19302
  * - Editor mode (`editorMode === true`): local script graphs are bundled to data URLs.
18043
- * - Runtime mode (`editorMode === false`): returns .js URLs directly (with .ts -\> .js mapping).
19303
+ * - Runtime mode (`editorMode === false`): returns .js/.mjs URLs directly (with .ts -\> .js mapping).
18044
19304
  *
18045
19305
  * Caching:
18046
19306
  * - Built bundles are memoized in `_built` map keyed by canonical source path.
@@ -18083,8 +19343,8 @@ declare class ScriptRegistry {
18083
19343
  * Fetches raw source for a logical module id by probing known extensions.
18084
19344
  *
18085
19345
  * Search order:
18086
- * - If `id` already ends with `.ts` or `.js` and is a file -\> return it.
18087
- * - Else try `.id.ts`, then `.id.js`.
19346
+ * - If `id` already ends with `.ts`, `.js`, or `.mjs` and is a file -\> return it.
19347
+ * - Else try `.id.ts`, then `.id.js`, then `.id.mjs`.
18088
19348
  *
18089
19349
  * @param id - Logical module identifier (absolute or logical path-like).
18090
19350
  * @returns Source code, resolved path, and type (`'js' | 'ts'`), or `undefined` if not found.
@@ -18099,8 +19359,9 @@ declare class ScriptRegistry {
18099
19359
  *
18100
19360
  * Behavior:
18101
19361
  * - In editor mode, builds the module to a data URL.
18102
- * - Otherwise, returns `.js` URL directly:
19362
+ * - Otherwise, returns `.js` or `.mjs` URL directly:
18103
19363
  * - If `id` ends with `.js`: return as-is.
19364
+ * - If `id` ends with `.mjs`: return as-is.
18104
19365
  * - If `id` ends with `.ts`: map to `.js` (assumes pre-built file exists).
18105
19366
  * - Else: append `.js`.
18106
19367
  *
@@ -26387,4 +27648,4 @@ declare const ATMOSPHERIC_FOG_BIT: number;
26387
27648
  */
26388
27649
  declare const HEIGHT_FOG_BIT: number;
26389
27650
 
26390
- export { AABBTree, ABufferOIT, ATMOSPHERIC_FOG_BIT, AbsNode, AbstractPostEffect, AllConditionNode, type AngleLimitConfig, AnimationClip, AnimationSet, AnimationTrack, AnyConditionNode, type AppCreationOptions, type AppOptions, Application, type ApplyResultOutput, ArcCosNode, ArcSinNode, ArcTan2Node, ArcTanNode, ArccosineHNode, ArcsineHNode, ArctangentHNode, type AssetAnimationData, type AssetAnimationTrack, type AssetFixedGeometryCacheAnimationTrack, type AssetGeometryCacheAnimationTrack, type AssetGeometryCacheFrame, AssetHierarchyNode, type AssetImageInfo, type AssetJointDynamicsChain, type AssetJointDynamicsCollider, type AssetJointDynamicsFlatPlane, type AssetJointDynamicsSpringBone, type AssetMToonMaterial, AssetManager, type AssetMaterial, type AssetMaterialClearcoat, type AssetMaterialCommon, type AssetMaterialIridescence, type AssetMaterialSheen, type AssetMaterialTransmission, type AssetMeshData, type AssetMorphTargetBinding, type AssetMorphTargetGroup, type AssetPBRMaterialCommon, type AssetPBRMaterialMR, type AssetPBRMaterialSG, type AssetPCAGeometryCacheAnimationTrack, type AssetPrimitiveInfo, type AssetRotationTrack, type AssetSamplerInfo, type AssetScaleTrack, AssetScene, type AssetSkeletalAnimationTrack, AssetSkeleton, type AssetSpringBone, type AssetSpringBoneCollider, type AssetSpringBoneColliderGroup, type AssetSpringBoneColliderShape, type AssetSpringBoneJoint, type AssetSubMeshData, type AssetTextureInfo, type AssetTranslationTrack, type AssetUnlitMaterial, type AssetVertexBufferInfo, type AvatarBindMode, type AvatarBodyRegionTarget, type AvatarBodyRegions, type AvatarEquipOptions, type AvatarFitMode, type AvatarJointMap, AvatarOutfitInstance, type AvatarOutfitSource, type AvatarOutfitValidation, type AvatarSlotId, type AvatarSlotOptions, AvatarWardrobe, type AvatarWardrobeOptions, BUILTIN_ASSET_TEST_CUBEMAP, BUILTIN_ASSET_TEXTURE_SHEEN_LUT, BaseCameraController, type BaseFetchOptions, BaseGraphNode, BaseLight, BaseSprite, BaseTextureNode, type BatchDrawable, BatchGroup, BillboardMatrixNode, type BlendMode, BlinnMaterial, type BlitType, Blitter, Bloom, type BluePrintEditorState, type BluePrintUniformTexture, type BluePrintUniformValue, type BlueprintDAG, type BoneNode, BoundingBox, type BoundingVolume, type BoxCreationOptions, BoxFilterBlitter, BoxFrameShape, BoxShape, CCDSolver, type CachedBindGroup, Camera, type CameraHistoryData, CameraNearFarNode, type CameraOITMode, CameraPositionNode, CameraVectorNode, type CapsuleCollider, type CapsuleCreationOptions, CapsuleShape, CeilNode, ClampNode, ClipmapTerrain, ClipmapTerrainMaterial, ColliderForce, type ColliderR, type ColliderRW, type CollisionResult, ColorAdjust, type ColoredEdge, type ColoredLineEdge, type ColoredQuadraticEdge, CompAddNode, CompComparisonNode, CompDivNode, CompMulNode, CompSubNode, type ComparisonMode, Compositor, type CompositorContext, ConstantBVec2Node, ConstantBVec3Node, ConstantBVec4Node, ConstantBooleanNode, ConstantScalarNode, ConstantTexture2DArrayNode, ConstantTexture2DNode, ConstantTextureCubeNode, ConstantVec2Node, ConstantVec3Node, ConstantVec4Node, type Constraint, type ConstraintBuildOptions, ConstraintType, type ControllerConfig, type ControllerConfigUpdate, CopyBlitter, type CopyHumanoidAnimationOptions, CosHNode, CosNode, CrossProductNode, CubemapSHProjector, CullVisitor, type CylinderCreationOptions, CylinderShape, DDXNode, DDYNode, Degrees2RadiansNode, DepthPass, DirectionalLight, DistanceNode, DotProductNode, DracoMeshDecoder, type DrawContext, type Drawable, type DrawableInstanceInfo, EPSILON, type EdgeColor, type EditorMode, ElapsedTimeNode, type EmitterBehavior, type EmitterShape, Engine, EnvConstantAmbient, EnvHemisphericAmbient, type EnvLightType, EnvLightWrapper, EnvShIBL, Environment, EnvironmentLighting, EqualNode, Exp2Node, ExpNode, type ExtractMixinReturnType, type ExtractMixinType, FABRIKSolver, FBMWaveGenerator, FFTWaveGenerator, FPSCameraController, type FPSCameraControllerOptions, FWidthNode, FXAA, FaceForwardNode, type FixedGeometryCacheFrame, type FixedGeometryCacheState, FixedGeometryCacheTrack, type FlatPlane, FloorNode, FmaNode, type FogType, FontAsset, type FontAssetFetchOptions, type FontAssetMSDFAtlasSettings, type FontMetrics, FractNode, FunctionCallNode, FunctionInputNode, FunctionOutputNode, GPUClothSystem, type GPUClothSystemOptions, type GPUClothWrapBindingData, type GPUClothWrapBindingTarget, GaussianBlurBlitter, GenericMathNode, type GeometryCacheFrame, type GeometryCacheMeshBinding, type GeometryCacheState, GerstnerWaveGenerator, type GlyphContour, type GlyphData, type GlyphPoint, type GrabberR, type GrabberRW, GraphNode, type GraphNodeInput, type GraphNodeOutput, type GraphStructure, type GrassInstanceInfo, GrassLayer, GrassMaterial, GrassRenderer, Grayscale, HEIGHT_FOG_BIT, Hash1Node, Hash2Node, Hash3Node, HistoryResourceManager, type Host, HumanoidBodyRig, HumanoidHandRig, type HumanoidJointMapping, type HumanoidRetargetAxisLocks, type HumanoidRootMotionMode, type HumanoidRootMotionScaleMode, type HumanoidSkeletalAnimationMaskOptions, type HumanoidSkeletalAnimationMaskPreset, type IAttachedScript, type IBaseEvent, type IControllerKeyboardEvent, type IControllerKeydownEvent, type IControllerKeypressEvent, type IControllerKeyupEvent, type IControllerMouseEvent, type IControllerPointerCancelEvent, type IControllerPointerDownEvent, type IControllerPointerMoveEvent, type IControllerPointerUpEvent, type IControllerWheelEvent, type IGraphNode, IKAngleConstraint, IKChain, IKConstraint, type IKJoint, IKModifier, IKSolver, type IMixinAlbedoColor, type IMixinBlinnPhong, type IMixinFoliage, type IMixinLambert, type IMixinLight, type IMixinPBRBluePrint, type IMixinPBRCommon, type IMixinPBRMetallicRoughness, type IMixinPBRSpecularGlossiness, type IMixinVertexColor, type IModKey, type IRUniformTexture, type IRUniformValue, type IRenderHook, type IRenderable, type InputEventHandler, InputManager, InstanceBindGroupAllocator, type InstanceData, InstanceIndexNode, type InstanceUniformType, type InterChainConstraint, InvProjMatrixNode, InvSqrtNode, InvViewProjMatrixNode, type JointChainConfig, type JointDynamicSystemConfig, type JointDynamicsColliderHandle, type JointDynamicsColliderSnapshot, type JointDynamicsFlatPlaneHandle, type JointDynamicsFlatPlaneSnapshot, type JointDynamicsGrabberHandle, type JointDynamicsGrabberSnapshot, JointDynamicsModifier, JointDynamicsSystem, JointDynamicsSystemController, type JointNameMatcher, LIGHT_TYPE_DIRECTIONAL, LIGHT_TYPE_NONE, LIGHT_TYPE_POINT, LIGHT_TYPE_RECT, LIGHT_TYPE_SPOT, LambertMaterial, LengthNode, type LineCollisionResult, Log2Node, type LogMode, LogNode, LogicallyAndNode, LogicallyOrNode, MAX_CLUSTERED_LIGHTS, MAX_GERSTNER_WAVE_COUNT, MAX_MORPH_ATTRIBUTES, MAX_MORPH_TARGETS, MAX_TERRAIN_MIPMAP_LEVELS, MORPH_ATTRIBUTE_VECTOR_COUNT, MORPH_TARGET_COLOR, MORPH_TARGET_NORMAL, MORPH_TARGET_POSITION, MORPH_TARGET_TANGENT, MORPH_TARGET_TEX0, MORPH_TARGET_TEX1, MORPH_TARGET_TEX2, MORPH_TARGET_TEX3, MORPH_WEIGHTS_VECTOR_COUNT, type MSDFBitmap, type MSDFOptions, type MSDFShape, MSDFText, MSDFTextAtlasManager, MSDFTextSprite, MToonMaterial, type MToonOutlineWidthMode, MakeVectorNode, Material, MaterialBlueprintIR, type MaterialBlueprintIRBehaviors, type MaterialTextureInfo, MaterialVaryingFlags, MaxNode, Mesh$1 as Mesh, MeshMaterial, type MeshUpdateCallback, type Metadata$1 as Metadata, MinNode, MixNode, ModNode, type ModelFetchOptions, type ModelInfo, type ModelLoader, type MorphBoundingInfo, type MorphData, type MorphInfo, type MorphState, MorphTargetTrack, MultiChainSpringSystem, type MultiChainSpringSystemOptions, type NamedJointsSkeletalAnimationMaskOptions, NamedObject, type NearestPointsResult, type NodeConnection, NodeEulerRotationTrack, type NodeIterateFunc, NodeRotationTrack, NodeScaleTrack, NodeTranslationTrack, NormalizeNode, NotEqualNode, type OIT, Octree, OctreeNode, OctreeNodeChunk, OctreePlacement, OrbitCameraController, type OrbitCameraControllerOptions, OrthoCamera, PBRBlockNode, PBRBluePrintMaterial, type PBRBlueprintOutputName, PBRMetallicRoughnessMaterial, type PBRReflectionMode, PBRSpecularGlossinessMaterial, type PCAGeometryCacheState, PCAGeometryCacheTrack, type PCAGeometryCacheTrackData, type PairAdjustment, PannerNode, ParticleMaterial, ParticleSystem, PerlinNoise2DNode, PerspectiveCamera, type PhysicsCurves, type PickResult, type PickTarget, PixelNormalNode, PixelWorldPositionNode, type PlaneCollider, type PlaneCreationOptions, PlaneShape, type PlayAnimationOptions, type PointInit, PointLight, type PointR, type PointRW, type PointTransform, PostEffectLayer, PowNode, Primitive, ProjectionMatrixNode, type PropEdit, type PropertyAccessor, type PropertyAccessorOptions, type PropertySceneNodeOptions, type PropertyToType, PropertyTrack, type PropertyType, type PropertyValue, PunctualLight, QUEUE_OPAQUE, QUEUE_TRANSPARENT, RENDER_PASS_TYPE_DEPTH, RENDER_PASS_TYPE_LIGHT, RENDER_PASS_TYPE_OBJECT_COLOR, RENDER_PASS_TYPE_SHADOWMAP, Radians2DegreesNode, RaycastVisitor, RectLight, ReflectNode, RefractNode, type RenderFunc, type RenderItemList, type RenderItemListBundle, type RenderItemListInfo, RenderPass, type RenderPath, RenderQueue, type RenderQueueItem, type RenderQueueRef, RenderTarget, type ResolutionTransform, ResolveVertexNormalNode, ResolveVertexPositionNode, ResolveVertexTangentNode, ResourceManager, RotateAboutAxisNode, RuntimeScript, type RuntimeScriptArrayDeclaration, type RuntimeScriptArrayElementDeclaration, type RuntimeScriptConfig, type RuntimeScriptObjectDeclaration, type RuntimeScriptObjectFieldDeclaration, type RuntimeScriptPropertyDeclaration, type RuntimeScriptPropertyInfo, type RuntimeScriptPropertyOptions, type RuntimeScriptPropertyType, type RuntimeScriptValueDeclaration, type RuntimeScriptValueType, SAO, type SSSDebugView, type SSSQualityPreset, type SSSResolvedSettings, type SamplerType, SaturateNode, type SaveOptions, Scene, type SceneMorphTargetBinding, type SceneMorphTargetGroup, SceneNode, type SceneNodeVisible, ScreenAdapter, type ScreenConfig, ScreenRenderTarget, type ScreenScaleMode, ScriptAttachment, type ScriptAttachmentConfig, ScriptRegistry, ScriptingSystem, type ScriptingSystemOptions, SelectionNode, type SerializableClass, type SerializedMorphTargetBinding, type SerializedMorphTargetGroup, ShaderHelper, ShadowMapPass, ShadowMapper, type ShadowMode, type ShadowQualityPreset, ShadowRegion, Shape, type ShapeCreationOptions, type ShapeOptionType, type ShapeType, SharedModel, SignNode, SimplexNoise2DNode, type SimulationParams, SinHNode, SinNode, type SkeletalAnimationMaskCommonOptions, type SkeletalAnimationMaskOptions, type SkeletalAnimationMaskRootMotionMode, type SkeletalAnimationMaskUnsupportedTrackMode, Skeleton, type SkeletonBindPose, SkeletonModifier, SkeletonRig, type SkeletonRigOptions, SkinBinding, type SkinnedBoundingBox, SkyEnvTextureNode, SkyRenderer, type SkyType, SmoothStepNode, type SphereCollider, type SphereCreationOptions, SphereShape, SpotLight, SpringChain, type SpringCollider, type SpringConstraint, SpringModifier, type SpringParticle, SpringSystem, type SpringSystemOptions, Sprite, SpriteBlockNode, SpriteBlueprintMaterial, SpriteMaterial, SqrtNode, StandardSpriteMaterial, StepNode, type StopAnimationOptions, SubsurfaceProfile, type SubsurfaceProfilePreset, type SurfaceCheckResult, SwizzleNode, TanHNode, TanNode, type TerrainDebugMode, type TetrahedronCreationOptions, TetrahedronFrameShape, TetrahedronShape, TextSprite, type TextureFetchOptions, type TextureMixinInstanceTypes, type TextureMixinTypes, type TextureProp, type TexturePropUniforms, TextureSampleGrad, TextureSampleNode, type ToMixedTextureType, Tonemap, type TorusCreationOptions, TorusShape, type TransformAccess, TransformNode, type TwistConstraint, TwoBoneIKSolver, UnlitMaterial, VertexBinormalNode, VertexBlockNode, VertexColorNode, VertexIndexNode, VertexNormalNode, VertexOutputNode, VertexPositionNode, VertexTangentNode, VertexUVNode, ViewMatrixNode, ViewProjMatrixNode, type Visitor, Water, type WaveGenerator, WeightedBlendedOIT, applyAngleLimits, applyMaterialMixins, applyResult, applyRuntimeScriptConfig, buildConstraints, buildMSDFShape, buildSurfaceFaces, checkSurfaceCollision, collisionDetection, collisionDetectionCapsule, collisionDetectionSphere, computeMaxDepth, computeNearestPoints, createCapsuleCollider, createGPUClothWrapBindingData, createGeometryCacheState, createPlaneCollider, createSphereCollider, createSpringConstraint, createSpringParticle, createTransformAccess, decode2HalfFromRGBA, decodeFloatFromRGBA, decodeNormalizedFloatFromRGBA, decodeRGBM, defineProps, encode2HalfToRGBA, encodeFloatToRGBA, encodeNormalizedFloatToRGBA, encodeRGBM, ensureGeometryCacheMeshBinding, fetchSampler, gammaToLinear, generateMSDF, getApp, getDevice, getEngine, getInput, getRuntimeScriptProperties, gradient, hash11, hash12, hash13, hash21, hash22, hash23, hash31, hash32, hash33, interleavedGradientNoise, isGPUClothSupported, linearToGamma, mixGeometryCacheBoundingBox, mixinAlbedoColor, mixinBlinnPhong, mixinFoliage, mixinLambert, mixinLight, mixinPBRBluePrint, mixinPBRCommon, mixinPBRMetallicRoughness, mixinPBRSpecularGlossness, mixinTextureProps, mixinVertexColor, noise3D, normalizeRuntimeScriptConfig, normalizeScriptAttachmentConfig, normalizeScriptAttachments, panoramaToCubemap, perlinNoise2D, perlinNoise3D, prefilterCubemap, pushInCollisionDetection, pushInFromCapsule, pushInFromCollider, pushInFromSphere, pushoutFromCapsule, pushoutFromCollider, pushoutFromSphere, resolveCapsuleCollision, resolvePlaneCollision, resolveSphereCollision, restoreGeometryCacheMeshBinding, scriptProp, simulate, smoothNoise3D, sortRootPointsByProximity, temporalResolve, tryGetApp, updateColliderFromNode, valueNoise, whiteNoise, worleyFBM, worleyNoise };
27651
+ export { AABBTree, ABufferOIT, ATMOSPHERIC_FOG_BIT, AbsNode, AbstractPostEffect, AllConditionNode, type AngleLimitConfig, AnimationClip, AnimationController, type AnimationControllerEventMap, type AnimationControllerSetStateOptions, type AnimationControllerStateDefinition, type AnimationFrameEvent, type AnimationMarker, type AnimationMarkerEvent, AnimationPlayback, type AnimationPlaybackEvent, type AnimationPlaybackEventMap, type AnimationPlaybackState, type AnimationPlaybackStopEvent, type AnimationPlaybackSyncMode, type AnimationPlaybackSyncOptions, AnimationSet, type AnimationSetEventMap, type AnimationStopReason, type AnimationTimeRef, AnimationTimeline, type AnimationTimelineActiveDisposition, type AnimationTimelineDefinition, type AnimationTimelineEventPolicy, type AnimationTimelineEventResponse, type AnimationTimelineEventResult, type AnimationTimelineEventTarget, AnimationTimelineRunner, type AnimationTimelineRunnerEventMap, type AnimationTimelineRunnerState, type AnimationTimelineStateReturnTarget, type AnimationTimelineStep, AnimationTrack, AnyConditionNode, type AppCreationOptions, type AppOptions, Application, type ApplyResultOutput, ArcCosNode, ArcSinNode, ArcTan2Node, ArcTanNode, ArccosineHNode, ArcsineHNode, ArctangentHNode, type AssetAnimationData, type AssetAnimationTrack, type AssetFixedGeometryCacheAnimationTrack, type AssetGeometryCacheAnimationTrack, type AssetGeometryCacheFrame, AssetHierarchyNode, type AssetImageInfo, type AssetJointDynamicsChain, type AssetJointDynamicsCollider, type AssetJointDynamicsFlatPlane, type AssetJointDynamicsSpringBone, type AssetMToonMaterial, AssetManager, type AssetMaterial, type AssetMaterialClearcoat, type AssetMaterialCommon, type AssetMaterialIridescence, type AssetMaterialSheen, type AssetMaterialTransmission, type AssetMeshData, type AssetMorphTargetBinding, type AssetMorphTargetGroup, type AssetPBRMaterialCommon, type AssetPBRMaterialMR, type AssetPBRMaterialSG, type AssetPCAGeometryCacheAnimationTrack, type AssetPrimitiveInfo, type AssetRotationTrack, type AssetSamplerInfo, type AssetScaleTrack, AssetScene, type AssetSkeletalAnimationTrack, AssetSkeleton, type AssetSpringBone, type AssetSpringBoneCollider, type AssetSpringBoneColliderGroup, type AssetSpringBoneColliderShape, type AssetSpringBoneJoint, type AssetSubMeshData, type AssetTextureInfo, type AssetTranslationTrack, type AssetUnlitMaterial, type AssetVertexBufferInfo, type AvatarBindMode, type AvatarBodyRegionTarget, type AvatarBodyRegions, type AvatarEquipOptions, type AvatarFitMode, type AvatarJointMap, AvatarOutfitInstance, type AvatarOutfitSource, type AvatarOutfitValidation, type AvatarSlotId, type AvatarSlotOptions, AvatarWardrobe, type AvatarWardrobeOptions, BUILTIN_ASSET_TEST_CUBEMAP, BUILTIN_ASSET_TEXTURE_SHEEN_LUT, BaseCameraController, type BaseFetchOptions, BaseGraphNode, BaseLight, BaseSprite, BaseTextureNode, type BatchDrawable, BatchGroup, BillboardMatrixNode, type BlendMode, BlinnMaterial, type BlitType, Blitter, Bloom, type BluePrintEditorState, type BluePrintUniformTexture, type BluePrintUniformValue, type BlueprintDAG, type BoneNode, BoundingBox, type BoundingVolume, type BoxCreationOptions, BoxFilterBlitter, BoxFrameShape, BoxShape, CCDSolver, type CachedBindGroup, Camera, type CameraHistoryData, CameraNearFarNode, type CameraOITMode, CameraPositionNode, CameraVectorNode, type CapsuleCollider, type CapsuleCreationOptions, CapsuleShape, CeilNode, ClampNode, ClipmapTerrain, ClipmapTerrainMaterial, ColliderForce, type ColliderR, type ColliderRW, type CollisionResult, ColorAdjust, type ColoredEdge, type ColoredLineEdge, type ColoredQuadraticEdge, CompAddNode, CompComparisonNode, CompDivNode, CompMulNode, CompSubNode, type ComparisonMode, Compositor, type CompositorContext, ConstantBVec2Node, ConstantBVec3Node, ConstantBVec4Node, ConstantBooleanNode, ConstantScalarNode, ConstantTexture2DArrayNode, ConstantTexture2DNode, ConstantTextureCubeNode, ConstantVec2Node, ConstantVec3Node, ConstantVec4Node, type Constraint, type ConstraintBuildOptions, ConstraintType, type ControllerConfig, type ControllerConfigUpdate, CopyBlitter, type CopyHumanoidAnimationOptions, CosHNode, CosNode, CrossProductNode, CubemapSHProjector, CullVisitor, type CylinderCreationOptions, CylinderShape, DDXNode, DDYNode, Degrees2RadiansNode, DepthPass, DirectionalLight, DistanceNode, DotProductNode, DracoMeshDecoder, type DrawContext, type Drawable, type DrawableInstanceInfo, EPSILON, type EdgeColor, type EditorMode, ElapsedTimeNode, type EmitterBehavior, type EmitterShape, Engine, EnvConstantAmbient, EnvHemisphericAmbient, type EnvLightType, EnvLightWrapper, EnvShIBL, Environment, EnvironmentLighting, EqualNode, Exp2Node, ExpNode, type ExtractMixinReturnType, type ExtractMixinType, FABRIKSolver, FBMWaveGenerator, FFTWaveGenerator, FPSCameraController, type FPSCameraControllerOptions, FWidthNode, FXAA, FaceForwardNode, type FixedGeometryCacheFrame, type FixedGeometryCacheState, FixedGeometryCacheTrack, type FlatPlane, FloorNode, FmaNode, type FogType, FontAsset, type FontAssetFetchOptions, type FontAssetMSDFAtlasSettings, type FontMetrics, FractNode, FunctionCallNode, FunctionInputNode, FunctionOutputNode, GPUClothSystem, type GPUClothSystemOptions, type GPUClothWrapBindingData, type GPUClothWrapBindingTarget, GaussianBlurBlitter, GenericMathNode, type GeometryCacheFrame, type GeometryCacheMeshBinding, type GeometryCacheState, GerstnerWaveGenerator, type GlyphContour, type GlyphData, type GlyphPoint, type GrabberR, type GrabberRW, GraphNode, type GraphNodeInput, type GraphNodeOutput, type GraphStructure, type GrassInstanceInfo, GrassLayer, GrassMaterial, GrassRenderer, Grayscale, HEIGHT_FOG_BIT, Hash1Node, Hash2Node, Hash3Node, HistoryResourceManager, type Host, HumanoidBodyRig, HumanoidHandRig, type HumanoidJointMapping, type HumanoidRetargetAxisLocks, type HumanoidRootMotionMode, type HumanoidRootMotionScaleMode, type HumanoidSkeletalAnimationMaskOptions, type HumanoidSkeletalAnimationMaskPreset, type IAttachedScript, type IBaseEvent, type IControllerKeyboardEvent, type IControllerKeydownEvent, type IControllerKeypressEvent, type IControllerKeyupEvent, type IControllerMouseEvent, type IControllerPointerCancelEvent, type IControllerPointerDownEvent, type IControllerPointerMoveEvent, type IControllerPointerUpEvent, type IControllerWheelEvent, type IGraphNode, IKAngleConstraint, IKChain, IKConstraint, type IKJoint, IKModifier, IKSolver, type IMixinAlbedoColor, type IMixinBlinnPhong, type IMixinFoliage, type IMixinLambert, type IMixinLight, type IMixinPBRBluePrint, type IMixinPBRCommon, type IMixinPBRMetallicRoughness, type IMixinPBRSpecularGlossiness, type IMixinVertexColor, type IModKey, type IRUniformTexture, type IRUniformValue, type IRenderHook, type IRenderable, type InputEventHandler, InputManager, InstanceBindGroupAllocator, type InstanceData, InstanceIndexNode, type InstanceUniformType, type InterChainConstraint, InvProjMatrixNode, InvSqrtNode, InvViewProjMatrixNode, type JointChainConfig, type JointDynamicSystemConfig, type JointDynamicsColliderHandle, type JointDynamicsColliderSnapshot, type JointDynamicsFlatPlaneHandle, type JointDynamicsFlatPlaneSnapshot, type JointDynamicsGrabberHandle, type JointDynamicsGrabberSnapshot, JointDynamicsModifier, JointDynamicsSystem, JointDynamicsSystemController, type JointNameMatcher, LIGHT_TYPE_DIRECTIONAL, LIGHT_TYPE_NONE, LIGHT_TYPE_POINT, LIGHT_TYPE_RECT, LIGHT_TYPE_SPOT, LambertMaterial, LengthNode, type LineCollisionResult, Log2Node, type LogMode, LogNode, LogicallyAndNode, LogicallyOrNode, MAX_CLUSTERED_LIGHTS, MAX_GERSTNER_WAVE_COUNT, MAX_MORPH_ATTRIBUTES, MAX_MORPH_TARGETS, MAX_TERRAIN_MIPMAP_LEVELS, MORPH_ATTRIBUTE_VECTOR_COUNT, MORPH_TARGET_COLOR, MORPH_TARGET_NORMAL, MORPH_TARGET_POSITION, MORPH_TARGET_TANGENT, MORPH_TARGET_TEX0, MORPH_TARGET_TEX1, MORPH_TARGET_TEX2, MORPH_TARGET_TEX3, MORPH_WEIGHTS_VECTOR_COUNT, type MSDFBitmap, type MSDFOptions, type MSDFShape, MSDFText, MSDFTextAtlasManager, MSDFTextSprite, MToonMaterial, type MToonOutlineWidthMode, MakeVectorNode, Material, MaterialBlueprintIR, type MaterialBlueprintIRBehaviors, type MaterialTextureInfo, MaterialVaryingFlags, MaxNode, Mesh$1 as Mesh, MeshMaterial, type MeshUpdateCallback, type Metadata$1 as Metadata, MinNode, MixNode, ModNode, type ModelFetchOptions, type ModelInfo, type ModelLoader, type MorphBoundingInfo, type MorphData, type MorphInfo, type MorphState, MorphTargetTrack, MultiChainSpringSystem, type MultiChainSpringSystemOptions, type NamedJointsSkeletalAnimationMaskOptions, NamedObject, type NearestPointsResult, type NodeConnection, NodeEulerRotationTrack, type NodeIterateFunc, NodeRotationTrack, NodeScaleTrack, NodeTranslationTrack, NormalizeNode, NotEqualNode, type OIT, Octree, OctreeNode, OctreeNodeChunk, OctreePlacement, OrbitCameraController, type OrbitCameraControllerOptions, OrthoCamera, PBRBlockNode, PBRBluePrintMaterial, type PBRBlueprintOutputName, PBRMetallicRoughnessMaterial, type PBRReflectionMode, PBRSpecularGlossinessMaterial, type PCAGeometryCacheState, PCAGeometryCacheTrack, type PCAGeometryCacheTrackData, type PairAdjustment, PannerNode, ParticleMaterial, ParticleSystem, PerlinNoise2DNode, PerspectiveCamera, type PhysicsCurves, type PickResult, type PickTarget, PixelNormalNode, PixelWorldPositionNode, type PlaneCollider, type PlaneCreationOptions, PlaneShape, type PlayAnimationOptions, type PointInit, PointLight, type PointR, type PointRW, type PointTransform, PostEffectLayer, PowNode, Primitive, ProjectionMatrixNode, type PropEdit, type PropertyAccessor, type PropertyAccessorOptions, type PropertySceneNodeOptions, type PropertyToType, PropertyTrack, type PropertyType, type PropertyValue, PunctualLight, QUEUE_OPAQUE, QUEUE_TRANSPARENT, RENDER_PASS_TYPE_DEPTH, RENDER_PASS_TYPE_LIGHT, RENDER_PASS_TYPE_OBJECT_COLOR, RENDER_PASS_TYPE_SHADOWMAP, Radians2DegreesNode, RaycastVisitor, RectLight, ReflectNode, RefractNode, type RenderFunc, type RenderItemList, type RenderItemListBundle, type RenderItemListInfo, RenderPass, type RenderPath, RenderQueue, type RenderQueueItem, type RenderQueueRef, RenderTarget, type ResolutionTransform, ResolveVertexNormalNode, ResolveVertexPositionNode, ResolveVertexTangentNode, ResourceManager, RotateAboutAxisNode, RuntimeScript, type RuntimeScriptArrayDeclaration, type RuntimeScriptArrayElementDeclaration, type RuntimeScriptConfig, type RuntimeScriptObjectDeclaration, type RuntimeScriptObjectFieldDeclaration, type RuntimeScriptPropertyDeclaration, type RuntimeScriptPropertyInfo, type RuntimeScriptPropertyOptions, type RuntimeScriptPropertyType, type RuntimeScriptValueDeclaration, type RuntimeScriptValueType, SAO, type SSSDebugView, type SSSQualityPreset, type SSSResolvedSettings, type SamplerType, SaturateNode, type SaveOptions, Scene, type SceneMorphTargetBinding, type SceneMorphTargetGroup, SceneNode, type SceneNodeVisible, ScreenAdapter, type ScreenConfig, ScreenRenderTarget, type ScreenScaleMode, ScriptAttachment, type ScriptAttachmentConfig, ScriptRegistry, ScriptingSystem, type ScriptingSystemOptions, SelectionNode, type SerializableClass, type SerializedMorphTargetBinding, type SerializedMorphTargetGroup, ShaderHelper, ShadowMapPass, ShadowMapper, type ShadowMode, type ShadowQualityPreset, ShadowRegion, Shape, type ShapeCreationOptions, type ShapeOptionType, type ShapeType, SharedModel, SignNode, SimplexNoise2DNode, type SimulationParams, SinHNode, SinNode, type SkeletalAnimationMaskCommonOptions, type SkeletalAnimationMaskOptions, type SkeletalAnimationMaskRootMotionMode, type SkeletalAnimationMaskUnsupportedTrackMode, Skeleton, type SkeletonBindPose, SkeletonModifier, SkeletonRig, type SkeletonRigOptions, SkinBinding, type SkinnedBoundingBox, SkyEnvTextureNode, SkyRenderer, type SkyType, SmoothStepNode, type SphereCollider, type SphereCreationOptions, SphereShape, SpotLight, SpringChain, type SpringCollider, type SpringConstraint, SpringModifier, type SpringParticle, SpringSystem, type SpringSystemOptions, Sprite, SpriteBlockNode, SpriteBlueprintMaterial, SpriteMaterial, SqrtNode, StandardSpriteMaterial, StepNode, type StopAnimationOptions, SubsurfaceProfile, type SubsurfaceProfilePreset, type SurfaceCheckResult, SwizzleNode, TanHNode, TanNode, type TerrainDebugMode, type TetrahedronCreationOptions, TetrahedronFrameShape, TetrahedronShape, TextSprite, type TextureFetchOptions, type TextureMixinInstanceTypes, type TextureMixinTypes, type TextureProp, type TexturePropUniforms, TextureSampleGrad, TextureSampleNode, type ToMixedTextureType, Tonemap, type TorusCreationOptions, TorusShape, type TransformAccess, TransformNode, type TwistConstraint, TwoBoneIKSolver, UnlitMaterial, VertexBinormalNode, VertexBlockNode, VertexColorNode, VertexIndexNode, VertexNormalNode, VertexOutputNode, VertexPositionNode, VertexTangentNode, VertexUVNode, ViewMatrixNode, ViewProjMatrixNode, type Visitor, Water, type WaveGenerator, WeightedBlendedOIT, applyAngleLimits, applyMaterialMixins, applyResult, applyRuntimeScriptConfig, buildConstraints, buildMSDFShape, buildSurfaceFaces, checkSurfaceCollision, collisionDetection, collisionDetectionCapsule, collisionDetectionSphere, computeMaxDepth, computeNearestPoints, createCapsuleCollider, createGPUClothWrapBindingData, createGeometryCacheState, createPlaneCollider, createSphereCollider, createSpringConstraint, createSpringParticle, createTransformAccess, decode2HalfFromRGBA, decodeFloatFromRGBA, decodeNormalizedFloatFromRGBA, decodeRGBM, defineProps, encode2HalfToRGBA, encodeFloatToRGBA, encodeNormalizedFloatToRGBA, encodeRGBM, ensureGeometryCacheMeshBinding, fetchSampler, gammaToLinear, generateMSDF, getApp, getDevice, getEngine, getInput, getRuntimeScriptProperties, gradient, hash11, hash12, hash13, hash21, hash22, hash23, hash31, hash32, hash33, interleavedGradientNoise, isGPUClothSupported, linearToGamma, mixGeometryCacheBoundingBox, mixinAlbedoColor, mixinBlinnPhong, mixinFoliage, mixinLambert, mixinLight, mixinPBRBluePrint, mixinPBRCommon, mixinPBRMetallicRoughness, mixinPBRSpecularGlossness, mixinTextureProps, mixinVertexColor, noise3D, normalizeRuntimeScriptConfig, normalizeScriptAttachmentConfig, normalizeScriptAttachments, panoramaToCubemap, perlinNoise2D, perlinNoise3D, prefilterCubemap, pushInCollisionDetection, pushInFromCapsule, pushInFromCollider, pushInFromSphere, pushoutFromCapsule, pushoutFromCollider, pushoutFromSphere, resolveCapsuleCollision, resolvePlaneCollision, resolveSphereCollision, restoreGeometryCacheMeshBinding, scriptProp, simulate, smoothNoise3D, sortRootPointsByProximity, temporalResolve, tryGetApp, updateColliderFromNode, valueNoise, whiteNoise, worleyFBM, worleyNoise };