@needle-tools/engine 4.12.0-beta → 4.12.0-next.0b39d59
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.
- package/CHANGELOG.md +1 -1
- package/components.needle.json +1 -1
- package/dist/{generateMeshBVH.worker-mO20N_b8.js → generateMeshBVH.worker-BvGEI0r7.js} +4 -4
- package/dist/{gltf-progressive-DZrY8VT6.min.js → gltf-progressive-BmSygnAC.min.js} +2 -2
- package/dist/{gltf-progressive-DgYz5BYa.js → gltf-progressive-DnLBuGK5.js} +24 -24
- package/dist/{gltf-progressive-DWcmTMCh.umd.cjs → gltf-progressive-Rs-ojtXy.umd.cjs} +1 -1
- package/dist/{loader.worker-Dip-PthR.js → loader.worker-DWzfDpAl.js} +4 -4
- package/dist/{needle-engine.bundle-DmY4g6s0.umd.cjs → needle-engine.bundle-BZJhFSnI.umd.cjs} +72 -72
- package/dist/{needle-engine.bundle-DBdgyYGK.js → needle-engine.bundle-BktxajaZ.js} +1103 -1163
- package/dist/{needle-engine.bundle-DhdNodjw.min.js → needle-engine.bundle-C6Ko3O_C.min.js} +76 -76
- package/dist/needle-engine.d.ts +101 -34
- package/dist/needle-engine.js +4 -4
- package/dist/needle-engine.min.js +1 -1
- package/dist/needle-engine.umd.cjs +1 -1
- package/dist/{postprocessing-CMgoN5t5.umd.cjs → postprocessing-BWZIqm3N.umd.cjs} +81 -81
- package/dist/{postprocessing-DYDtB188.min.js → postprocessing-BkY94MUG.min.js} +62 -62
- package/dist/{postprocessing-BTW9pD_s.js → postprocessing-CLbPDsD8.js} +588 -570
- package/dist/{three-DfMvBzXi.js → three-BCCkyCA5.js} +1 -7
- package/dist/{three-qj71I7J3.umd.cjs → three-Bf2NBxAw.umd.cjs} +2 -2
- package/dist/{three-B7CT31Bt.min.js → three-W7zWTcfP.min.js} +1 -1
- package/dist/{three-examples-CsW4_6LI.umd.cjs → three-examples-Dho7cuu4.umd.cjs} +4 -4
- package/dist/{three-examples-D1P7eEhn.min.js → three-examples-MsJjauyk.min.js} +10 -10
- package/dist/{three-examples-D1SK93ek.js → three-examples-y2GeYlze.js} +2 -20
- package/dist/{three-mesh-ui-C_uSB5dD.js → three-mesh-ui-3nSSizT4.js} +1 -1
- package/dist/{three-mesh-ui-LQ44s0AL.min.js → three-mesh-ui-CIez6qJQ.min.js} +1 -1
- package/dist/{three-mesh-ui-DpATDXwU.umd.cjs → three-mesh-ui-zsOOA5Pq.umd.cjs} +1 -1
- package/dist/vendor-BiJQtqow.min.js +1116 -0
- package/dist/{vendor-D0zoswDa.js → vendor-C_oHRUjX.js} +2686 -2663
- package/dist/{vendor-UCpFAwt1.umd.cjs → vendor-DN-NsXVB.umd.cjs} +30 -30
- package/lib/engine/codegen/register_types.js +0 -2
- package/lib/engine/codegen/register_types.js.map +1 -1
- package/lib/engine/engine_license.js +3 -9
- package/lib/engine/engine_license.js.map +1 -1
- package/lib/engine/engine_physics_rapier.js +1 -1
- package/lib/engine/engine_physics_rapier.js.map +1 -1
- package/lib/engine/webcomponents/needle-engine.js +1 -1
- package/lib/engine/webcomponents/needle-engine.js.map +1 -1
- package/lib/engine-components/AlignmentConstraint.d.ts +1 -2
- package/lib/engine-components/AlignmentConstraint.js +1 -2
- package/lib/engine-components/AlignmentConstraint.js.map +1 -1
- package/lib/engine-components/Animation.d.ts +2 -0
- package/lib/engine-components/Animation.js +2 -0
- package/lib/engine-components/Animation.js.map +1 -1
- package/lib/engine-components/Animator.d.ts +1 -0
- package/lib/engine-components/Animator.js +1 -0
- package/lib/engine-components/Animator.js.map +1 -1
- package/lib/engine-components/AudioListener.d.ts +1 -1
- package/lib/engine-components/AudioListener.js +1 -1
- package/lib/engine-components/AudioSource.d.ts +1 -1
- package/lib/engine-components/AudioSource.js +1 -1
- package/lib/engine-components/BasicIKConstraint.d.ts +8 -0
- package/lib/engine-components/BasicIKConstraint.js +8 -0
- package/lib/engine-components/BasicIKConstraint.js.map +1 -1
- package/lib/engine-components/BoxHelperComponent.d.ts +1 -0
- package/lib/engine-components/BoxHelperComponent.js +1 -0
- package/lib/engine-components/BoxHelperComponent.js.map +1 -1
- package/lib/engine-components/Camera.d.ts +2 -2
- package/lib/engine-components/Camera.js +2 -2
- package/lib/engine-components/CharacterController.d.ts +6 -2
- package/lib/engine-components/CharacterController.js +6 -2
- package/lib/engine-components/CharacterController.js.map +1 -1
- package/lib/engine-components/Collider.d.ts +2 -2
- package/lib/engine-components/Collider.js +1 -1
- package/lib/engine-components/Collider.js.map +1 -1
- package/lib/engine-components/ContactShadows.d.ts +1 -1
- package/lib/engine-components/ContactShadows.js +1 -1
- package/lib/engine-components/DragControls.js +3 -0
- package/lib/engine-components/DragControls.js.map +1 -1
- package/lib/engine-components/Gizmos.d.ts +2 -0
- package/lib/engine-components/Gizmos.js +2 -0
- package/lib/engine-components/Gizmos.js.map +1 -1
- package/lib/engine-components/Joints.d.ts +20 -0
- package/lib/engine-components/Joints.js +20 -0
- package/lib/engine-components/Joints.js.map +1 -1
- package/lib/engine-components/LODGroup.d.ts +1 -1
- package/lib/engine-components/LODGroup.js +1 -1
- package/lib/engine-components/LookAtConstraint.d.ts +1 -1
- package/lib/engine-components/LookAtConstraint.js +1 -1
- package/lib/engine-components/Networking.d.ts +1 -1
- package/lib/engine-components/Networking.js +1 -1
- package/lib/engine-components/OrbitControls.d.ts +1 -1
- package/lib/engine-components/OrbitControls.js +1 -1
- package/lib/engine-components/Renderer.d.ts +6 -0
- package/lib/engine-components/Renderer.js +6 -0
- package/lib/engine-components/Renderer.js.map +1 -1
- package/lib/engine-components/RendererInstancing.js +5 -3
- package/lib/engine-components/RendererInstancing.js.map +1 -1
- package/lib/engine-components/SceneSwitcher.js +18 -14
- package/lib/engine-components/SceneSwitcher.js.map +1 -1
- package/lib/engine-components/ShadowCatcher.d.ts +1 -1
- package/lib/engine-components/ShadowCatcher.js +1 -1
- package/lib/engine-components/SpectatorCamera.d.ts +1 -1
- package/lib/engine-components/SpectatorCamera.js +1 -1
- package/lib/engine-components/SpriteRenderer.d.ts +2 -1
- package/lib/engine-components/SpriteRenderer.js +2 -1
- package/lib/engine-components/SpriteRenderer.js.map +1 -1
- package/lib/engine-components/Voip.d.ts +1 -1
- package/lib/engine-components/Voip.js +1 -1
- package/lib/engine-components/api.d.ts +1 -0
- package/lib/engine-components/api.js +1 -0
- package/lib/engine-components/api.js.map +1 -1
- package/lib/engine-components/codegen/components.d.ts +0 -1
- package/lib/engine-components/codegen/components.js +0 -1
- package/lib/engine-components/codegen/components.js.map +1 -1
- package/lib/engine-components/export/gltf/GltfExport.d.ts +5 -0
- package/lib/engine-components/export/gltf/GltfExport.js +5 -0
- package/lib/engine-components/export/gltf/GltfExport.js.map +1 -1
- package/lib/engine-components/export/usdz/USDZExporter.d.ts +1 -0
- package/lib/engine-components/export/usdz/USDZExporter.js +1 -0
- package/lib/engine-components/export/usdz/USDZExporter.js.map +1 -1
- package/lib/engine-components/particlesystem/ParticleSystem.d.ts +1 -1
- package/lib/engine-components/particlesystem/ParticleSystem.js +1 -1
- package/lib/engine-components/timeline/SignalAsset.d.ts +1 -1
- package/lib/engine-components/timeline/SignalAsset.js +1 -1
- package/lib/engine-components/ui/Button.d.ts +1 -1
- package/lib/engine-components/ui/Button.js +1 -1
- package/lib/engine-components/ui/Canvas.d.ts +1 -1
- package/lib/engine-components/ui/Canvas.js +1 -1
- package/lib/engine-components/ui/CanvasGroup.d.ts +1 -1
- package/lib/engine-components/ui/CanvasGroup.js +1 -1
- package/lib/engine-components/ui/EventSystem.d.ts +1 -1
- package/lib/engine-components/ui/EventSystem.js +1 -1
- package/lib/engine-components/ui/Image.d.ts +1 -1
- package/lib/engine-components/ui/Image.js +1 -1
- package/lib/engine-components/ui/InputField.d.ts +1 -1
- package/lib/engine-components/ui/InputField.js +1 -1
- package/lib/engine-components/ui/Outline.d.ts +1 -1
- package/lib/engine-components/ui/Outline.js +1 -1
- package/lib/engine-components/ui/Raycaster.d.ts +3 -2
- package/lib/engine-components/ui/Raycaster.js +3 -2
- package/lib/engine-components/ui/Raycaster.js.map +1 -1
- package/lib/engine-components/ui/RectTransform.d.ts +6 -0
- package/lib/engine-components/ui/RectTransform.js +6 -0
- package/lib/engine-components/ui/RectTransform.js.map +1 -1
- package/lib/engine-components/ui/SpatialHtml.d.ts +7 -0
- package/lib/engine-components/ui/SpatialHtml.js +7 -0
- package/lib/engine-components/ui/SpatialHtml.js.map +1 -1
- package/lib/engine-components/ui/Text.d.ts +2 -0
- package/lib/engine-components/ui/Text.js +2 -0
- package/lib/engine-components/ui/Text.js.map +1 -1
- package/lib/engine-components/utils/LookAt.d.ts +2 -1
- package/lib/engine-components/utils/LookAt.js +2 -1
- package/lib/engine-components/utils/LookAt.js.map +1 -1
- package/lib/engine-components/web/CursorFollow.d.ts +1 -1
- package/lib/engine-components/web/CursorFollow.js +1 -1
- package/lib/engine-components/web/HoverAnimation.d.ts +1 -1
- package/lib/engine-components/web/HoverAnimation.js +1 -1
- package/lib/engine-components/web/ViewBox.d.ts +1 -1
- package/lib/engine-components/web/ViewBox.js +1 -1
- package/package.json +4 -4
- package/src/engine/codegen/register_types.ts +0 -2
- package/src/engine/engine_license.ts +3 -8
- package/src/engine/engine_physics_rapier.ts +1 -1
- package/src/engine/webcomponents/needle-engine.ts +2 -2
- package/src/engine-components/AlignmentConstraint.ts +1 -2
- package/src/engine-components/Animation.ts +2 -0
- package/src/engine-components/Animator.ts +1 -0
- package/src/engine-components/AudioListener.ts +1 -1
- package/src/engine-components/AudioSource.ts +1 -1
- package/src/engine-components/BasicIKConstraint.ts +8 -0
- package/src/engine-components/BoxHelperComponent.ts +1 -0
- package/src/engine-components/Camera.ts +2 -2
- package/src/engine-components/CharacterController.ts +6 -2
- package/src/engine-components/Collider.ts +2 -2
- package/src/engine-components/ContactShadows.ts +1 -1
- package/src/engine-components/DragControls.ts +4 -0
- package/src/engine-components/Gizmos.ts +2 -0
- package/src/engine-components/Joints.ts +20 -0
- package/src/engine-components/LODGroup.ts +1 -1
- package/src/engine-components/LookAtConstraint.ts +1 -1
- package/src/engine-components/Networking.ts +1 -1
- package/src/engine-components/OrbitControls.ts +1 -1
- package/src/engine-components/Renderer.ts +6 -0
- package/src/engine-components/RendererInstancing.ts +6 -3
- package/src/engine-components/SceneSwitcher.ts +17 -17
- package/src/engine-components/ShadowCatcher.ts +1 -1
- package/src/engine-components/SpectatorCamera.ts +1 -1
- package/src/engine-components/SpriteRenderer.ts +2 -1
- package/src/engine-components/Voip.ts +1 -1
- package/src/engine-components/api.ts +2 -1
- package/src/engine-components/codegen/components.ts +0 -1
- package/src/engine-components/export/gltf/GltfExport.ts +5 -0
- package/src/engine-components/export/usdz/USDZExporter.ts +1 -0
- package/src/engine-components/particlesystem/ParticleSystem.ts +1 -1
- package/src/engine-components/timeline/SignalAsset.ts +1 -1
- package/src/engine-components/ui/Button.ts +1 -1
- package/src/engine-components/ui/Canvas.ts +1 -1
- package/src/engine-components/ui/CanvasGroup.ts +1 -1
- package/src/engine-components/ui/EventSystem.ts +1 -1
- package/src/engine-components/ui/Image.ts +1 -1
- package/src/engine-components/ui/InputField.ts +1 -1
- package/src/engine-components/ui/Outline.ts +1 -1
- package/src/engine-components/ui/Raycaster.ts +3 -2
- package/src/engine-components/ui/RectTransform.ts +6 -0
- package/src/engine-components/ui/SpatialHtml.ts +7 -0
- package/src/engine-components/ui/Text.ts +2 -0
- package/src/engine-components/utils/LookAt.ts +2 -1
- package/src/engine-components/web/CursorFollow.ts +1 -1
- package/src/engine-components/web/HoverAnimation.ts +1 -1
- package/src/engine-components/web/ViewBox.ts +1 -1
- package/dist/vendor-BKGa4GE0.min.js +0 -1116
package/dist/needle-engine.d.ts
CHANGED
|
@@ -225,9 +225,8 @@ declare type Alignment = "horizontal" | "vertical" | "any";
|
|
|
225
225
|
* You can use this to create dynamic beams or connectors between objects.
|
|
226
226
|
*
|
|
227
227
|
* @summary Aligns and scales the object between two target GameObjects
|
|
228
|
-
* @category
|
|
228
|
+
* @category Constraints
|
|
229
229
|
* @group Components
|
|
230
|
-
|
|
231
230
|
**/
|
|
232
231
|
export declare class AlignmentConstraint extends Component {
|
|
233
232
|
private from;
|
|
@@ -251,6 +250,8 @@ declare type Anchoring = "plane" | "image" | "face" | "none";
|
|
|
251
250
|
|
|
252
251
|
/**
|
|
253
252
|
* Animation component to play animations on a GameObject.
|
|
253
|
+
*
|
|
254
|
+
* @summary Plays animations from AnimationClips
|
|
254
255
|
* @category Animation and Sequencing
|
|
255
256
|
* @group Components
|
|
256
257
|
*/
|
|
@@ -534,6 +535,7 @@ export declare class AnimationUtils {
|
|
|
534
535
|
* It works with an {@link AnimatorController} to handle state transitions and animation blending.
|
|
535
536
|
* A new AnimatorController can be created from code via `AnimatorController.createFromClips`.
|
|
536
537
|
*
|
|
538
|
+
* @summary Plays and manages animations on a GameObject based on an AnimatorController
|
|
537
539
|
* @category Animation and Sequencing
|
|
538
540
|
* @group Components
|
|
539
541
|
*/
|
|
@@ -1210,7 +1212,7 @@ export declare class AudioExtension implements IUSDExporterExtension {
|
|
|
1210
1212
|
* This component creates and manages a Three.js {@link three#AudioListener}, automatically connecting it
|
|
1211
1213
|
* to the main camera or a Camera in the parent hierarchy.
|
|
1212
1214
|
*
|
|
1213
|
-
* @summary
|
|
1215
|
+
* @summary Receives audio in the scene and outputs it to speakers
|
|
1214
1216
|
* @category Multimedia
|
|
1215
1217
|
* @group Components
|
|
1216
1218
|
*/
|
|
@@ -1266,7 +1268,7 @@ declare enum AudioRolloffMode {
|
|
|
1266
1268
|
* is muted, the volume is set to 0. When unmuted, the volume
|
|
1267
1269
|
* returns to its previous value.
|
|
1268
1270
|
*
|
|
1269
|
-
* @summary
|
|
1271
|
+
* @summary Plays audio clips from files or media streams
|
|
1270
1272
|
* @category Multimedia
|
|
1271
1273
|
* @group Components
|
|
1272
1274
|
*/
|
|
@@ -1704,6 +1706,14 @@ export declare class BaseUIComponent extends Component {
|
|
|
1704
1706
|
setInteractable(value: boolean): void;
|
|
1705
1707
|
}
|
|
1706
1708
|
|
|
1709
|
+
/**
|
|
1710
|
+
* BasicIKConstraint positions the GameObject between two target GameObjects (`from` and `to`) with an optional `hint` GameObject to guide the bending direction.
|
|
1711
|
+
* This is useful for simple inverse kinematics setups, such as positioning a joint in a limb.
|
|
1712
|
+
*
|
|
1713
|
+
* @summary Simple Inverse Kinematics Constraint
|
|
1714
|
+
* @category Animation
|
|
1715
|
+
* @group Components
|
|
1716
|
+
*/
|
|
1707
1717
|
export declare class BasicIKConstraint extends Component {
|
|
1708
1718
|
private from;
|
|
1709
1719
|
private to;
|
|
@@ -1912,6 +1922,8 @@ export declare class BoxCollider extends Collider implements IBoxCollider {
|
|
|
1912
1922
|
|
|
1913
1923
|
/**
|
|
1914
1924
|
* BoxGizmo is a component that displays a box around the object in the scene. It can optionally expand to the object's bounds.
|
|
1925
|
+
*
|
|
1926
|
+
* @summary Display a box around the object
|
|
1915
1927
|
* @category Helpers
|
|
1916
1928
|
* @group Components
|
|
1917
1929
|
*/
|
|
@@ -1932,6 +1944,7 @@ export declare class BoxGizmo extends Component {
|
|
|
1932
1944
|
* Debug mode can be enabled with the URL parameter `?debugboxhelper`, which will visualize intersection tests.
|
|
1933
1945
|
* Helper visualization can be enabled with the URL parameter `?gizmos`.
|
|
1934
1946
|
*
|
|
1947
|
+
* @summary Bounding box helper with intersection tests
|
|
1935
1948
|
* @category Helpers
|
|
1936
1949
|
* @group Components
|
|
1937
1950
|
*/
|
|
@@ -1985,7 +1998,7 @@ export declare const builtinComponentKeyName = "builtin_components";
|
|
|
1985
1998
|
* Button is a UI component that can be clicked by the user to perform an action.
|
|
1986
1999
|
* It supports different visual states such as normal, highlighted, pressed, and disabled.
|
|
1987
2000
|
* You can customize the button's appearance using colors or animations for each state.
|
|
1988
|
-
* @summary Button
|
|
2001
|
+
* @summary UI Button that can be clicked to perform actions
|
|
1989
2002
|
* @category User Interface
|
|
1990
2003
|
* @group Components
|
|
1991
2004
|
*/
|
|
@@ -2154,8 +2167,8 @@ export declare class CallInfo {
|
|
|
2154
2167
|
* Supports both perspective and orthographic cameras with various rendering options.
|
|
2155
2168
|
* Internally, this component uses {@link PerspectiveCamera} and {@link OrthographicCamera} three.js objects.
|
|
2156
2169
|
*
|
|
2157
|
-
* @summary
|
|
2158
|
-
* @category Camera
|
|
2170
|
+
* @summary Rendering scenes from a specific viewpoint
|
|
2171
|
+
* @category Camera and Controls
|
|
2159
2172
|
* @group Components
|
|
2160
2173
|
*/
|
|
2161
2174
|
export declare class Camera extends Component implements ICamera {
|
|
@@ -2372,7 +2385,7 @@ export declare class CameraTargetReachedEvent extends CustomEvent<{
|
|
|
2372
2385
|
* It defines the area where UI elements are rendered and manages their layout and rendering settings.
|
|
2373
2386
|
* Canvases can be set to render in world space or screen space (overlay or camera).
|
|
2374
2387
|
* Multiple canvases can exist in a scene, each with its own settings and hierarchy of UI elements.
|
|
2375
|
-
* @summary
|
|
2388
|
+
* @summary Root component for UI elements, managing layout and rendering settings
|
|
2376
2389
|
* @category User Interface
|
|
2377
2390
|
* @group Components
|
|
2378
2391
|
*/
|
|
@@ -2441,7 +2454,7 @@ export declare class Canvas extends UIRootComponent implements ICanvas {
|
|
|
2441
2454
|
* CanvasGroup is a UI component that allows you to control the transparency and interactivity of a group of UI elements.
|
|
2442
2455
|
* By adjusting the alpha property, you can fade in or out all child UI elements simultaneously.
|
|
2443
2456
|
* The interactable and blocksRaycasts properties let you enable or disable user interaction for the entire group.
|
|
2444
|
-
* @summary
|
|
2457
|
+
* @summary Group UI elements to control transparency and interactivity
|
|
2445
2458
|
* @category User Interface
|
|
2446
2459
|
* @group Components
|
|
2447
2460
|
*/
|
|
@@ -2579,8 +2592,12 @@ export declare class CharacterController extends Component {
|
|
|
2579
2592
|
}
|
|
2580
2593
|
|
|
2581
2594
|
/**
|
|
2582
|
-
*
|
|
2583
|
-
*
|
|
2595
|
+
* CharacterControllerInput handles user input to control a CharacterController.
|
|
2596
|
+
* It supports movement, looking around, jumping, and double jumping.
|
|
2597
|
+
* You can customize movement speed, rotation speed, and jump forces.
|
|
2598
|
+
* It also integrates with an Animator component for character animations.
|
|
2599
|
+
* @summary User Input for Character Controller
|
|
2600
|
+
* @category Character
|
|
2584
2601
|
* @group Components
|
|
2585
2602
|
*/
|
|
2586
2603
|
export declare class CharacterControllerInput extends Component {
|
|
@@ -2739,11 +2756,11 @@ export declare type ClipModel = {
|
|
|
2739
2756
|
* - Example: https://samples.needle.tools/physics-playground
|
|
2740
2757
|
* - Example: https://samples.needle.tools/physics-&-animation
|
|
2741
2758
|
*
|
|
2742
|
-
*
|
|
2759
|
+
* @summary Physics collider
|
|
2743
2760
|
* @category Physics
|
|
2744
2761
|
* @group Components
|
|
2745
2762
|
*/
|
|
2746
|
-
export declare class Collider extends Component implements ICollider {
|
|
2763
|
+
export declare abstract class Collider extends Component implements ICollider {
|
|
2747
2764
|
/* Excluded from this release type: isCollider */
|
|
2748
2765
|
/**
|
|
2749
2766
|
* The {@link Rigidbody} that this collider is attached to. This handles the physics simulation for this collider.
|
|
@@ -3406,7 +3423,7 @@ export declare class ContactPoint {
|
|
|
3406
3423
|
*
|
|
3407
3424
|
* ContactShadows can also be enabled on the `<needle-engine>` web component directly by adding the `contactshadows` attribute. The value of the attribute will be used as opacity and darkness of the shadows: `<needle-engine contactshadows="0.7">`.
|
|
3408
3425
|
*
|
|
3409
|
-
*
|
|
3426
|
+
* @summary Display contact shadows on the ground
|
|
3410
3427
|
* @category Rendering
|
|
3411
3428
|
* @group Components
|
|
3412
3429
|
*/
|
|
@@ -4058,7 +4075,7 @@ export declare function createMotion(name: string, id?: InstantiateIdProvider):
|
|
|
4058
4075
|
* - Example: [Look At Cursor sample](https://engine.needle.tools/samples/look-at-cursor-interactive-3d-header/). This sample combines the CursorFollow component with a LookAt component to create an interactive 3D header that looks at the cursor.
|
|
4059
4076
|
*
|
|
4060
4077
|
* @summary Makes the object follow the cursor position on screen
|
|
4061
|
-
* @category
|
|
4078
|
+
* @category Interactivity
|
|
4062
4079
|
* @group Components
|
|
4063
4080
|
* @component
|
|
4064
4081
|
*/
|
|
@@ -4876,7 +4893,7 @@ export declare const eventListSerializer: EventListSerializer;
|
|
|
4876
4893
|
|
|
4877
4894
|
/**
|
|
4878
4895
|
* The EventSystem is responsible for managing and dispatching input events to UI components within the scene.
|
|
4879
|
-
* @summary
|
|
4896
|
+
* @summary Manages and dispatches input events to UI components
|
|
4880
4897
|
* @category User Interface
|
|
4881
4898
|
* @group Components
|
|
4882
4899
|
*/
|
|
@@ -5293,6 +5310,12 @@ declare type FitParameters = {
|
|
|
5293
5310
|
scaleFactor?: Partial<Vector3Like>;
|
|
5294
5311
|
};
|
|
5295
5312
|
|
|
5313
|
+
/**
|
|
5314
|
+
* The FixedJoint groups together 2 rigidbodies, making them stick together in their bound position
|
|
5315
|
+
* @summary Connect two Rigidbodies and make them stick together
|
|
5316
|
+
* @category Physics
|
|
5317
|
+
* @group Components
|
|
5318
|
+
*/
|
|
5296
5319
|
export declare class FixedJoint extends Joint {
|
|
5297
5320
|
protected createJoint(self: Rigidbody, other: Rigidbody): void;
|
|
5298
5321
|
}
|
|
@@ -6077,6 +6100,11 @@ export declare class Gizmos {
|
|
|
6077
6100
|
export declare type GLTF = GLTF_2;
|
|
6078
6101
|
|
|
6079
6102
|
/**
|
|
6103
|
+
* GltfExport is a component that enables exporting selected 3D objects from the scene to the glTF format.
|
|
6104
|
+
* You can specify whether to export in binary format (.glb) or JSON format (.gltf), and select specific objects to include in the export.
|
|
6105
|
+
* The exported glTF file can be used in various 3D applications and engines that support the glTF standard.
|
|
6106
|
+
*
|
|
6107
|
+
* @summary Export selected 3D objects to glTF format
|
|
6080
6108
|
* @category Asset Management
|
|
6081
6109
|
* @group Components
|
|
6082
6110
|
*/
|
|
@@ -6148,7 +6176,8 @@ export declare class Graphic extends BaseUIComponent implements IGraphic, IRectT
|
|
|
6148
6176
|
/**
|
|
6149
6177
|
* A Raycaster that performs raycasting against UI elements (objects with a CanvasRenderer component).
|
|
6150
6178
|
*
|
|
6151
|
-
* @
|
|
6179
|
+
* @summary Raycaster for UI elements
|
|
6180
|
+
* @category User Interface
|
|
6152
6181
|
* @group Components
|
|
6153
6182
|
*/
|
|
6154
6183
|
export declare class GraphicRaycaster extends ObjectRaycaster {
|
|
@@ -6336,6 +6365,14 @@ export declare class HideOnStart extends Component implements UsdzBehaviour {
|
|
|
6336
6365
|
beforeCreateDocument(): void;
|
|
6337
6366
|
}
|
|
6338
6367
|
|
|
6368
|
+
/**
|
|
6369
|
+
* The HingeJoint groups together 2 rigid bodies, constraining them to move like connected by a hinge.
|
|
6370
|
+
*
|
|
6371
|
+
* You can specify the anchor point and axis of rotation for the hinge.
|
|
6372
|
+
* @summary Connect two Rigidbodies with a hinge
|
|
6373
|
+
* @category Physics
|
|
6374
|
+
* @group Components
|
|
6375
|
+
*/
|
|
6339
6376
|
export declare class HingeJoint extends Joint {
|
|
6340
6377
|
anchor?: Vector3;
|
|
6341
6378
|
axis?: Vector3;
|
|
@@ -6387,7 +6424,7 @@ declare enum HorizontalWrapMode {
|
|
|
6387
6424
|
* By default, a simple scale-up animation is used. You can customize the hover and idle animations by providing your own animation clips.
|
|
6388
6425
|
*
|
|
6389
6426
|
* @summary Hover Animation on Pointer Enter/Exit
|
|
6390
|
-
* @category
|
|
6427
|
+
* @category Interactivity
|
|
6391
6428
|
* @group Components
|
|
6392
6429
|
*/
|
|
6393
6430
|
export declare class HoverAnimation extends Component {
|
|
@@ -6698,7 +6735,7 @@ declare interface ILightDataRegistry {
|
|
|
6698
6735
|
* Image is a UI component that displays a sprite (2D image) in the user interface.
|
|
6699
6736
|
* You can set the image property to assign a texture to be displayed.
|
|
6700
6737
|
* The sprite can be customized with various properties such as color tinting and pixel density.
|
|
6701
|
-
* @summary
|
|
6738
|
+
* @summary Display a 2D image in the UI
|
|
6702
6739
|
* @category User Interface
|
|
6703
6740
|
* @group Components
|
|
6704
6741
|
*/
|
|
@@ -7101,7 +7138,7 @@ export declare const enum InputEvents {
|
|
|
7101
7138
|
* InputField is a UI component that allows users to enter and edit text.
|
|
7102
7139
|
* It provides a text input area where users can type, delete, and modify text.
|
|
7103
7140
|
* The InputField supports placeholder text, events for value changes, and end edit actions.
|
|
7104
|
-
* @summary Text
|
|
7141
|
+
* @summary Text field for user input
|
|
7105
7142
|
* @category User Interface
|
|
7106
7143
|
* @group Components
|
|
7107
7144
|
*/
|
|
@@ -7975,6 +8012,12 @@ export declare class JoinedRoomResponse {
|
|
|
7975
8012
|
inRoom: string[];
|
|
7976
8013
|
}
|
|
7977
8014
|
|
|
8015
|
+
/**
|
|
8016
|
+
* Base class for physics joints connecting two rigid bodies.
|
|
8017
|
+
* @summary Connect two Rigidbodies
|
|
8018
|
+
* @category Physics
|
|
8019
|
+
* @group Components
|
|
8020
|
+
*/
|
|
7978
8021
|
declare abstract class Joint extends Component {
|
|
7979
8022
|
connectedBody?: Rigidbody;
|
|
7980
8023
|
get rigidBody(): Rigidbody | null;
|
|
@@ -8340,7 +8383,7 @@ declare enum LODFadeMode {
|
|
|
8340
8383
|
/**
|
|
8341
8384
|
* LODGroup allows to create a group of LOD levels for an object.
|
|
8342
8385
|
*
|
|
8343
|
-
* @summary Level of Detail
|
|
8386
|
+
* @summary Level of Detail Group for optimizing rendering
|
|
8344
8387
|
* @category Rendering
|
|
8345
8388
|
* @group Components
|
|
8346
8389
|
*/
|
|
@@ -8414,7 +8457,8 @@ export declare enum LogType {
|
|
|
8414
8457
|
* It can also invert the forward direction and keep the up direction.
|
|
8415
8458
|
*
|
|
8416
8459
|
* @summary Makes the object look at a target object or the camera
|
|
8417
|
-
* @category
|
|
8460
|
+
* @category Everywhere Actions
|
|
8461
|
+
* @category Interactivity
|
|
8418
8462
|
* @group Components
|
|
8419
8463
|
*/
|
|
8420
8464
|
export declare class LookAt extends Component implements UsdzBehaviour {
|
|
@@ -8444,7 +8488,7 @@ export declare class LookAt extends Component implements UsdzBehaviour {
|
|
|
8444
8488
|
* This component is used by {@link OrbitControls} internally.
|
|
8445
8489
|
*
|
|
8446
8490
|
* @summary Look At Constraint for OrbitControls
|
|
8447
|
-
* @category Camera Controls
|
|
8491
|
+
* @category Camera and Controls
|
|
8448
8492
|
* @group Components
|
|
8449
8493
|
*/
|
|
8450
8494
|
export declare class LookAtConstraint extends Component {
|
|
@@ -10362,7 +10406,7 @@ export declare class NetworkedStreams extends EventDispatcher<any> {
|
|
|
10362
10406
|
* This component supplies websocket URLs for establishing connections.
|
|
10363
10407
|
* It implements the {@link INetworkingWebsocketUrlProvider} interface.
|
|
10364
10408
|
*
|
|
10365
|
-
* @summary Networking configuration
|
|
10409
|
+
* @summary Networking configuration
|
|
10366
10410
|
* @category Networking
|
|
10367
10411
|
* @group Components
|
|
10368
10412
|
*/
|
|
@@ -10543,7 +10587,7 @@ export declare type ObjectOptions = {
|
|
|
10543
10587
|
/**
|
|
10544
10588
|
* A Raycaster that performs raycasting against its own GameObject.
|
|
10545
10589
|
*
|
|
10546
|
-
* @category
|
|
10590
|
+
* @category Interactivity
|
|
10547
10591
|
* @group Components
|
|
10548
10592
|
*/
|
|
10549
10593
|
export declare class ObjectRaycaster extends Raycaster_2 {
|
|
@@ -10892,7 +10936,7 @@ declare enum OpenURLMode {
|
|
|
10892
10936
|
* The three OrbitControls object can be accessed via the `controls` property.
|
|
10893
10937
|
* The object being controlled by the OrbitControls (usually the camera) can be accessed via the `controllerObject` property.
|
|
10894
10938
|
* @summary Camera controller using three.js OrbitControls
|
|
10895
|
-
* @category Camera
|
|
10939
|
+
* @category Camera and Controls
|
|
10896
10940
|
* @group Components
|
|
10897
10941
|
*/
|
|
10898
10942
|
export declare class OrbitControls extends Component implements ICameraController {
|
|
@@ -11168,7 +11212,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
11168
11212
|
/**
|
|
11169
11213
|
* Outline is a UI component that adds an outline effect to UI elements.
|
|
11170
11214
|
* You can customize the outline color and distance to create a visual border around the UI element.
|
|
11171
|
-
* @summary
|
|
11215
|
+
* @summary Add an outline effect to UI elements
|
|
11172
11216
|
* @category User Interface
|
|
11173
11217
|
* @group Components
|
|
11174
11218
|
*/
|
|
@@ -11310,7 +11354,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
11310
11354
|
*
|
|
11311
11355
|
* Needle Engine uses [three.quarks](https://github.com/Alchemist0823/three.quarks) under the hood to handle particles.
|
|
11312
11356
|
*
|
|
11313
|
-
* @summary
|
|
11357
|
+
* @summary Handles the motion and rendering of many individual particles
|
|
11314
11358
|
* @category Rendering
|
|
11315
11359
|
* @group Components
|
|
11316
11360
|
*/
|
|
@@ -12817,6 +12861,12 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
12817
12861
|
height: number;
|
|
12818
12862
|
}
|
|
12819
12863
|
|
|
12864
|
+
/**
|
|
12865
|
+
* RectTransform is a component that defines a rectangle for UI layout.
|
|
12866
|
+
* @summary UI Rectangle Transform
|
|
12867
|
+
* @category User Interface
|
|
12868
|
+
* @group Components
|
|
12869
|
+
*/
|
|
12820
12870
|
export declare class RectTransform extends BaseUIComponent implements IRectTransform, IRectTransformChangedReceiver {
|
|
12821
12871
|
get parent(): RectTransform | undefined;
|
|
12822
12872
|
get translation(): Vector3;
|
|
@@ -14549,7 +14599,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
14549
14599
|
*
|
|
14550
14600
|
* Note that ShadowCatcher meshes are not raycastable by default; if you want them to be raycastable, change the layers in `onEnable()`.
|
|
14551
14601
|
*
|
|
14552
|
-
* @summary
|
|
14602
|
+
* @summary Creates a shadow mask or a light occluder
|
|
14553
14603
|
* @category Rendering
|
|
14554
14604
|
* @group Components
|
|
14555
14605
|
*/
|
|
@@ -14716,7 +14766,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
14716
14766
|
* Signals can be added to a signal track on a {@link PlayableDirector}
|
|
14717
14767
|
*
|
|
14718
14768
|
* @summary Receives signals and invokes reactions
|
|
14719
|
-
* @category
|
|
14769
|
+
* @category Animation and Sequencing
|
|
14720
14770
|
* @group Components
|
|
14721
14771
|
*/
|
|
14722
14772
|
export declare class SignalReceiver extends Component {
|
|
@@ -14781,6 +14831,12 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
14781
14831
|
evaluate(t01: number, target?: Vec3, lerpFactor?: number): Vec3;
|
|
14782
14832
|
}
|
|
14783
14833
|
|
|
14834
|
+
/**
|
|
14835
|
+
* Renders deformable meshes that deform via bones and/or blend shapes.
|
|
14836
|
+
* @summary Renderer for deformable meshes
|
|
14837
|
+
* @category Rendering
|
|
14838
|
+
* @group Components
|
|
14839
|
+
**/
|
|
14784
14840
|
export declare class SkinnedMeshRenderer extends MeshRenderer {
|
|
14785
14841
|
private _needUpdateBoundingSphere;
|
|
14786
14842
|
awake(): void;
|
|
@@ -14845,6 +14901,13 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
14845
14901
|
performRaycast(_opts?: IRaycastOptions | RaycastOptions | null): Intersection[] | null;
|
|
14846
14902
|
}
|
|
14847
14903
|
|
|
14904
|
+
/**
|
|
14905
|
+
* SpatialHtml is a component that allows you to integrate HTML elements into a 3D scene.
|
|
14906
|
+
* By specifying the ID of an existing HTML element, you can render it as a 3D object within the scene.
|
|
14907
|
+
* @summary Render HTML elements as 3D objects in the scene
|
|
14908
|
+
* @category User Interface
|
|
14909
|
+
* @group Components
|
|
14910
|
+
*/
|
|
14848
14911
|
export declare class SpatialHtml extends Component {
|
|
14849
14912
|
id: string | null;
|
|
14850
14913
|
keepAspect: boolean;
|
|
@@ -14952,7 +15015,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
14952
15015
|
*
|
|
14953
15016
|
* Debug mode can be enabled with the URL parameter `?debugspectator`, which provides additional console output.
|
|
14954
15017
|
*
|
|
14955
|
-
* @summary
|
|
15018
|
+
* @summary Spectator camera for following other users
|
|
14956
15019
|
* @category Networking
|
|
14957
15020
|
* @group Components
|
|
14958
15021
|
*/
|
|
@@ -15329,7 +15392,8 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
15329
15392
|
*
|
|
15330
15393
|
* - Example: https://engine.needle.tools/samples/spritesheet-animation
|
|
15331
15394
|
*
|
|
15332
|
-
* @
|
|
15395
|
+
* @summary Renders 2D images from a sprite sheet
|
|
15396
|
+
* @category Rendering
|
|
15333
15397
|
* @group Components
|
|
15334
15398
|
*/
|
|
15335
15399
|
export declare class SpriteRenderer extends Component {
|
|
@@ -15763,6 +15827,8 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
15763
15827
|
|
|
15764
15828
|
/**
|
|
15765
15829
|
* Text is a UI component that displays text in the user interface.
|
|
15830
|
+
*
|
|
15831
|
+
* @summary Display text in the UI
|
|
15766
15832
|
* @category User Interface
|
|
15767
15833
|
* @group Components
|
|
15768
15834
|
*/
|
|
@@ -16486,6 +16552,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
16486
16552
|
* usdz.autoExportAudioSources = true;
|
|
16487
16553
|
* usdz.exportAsync();
|
|
16488
16554
|
* ```
|
|
16555
|
+
* @summary Export 3D objects as USDZ files for QuickLook
|
|
16489
16556
|
* @category XR
|
|
16490
16557
|
* @group Components
|
|
16491
16558
|
*/
|
|
@@ -16970,7 +17037,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
16970
17037
|
* ```
|
|
16971
17038
|
|
|
16972
17039
|
* @summary Automatically fits a box area into the camera view
|
|
16973
|
-
* @category Camera
|
|
17040
|
+
* @category Camera and Controls
|
|
16974
17041
|
* @group Components
|
|
16975
17042
|
* @component
|
|
16976
17043
|
*/
|
|
@@ -17063,7 +17130,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
17063
17130
|
/**
|
|
17064
17131
|
* The Voice over IP component (VoIP) allows you to send and receive audio streams to other users in the same networked room.
|
|
17065
17132
|
* It requires a networking connection to be working (e.g. by having an active SyncedRoom component in the scene or by connecting to a room manually).
|
|
17066
|
-
* @summary Voice over IP
|
|
17133
|
+
* @summary Voice over IP for networked audio communication
|
|
17067
17134
|
* @category Networking
|
|
17068
17135
|
* @group Components
|
|
17069
17136
|
*/
|
package/dist/needle-engine.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { GameObject as r, onClear as i, onDestroy as a, onInitialized as s, onAfterRender as l, onBeforeRender as d, onUpdate as c, onStart as m, TypeStore as p, loadAsset as g, NeedleXRSession as u, Context as S, VERSION as C, Component as y, Components as E } from "./needle-engine.bundle-
|
|
2
|
-
import { $physicsKey as T, ActionBuilder as A, ActionCollection as b, ActionModel as M, Addressables as I, AlignmentConstraint as D, AmbientMode as O, Animation as x, AnimationCurve as k, AnimationExtension as L, AnimationTrackHandler as N, AnimationUtils as B, Animator as F, AnimatorConditionMode as w, AnimatorController as U, AnimatorControllerParameterType as G, AnimatorStateInfo as W, Antialiasing as H, Application as X, AssetDatabase as z, AssetReference as V, Attractor as _, AudioExtension as j, AudioListener as K, AudioSource as Z, AudioTrackHandler as Q, Avatar as Y, AvatarBlink_Simple as $, AvatarEyeLook_Rotation as J, AvatarLoader as q, AvatarMarker as ee, AvatarModel as te, Avatar_Brain_LookAt as oe, Avatar_MouthShapes as re, Avatar_MustacheShake as ne, Avatar_POI as ie, Axes as ae, AxesHelper as se, BUILD_TIME as le, BaseUIComponent as de, BasicIKConstraint as ce, BehaviorExtension as me, BehaviorModel as pe, Component$1 as ge, BlobStorage as ue, BloomEffect as Se, BoxCollider as Ce, BoxGizmo as ye, BoxHelperComponent as Ee, Button as Re, ButtonsFactory as he, CallDirection as fe, CallInfo as ve, Camera as Pe, CameraTargetReachedEvent as Te, Canvas as Ae, CanvasGroup as be, CapsuleCollider as Me, ChangeMaterialOnClick as Ie, ChangeTransformOnClick as De, CharacterController as Oe, CharacterControllerInput as xe, ChromaticAberration as ke, CircularBuffer as Le, ClearFlags as Ne, ClickThrough as Be, ClipExtrapolation as Fe, Collider as we, Collision as Ue, CollisionDetectionMode as Ge, ColorAdjustments as We, ColorBySpeedModule as He, ColorOverLifetimeModule as Xe, Component$1 as ze, ComponentLifecycleEvents as Ve, ConnectionEvents as _e, ContactPoint as je, ContactShadows as Ke, ContextArgs as Ze, ContextEvent as Qe, ContextRegistry as Ye, ControlTrackHandler as $e, CursorFollow as Je, CustomBranding as qe, CustomShader as et, DefaultReflectionMode as tt, Deletable as ot, DeleteBox as rt, DepthOfField as nt, DeviceFlag as it, DeviceUtilities as at, DocumentExtension as st, DragControls as lt, DragMode as dt, DropListener as ct, Duplicatable as mt, EffectWrapper as pt, EmissionModule as gt, EmphasizeOnClick as ut, EngineLoadingView as St, EnvironmentScene as Ct, EventList as yt, EventListEvent as Et, EventSystem as Rt, EventTrigger as ht, FieldWithDefault as ft, FileReference as vt, FileReferenceSerializer as Pt, FileSpawnModel as Tt, File_Event as At, FixedJoint as bt, Fog as Mt, FrameEvent as It, GENERATOR as Dt, Gizmos as Ot, GltfExport as xt, GltfExportBox as kt, Gradient as Lt, Graphic as Nt, GraphicRaycaster as Bt, Graphics as Ft, GridHelper as wt, GridLayoutGroup as Ut, GroundProjectedEnv as Gt, GroupActionModel as Wt, HideFlags as Ht, HideOnStart as Xt, HingeJoint as zt, HorizontalLayoutGroup as Vt, HostData as _t, HoverAnimation as jt, Image as Kt, ImageReference as Zt, ImageReferenceSerializer as Qt, InheritVelocityModule as Yt, Input as $t, InputEventQueue as Jt, InputEvents as qt, InputField as eo, InstanceHandle as to, InstancingHandler as oo, InstancingUtil as ro, InstantiateEvent as no, InstantiateIdProvider as io, InstantiateOptions as ao, Interactable as so, InternalScreenshotUtils as lo, JoinedRoomResponse as co, KeyEventArgs as mo, Keyframe as po, LODGroup as go, LODModel as uo, LeftRoomResponse as So, Light as Co, LightData as yo, LimitVelocityOverLifetimeModule as Eo, LoadingElementOptions as Ro, LogStats as ho, LogType as fo, LookAt as vo, LookAtConstraint as Po, MainModule as To, MarkerTrackHandler as Ao, MarkerType as bo, MaskableGraphic as Mo, Mathf as Io, MeshCollider as Do, MeshRenderer as Oo, MinMaxCurve as xo, MinMaxGradient as ko, NEEDLE_ENGINE_FEATURE_FLAGS as Lo, MODULES as No, NEKeyboardEvent as Bo, NEPointerEvent as Fo, NeedleButtonElement as wo, ContextRegistry as Uo, NeedleEngineModelLoader as Go, NeedleEngineWebComponent as Wo, NeedleMenu as Ho, NeedlePatchesKey as Xo, USDZExporter$1 as zo, NeedleXRController as Vo, NeedleXRSync as _o, NeedleXRUtils as jo, NestedGltf as Ko, NetworkConnection as Zo, NetworkedStreamEvents as Qo, NetworkedStreams as Yo, Networking as $o, NewInstanceModel as Jo, NoiseModule as qo, ObjectRaycaster as er, ObjectUtils as tr, OffsetConstraint as or, OneEuroFilter as rr, OneEuroFilterXYZ as nr, OpenURL as ir, OrbitControls as ar, Outline as sr, OwnershipEvent as lr, OwnershipModel as dr, PUBLIC_KEY as cr, Padding as mr, ParticleBurst as pr, ParticleSubEmitter as gr, ParticleSystem as ur, ParticleSystemBaseBehaviour as Sr, ParticleSystemRenderer as Cr, ParticleSystemShapeType as yr, PeerHandle as Er, PeerNetworking as Rr, Physics as hr, PhysicsExtension as fr, PhysicsMaterialCombine as vr, PixelationEffect as Pr, PlayAnimationOnClick as Tr, PlayAudioOnClick as Ar, PlayableDirector as br, PlayerColor as Mr, PlayerState as Ir, PlayerStateEvent as Dr, PlayerSync as Or, PlayerView as xr, PlayerViewManager as kr, PointerEventData as Lr, PointerType as Nr, PostProcessingEffect as Br, PostProcessingEffectOrder as Fr, PostProcessingHandler as wr, Volume as Ur, PreliminaryAction as Gr, PreliminaryTrigger as Wr, PreviewHelper as Hr, PrimitiveType as Xr, Progress as zr, PromiseAllWithErrors as Vr, PromiseErrorResult as _r, RGBAColor as jr, RapierPhysics as Kr, RawImage as Zr, RaycastOptions as Qr, Rect as Yr, RectTransform as $r, ReflectionProbe as Jr, RegisteredAnimationInfo as qr, RemoteSkybox as en, RenderTexture as tn, RenderTextureSerializer as on, Renderer as rn, RendererData as nn, RendererLightmap as an, Rigidbody as sn, RigidbodyConstraints as ln, RoomEvents as dn, RotationBySpeedModule as cn, RotationOverLifetimeModule as mn, SceneLightSettings as pn, SceneSwitcher as gn, ScreenCapture as un, ScreenSpaceAmbientOcclusion as Sn, ScreenSpaceAmbientOcclusionN8 as Cn, ScrollFollow as yn, SeeThrough as En, SendQueue as Rn, SerializationContext as hn, SetActiveOnClick as fn, ShadowCatcher as vn, ShapeModule as Pn, ShapeOverlapResult as Tn, SharpeningEffect as An, SignalAsset as bn, SignalReceiver as Mn, SignalReceiverEvent as In, SignalTrackHandler as Dn, Size as On, SizeBySpeedModule as xn, SizeOverLifetimeModule as kn, SkinnedMeshRenderer as Ln, SmoothFollow as Nn, SpatialGrabRaycaster as Bn, SpatialHtml as Fn, SpatialTrigger as wn, SpatialTriggerReceiver as Un, SpectatorCamera as Gn, SphereCollider as Wn, SphereIntersection as Hn, SplineContainer as Xn, SplineData as zn, SplineUtils as Vn, SplineWalker as _n, Sprite as jn, SpriteData as Kn, SpriteRenderer as Zn, SpriteSheet as Qn, StateMachineBehaviour as Yn, StreamEndedEvent as $n, StreamReceivedEvent as Jn, SubEmitterSystem as qn, SyncedCamera as ei, SyncedRoom as ti, SyncedTransform as oi, TapGestureTrigger as ri, TeleportTarget as ni, TestRunner as ii, TestSceneUtils as ai, TestSimulateUserData as si, Text as li, TextBuilder as di, TextExtension as ci, TextureSheetAnimationModule as mi, TiltShiftEffect as pi, Time as gi, ToneMappingEffect as ui, TrackHandler as Si, TrackType as Ci, TrailModule as yi, TransformData as Ei, TransformGizmo as Ri, TriggerBuilder as hi, TriggerModel as fi, UIRaycastUtils as vi, UIRootComponent as Pi, USDDocument as Ti, USDObject as Ai, USDWriter as bi, USDZExporter as Mi, USDZText as Ii, USDZUIExtension as Di, UriSerializer as Oi, UsageMarker as xi, UserJoinedOrLeftRoomModel as ki, VariantAction as Li, VelocityOverLifetimeModule as Ni, VerticalLayoutGroup as Bi, VideoPlayer as Fi, ViewBox as wi, ViewDevice as Ui, Vignette as Gi, VisibilityAction as Wi, Voip as Hi, Volume as Xi, VolumeParameter as zi, VolumeProfile as Vi, WaitForFrames as _i, WaitForPromise as ji, WaitForSeconds as Ki, Watch as Zi, WebARCameraBackground as Qi, WebARSessionRoot as Yi, WebXR as $i, WebXRButtonFactory as Ji, WebXRImageTracking as qi, WebXRImageTrackingModel as ea, WebXRPlaneTracking as ta, WebXRTrackedImage as oa, XRControllerFollow as ra, XRControllerModel as na, XRControllerMovement as ia, XRFlag as aa, XRRig as sa, XRState as la, XRStateFlag as da, __Ignore as ca, __internalNotifyObjectDestroyed as ma, activeInHierarchyFieldName as pa, addAttributeChangeCallback as ga, addComponent as ua, addCustomExtensionPlugin as Sa, addNewComponent as Ca, addPatch as ya, apply as Ea, applyHMRChanges as Ra, applyPrototypeExtensions as ha, beginListenDestroy as fa, beginListenInstantiate as va, binaryIdentifierCasts as Pa, build_scene_functions as Ta, builtinComponentKeyName as Aa, calculateProgress01 as ba, clearMessages as Ma, clearMessages as Ia, colorSerializer as Da, compareAssociation as Oa, componentSerializer as xa, copyTexture as ka, createMotion as La, debugNet as Na, debugOwner as Ba, decompressGpuTexture as Fa, deepClone as wa, delay as Ua, delayForFrames as Ga, deserializeObject as Wa, destroy as Ha, destroyComponentInstance as Xa, determineMimeTypeFromExtension as za, disposeObjectResources as Va, disposeStream as _a, editorGuidKeyName as ja, enableSpatialConsole as Ka, euler as Za, eventListSerializer as Qa, exportAsGLTF as Ya, findByGuid as $a, findObjectOfType as Ja, findObjectsOfType as qa, findResourceUsers as es, fitCamera as ts, fitObjectIntoVolume as os, foreachComponent as rs, foreachComponentEnumerator as ns, forward as is, generateQRCode as as, generateSeed as ss, getBoundingBox as ls, getCameraController as ds, getComponent as cs, getComponentInChildren as ms, getComponentInParent as ps, getComponents as gs, getComponentsInChildren as us, getComponentsInParent as Ss, getFormattedDate as Cs, getIconElement as ys, getIconTexture as Es, getLoader as Rs, getOrAddComponent as hs, getParam as fs, getParentHierarchyPath as vs, getPath as Ps, getPeerOptions as Ts, getPeerjsInstance as As, getResourceUserCount as bs, getTempColor as Ms, getTempQuaternion as Is, getTempVector as Ds, getUrlParams as Os, getVisibleInCustomShadowRendering as xs, getWorldDirection as ks, getWorldEuler as Ls, getWorldPosition as Ns, getWorldQuaternion as Bs, getWorldRotation as Fs, getWorldScale as ws, hasCommercialLicense as Us, hasIndieLicense as Gs, hasPointerEventComponent as Ws, hasProLicense as Hs, hideDebugConsole as Xs, imageToCanvas as zs, instantiate as Vs, invokeLoadedImportPluginHooks as _s, invokeXRSessionEnd as js, invokeXRSessionStart as Ks, isActiveInHierarchy as Zs, isActiveSelf as Qs, isAndroidDevice as Ys, isAnimationAction as $s, isComponent as Js, isDebugMode as qs, isDesktop as el, isDestroyed as tl, isDevEnvironment as ol, isDisposed as rl, isExporting as nl, isGLTFModel as il, isHostedOnGlitch as al, isHotReloadEnabled as sl, isHotReloading as ll, isIPad as dl, isIconElement as cl, isLocalNetwork as ml, isMacOS as pl, isMobileDevice as gl, isMozillaXR as ul, isQuest as Sl, isResourceTrackingEnabled as Cl, isSafari as yl, isUsingInstancing as El, isiOS as Rl, isiPad as hl, loadPMREM as fl, loadSync as vl, logHierarchy as Pl, lookAtInverse as Tl, lookAtObject as Al, lookAtScreenPoint as bl, makeId as Ml, makeIdFromRandomWords as Il, makeNameSafe as Dl, markAsInstancedRendered as Ol, microphonePermissionsGranted as xl, nameof as kl, nameofFactory as Ll, objectSerializer as Nl, offXRSessionEnd as Bl, offXRSessionStart as Fl, onXRSessionEnd as wl, onXRSessionStart as Ul, parseSync as Gl, placeOnSurface as Wl, postprocessFBXMaterials as Hl, prefix as Xl, pushState as zl, randomNumber as Vl, registerBinaryType as _l, registerComponent as jl, registerComponentExtension as Kl, registerCustomEffectType as Zl, registerExportExtensions as Ql, registerExtensions as Yl, registerHotReloadType as $l, registerLoader as Jl, registerPrefabProvider as ql, registerPrototypeExtensions as ed, registerType as td, relativePathPrefix as od, removeAttributeChangeCallback as rd, removeComponent as nd, removeCustomImportExtensionType as id, removePatch as ad, resolveUrl as sd, sanitizeString as ld, saveImage as dd, screenshot as cd, screenshot2 as md, sendDestroyed as pd, serializable as gd, serializeObject as ud, serializeable as Sd, setActive as Cd, setAllowBalloonMessages as yd, setAllowOverlayMessages as Ed, setAutoFitEnabled as Rd, setCameraController as hd, setDestroyed as fd, setDevEnvironment as vd, setDisposable as Pd, setDontDestroy as Td, setOrAddParamsToUrl as Ad, setParam as bd, setParamWithoutReload as Md, setPeerOptions as Id, setResourceTrackingEnabled as Dd, setState as Od, setVisibleInCustomShadowRendering as xd, setWorldEuler as kd, setWorldPosition as Ld, setWorldPositionXYZ as Nd, setWorldQuaternion as Bd, setWorldQuaternionXYZW as Fd, setWorldRotation as wd, setWorldRotationXYZ as Ud, setWorldScale as Gd, showBalloonError as Wd, showBalloonMessage as Hd, showBalloonWarning as Xd, showDebugConsole as zd, slerp as Vd, syncDestroy as _d, syncField as jd, syncInstantiate as Kd, textureToCanvas as Zd, toSourceId as Qd, tryCastBinary as Yd, tryDetermineMimetypeFromBinary as $d, tryDetermineMimetypeFromURL as Jd, tryFindObject as qd, tryGetGuid as ec, unregisterHotReloadType as tc, unwatchWrite as oc, useForAutoFit as rc, validate as nc, watchWrite as ic } from "./needle-engine.bundle-DBdgyYGK.js";
|
|
3
|
-
import { NEEDLE_progressive as sc } from "./gltf-progressive-
|
|
4
|
-
import { THREE as R } from "./three-
|
|
1
|
+
import { GameObject as r, onClear as i, onDestroy as a, onInitialized as s, onAfterRender as l, onBeforeRender as d, onUpdate as c, onStart as m, TypeStore as p, loadAsset as g, NeedleXRSession as u, Context as S, VERSION as C, Component as y, Components as E } from "./needle-engine.bundle-BktxajaZ.js";
|
|
2
|
+
import { $physicsKey as T, ActionBuilder as A, ActionCollection as b, ActionModel as M, Addressables as I, AlignmentConstraint as D, AmbientMode as O, Animation as x, AnimationCurve as k, AnimationExtension as L, AnimationTrackHandler as N, AnimationUtils as B, Animator as F, AnimatorConditionMode as w, AnimatorController as U, AnimatorControllerParameterType as G, AnimatorStateInfo as W, Antialiasing as H, Application as X, AssetDatabase as z, AssetReference as V, Attractor as _, AudioExtension as j, AudioListener as K, AudioSource as Z, AudioTrackHandler as Q, Avatar as Y, AvatarBlink_Simple as $, AvatarEyeLook_Rotation as J, AvatarLoader as q, AvatarMarker as ee, AvatarModel as te, Avatar_Brain_LookAt as oe, Avatar_MouthShapes as re, Avatar_MustacheShake as ne, Avatar_POI as ie, Axes as ae, AxesHelper as se, BUILD_TIME as le, BaseUIComponent as de, BasicIKConstraint as ce, BehaviorExtension as me, BehaviorModel as pe, Component$1 as ge, BlobStorage as ue, BloomEffect as Se, BoxCollider as Ce, BoxGizmo as ye, BoxHelperComponent as Ee, Button as Re, ButtonsFactory as he, CallDirection as fe, CallInfo as ve, Camera as Pe, CameraTargetReachedEvent as Te, Canvas as Ae, CanvasGroup as be, CapsuleCollider as Me, ChangeMaterialOnClick as Ie, ChangeTransformOnClick as De, CharacterController as Oe, CharacterControllerInput as xe, ChromaticAberration as ke, CircularBuffer as Le, ClearFlags as Ne, ClickThrough as Be, ClipExtrapolation as Fe, Collider as we, Collision as Ue, CollisionDetectionMode as Ge, ColorAdjustments as We, ColorBySpeedModule as He, ColorOverLifetimeModule as Xe, Component$1 as ze, ComponentLifecycleEvents as Ve, ConnectionEvents as _e, ContactPoint as je, ContactShadows as Ke, ContextArgs as Ze, ContextEvent as Qe, ContextRegistry as Ye, ControlTrackHandler as $e, CursorFollow as Je, CustomBranding as qe, CustomShader as et, DefaultReflectionMode as tt, Deletable as ot, DeleteBox as rt, DepthOfField as nt, DeviceFlag as it, DeviceUtilities as at, DocumentExtension as st, DragControls as lt, DragMode as dt, DropListener as ct, Duplicatable as mt, EffectWrapper as pt, EmissionModule as gt, EmphasizeOnClick as ut, EngineLoadingView as St, EnvironmentScene as Ct, EventList as yt, EventListEvent as Et, EventSystem as Rt, EventTrigger as ht, FieldWithDefault as ft, FileReference as vt, FileReferenceSerializer as Pt, FileSpawnModel as Tt, File_Event as At, FixedJoint as bt, Fog as Mt, FrameEvent as It, GENERATOR as Dt, Gizmos as Ot, GltfExport as xt, GltfExportBox as kt, Gradient as Lt, Graphic as Nt, GraphicRaycaster as Bt, Graphics as Ft, GridHelper as wt, GridLayoutGroup as Ut, GroundProjectedEnv as Gt, GroupActionModel as Wt, HideFlags as Ht, HideOnStart as Xt, HingeJoint as zt, HorizontalLayoutGroup as Vt, HostData as _t, HoverAnimation as jt, Image as Kt, ImageReference as Zt, ImageReferenceSerializer as Qt, InheritVelocityModule as Yt, Input as $t, InputEventQueue as Jt, InputEvents as qt, InputField as eo, InstanceHandle as to, InstancingHandler as oo, InstancingUtil as ro, InstantiateEvent as no, InstantiateIdProvider as io, InstantiateOptions as ao, Interactable as so, InternalScreenshotUtils as lo, JoinedRoomResponse as co, KeyEventArgs as mo, Keyframe as po, LODGroup as go, LODModel as uo, LeftRoomResponse as So, Light as Co, LightData as yo, LimitVelocityOverLifetimeModule as Eo, LoadingElementOptions as Ro, LogStats as ho, LogType as fo, LookAt as vo, LookAtConstraint as Po, MainModule as To, MarkerTrackHandler as Ao, MarkerType as bo, MaskableGraphic as Mo, Mathf as Io, MeshCollider as Do, MeshRenderer as Oo, MinMaxCurve as xo, MinMaxGradient as ko, NEEDLE_ENGINE_FEATURE_FLAGS as Lo, MODULES as No, NEKeyboardEvent as Bo, NEPointerEvent as Fo, NeedleButtonElement as wo, ContextRegistry as Uo, NeedleEngineModelLoader as Go, NeedleEngineWebComponent as Wo, NeedleMenu as Ho, NeedlePatchesKey as Xo, USDZExporter$1 as zo, NeedleXRController as Vo, NeedleXRSync as _o, NeedleXRUtils as jo, NestedGltf as Ko, NetworkConnection as Zo, NetworkedStreamEvents as Qo, NetworkedStreams as Yo, Networking as $o, NewInstanceModel as Jo, NoiseModule as qo, ObjectRaycaster as er, ObjectUtils as tr, OffsetConstraint as or, OneEuroFilter as rr, OneEuroFilterXYZ as nr, OpenURL as ir, OrbitControls as ar, Outline as sr, OwnershipEvent as lr, OwnershipModel as dr, PUBLIC_KEY as cr, Padding as mr, ParticleBurst as pr, ParticleSubEmitter as gr, ParticleSystem as ur, ParticleSystemBaseBehaviour as Sr, ParticleSystemRenderer as Cr, ParticleSystemShapeType as yr, PeerHandle as Er, PeerNetworking as Rr, Physics as hr, PhysicsExtension as fr, PhysicsMaterialCombine as vr, PixelationEffect as Pr, PlayAnimationOnClick as Tr, PlayAudioOnClick as Ar, PlayableDirector as br, PlayerColor as Mr, PlayerState as Ir, PlayerStateEvent as Dr, PlayerSync as Or, PlayerView as xr, PlayerViewManager as kr, PointerEventData as Lr, PointerType as Nr, PostProcessingEffect as Br, PostProcessingEffectOrder as Fr, PostProcessingHandler as wr, Volume as Ur, PreliminaryAction as Gr, PreliminaryTrigger as Wr, PreviewHelper as Hr, PrimitiveType as Xr, Progress as zr, PromiseAllWithErrors as Vr, PromiseErrorResult as _r, RGBAColor as jr, RapierPhysics as Kr, RawImage as Zr, RaycastOptions as Qr, Rect as Yr, RectTransform as $r, ReflectionProbe as Jr, RegisteredAnimationInfo as qr, RemoteSkybox as en, RenderTexture as tn, RenderTextureSerializer as on, Renderer as rn, RendererData as nn, RendererLightmap as an, Rigidbody as sn, RigidbodyConstraints as ln, RoomEvents as dn, RotationBySpeedModule as cn, RotationOverLifetimeModule as mn, SceneLightSettings as pn, SceneSwitcher as gn, ScreenCapture as un, ScreenSpaceAmbientOcclusion as Sn, ScreenSpaceAmbientOcclusionN8 as Cn, ScrollFollow as yn, SeeThrough as En, SendQueue as Rn, SerializationContext as hn, SetActiveOnClick as fn, ShadowCatcher as vn, ShapeModule as Pn, ShapeOverlapResult as Tn, SharpeningEffect as An, SignalAsset as bn, SignalReceiver as Mn, SignalReceiverEvent as In, SignalTrackHandler as Dn, Size as On, SizeBySpeedModule as xn, SizeOverLifetimeModule as kn, SkinnedMeshRenderer as Ln, SmoothFollow as Nn, SpatialGrabRaycaster as Bn, SpatialHtml as Fn, SpatialTrigger as wn, SpatialTriggerReceiver as Un, SpectatorCamera as Gn, SphereCollider as Wn, SphereIntersection as Hn, SplineContainer as Xn, SplineData as zn, SplineUtils as Vn, SplineWalker as _n, Sprite as jn, SpriteData as Kn, SpriteRenderer as Zn, SpriteSheet as Qn, StateMachineBehaviour as Yn, StreamEndedEvent as $n, StreamReceivedEvent as Jn, SubEmitterSystem as qn, SyncedCamera as ei, SyncedRoom as ti, SyncedTransform as oi, TapGestureTrigger as ri, TeleportTarget as ni, TestRunner as ii, TestSceneUtils as ai, TestSimulateUserData as si, Text as li, TextBuilder as di, TextExtension as ci, TextureSheetAnimationModule as mi, TiltShiftEffect as pi, Time as gi, ToneMappingEffect as ui, TrackHandler as Si, TrackType as Ci, TrailModule as yi, TransformData as Ei, TransformGizmo as Ri, TriggerBuilder as hi, TriggerModel as fi, UIRaycastUtils as vi, UIRootComponent as Pi, USDDocument as Ti, USDObject as Ai, USDWriter as bi, USDZExporter as Mi, USDZText as Ii, USDZUIExtension as Di, UriSerializer as Oi, UsageMarker as xi, UserJoinedOrLeftRoomModel as ki, VariantAction as Li, VelocityOverLifetimeModule as Ni, VerticalLayoutGroup as Bi, VideoPlayer as Fi, ViewBox as wi, ViewDevice as Ui, Vignette as Gi, VisibilityAction as Wi, Voip as Hi, Volume as Xi, VolumeParameter as zi, VolumeProfile as Vi, WaitForFrames as _i, WaitForPromise as ji, WaitForSeconds as Ki, Watch as Zi, WebARCameraBackground as Qi, WebARSessionRoot as Yi, WebXR as $i, WebXRButtonFactory as Ji, WebXRImageTracking as qi, WebXRImageTrackingModel as ea, WebXRPlaneTracking as ta, WebXRTrackedImage as oa, XRControllerFollow as ra, XRControllerModel as na, XRControllerMovement as ia, XRFlag as aa, XRRig as sa, XRState as la, XRStateFlag as da, __Ignore as ca, __internalNotifyObjectDestroyed as ma, activeInHierarchyFieldName as pa, addAttributeChangeCallback as ga, addComponent as ua, addCustomExtensionPlugin as Sa, addNewComponent as Ca, addPatch as ya, apply as Ea, applyHMRChanges as Ra, applyPrototypeExtensions as ha, beginListenDestroy as fa, beginListenInstantiate as va, binaryIdentifierCasts as Pa, build_scene_functions as Ta, builtinComponentKeyName as Aa, calculateProgress01 as ba, clearMessages as Ma, clearMessages as Ia, colorSerializer as Da, compareAssociation as Oa, componentSerializer as xa, copyTexture as ka, createMotion as La, debugNet as Na, debugOwner as Ba, decompressGpuTexture as Fa, deepClone as wa, delay as Ua, delayForFrames as Ga, deserializeObject as Wa, destroy as Ha, destroyComponentInstance as Xa, determineMimeTypeFromExtension as za, disposeObjectResources as Va, disposeStream as _a, editorGuidKeyName as ja, enableSpatialConsole as Ka, euler as Za, eventListSerializer as Qa, exportAsGLTF as Ya, findByGuid as $a, findObjectOfType as Ja, findObjectsOfType as qa, findResourceUsers as es, fitCamera as ts, fitObjectIntoVolume as os, foreachComponent as rs, foreachComponentEnumerator as ns, forward as is, generateQRCode as as, generateSeed as ss, getBoundingBox as ls, getCameraController as ds, getComponent as cs, getComponentInChildren as ms, getComponentInParent as ps, getComponents as gs, getComponentsInChildren as us, getComponentsInParent as Ss, getFormattedDate as Cs, getIconElement as ys, getIconTexture as Es, getLoader as Rs, getOrAddComponent as hs, getParam as fs, getParentHierarchyPath as vs, getPath as Ps, getPeerOptions as Ts, getPeerjsInstance as As, getResourceUserCount as bs, getTempColor as Ms, getTempQuaternion as Is, getTempVector as Ds, getUrlParams as Os, getVisibleInCustomShadowRendering as xs, getWorldDirection as ks, getWorldEuler as Ls, getWorldPosition as Ns, getWorldQuaternion as Bs, getWorldRotation as Fs, getWorldScale as ws, hasCommercialLicense as Us, hasIndieLicense as Gs, hasPointerEventComponent as Ws, hasProLicense as Hs, hideDebugConsole as Xs, imageToCanvas as zs, instantiate as Vs, invokeLoadedImportPluginHooks as _s, invokeXRSessionEnd as js, invokeXRSessionStart as Ks, isActiveInHierarchy as Zs, isActiveSelf as Qs, isAndroidDevice as Ys, isAnimationAction as $s, isComponent as Js, isDebugMode as qs, isDesktop as el, isDestroyed as tl, isDevEnvironment as ol, isDisposed as rl, isExporting as nl, isGLTFModel as il, isHostedOnGlitch as al, isHotReloadEnabled as sl, isHotReloading as ll, isIPad as dl, isIconElement as cl, isLocalNetwork as ml, isMacOS as pl, isMobileDevice as gl, isMozillaXR as ul, isQuest as Sl, isResourceTrackingEnabled as Cl, isSafari as yl, isUsingInstancing as El, isiOS as Rl, isiPad as hl, loadPMREM as fl, loadSync as vl, logHierarchy as Pl, lookAtInverse as Tl, lookAtObject as Al, lookAtScreenPoint as bl, makeId as Ml, makeIdFromRandomWords as Il, makeNameSafe as Dl, markAsInstancedRendered as Ol, microphonePermissionsGranted as xl, nameof as kl, nameofFactory as Ll, objectSerializer as Nl, offXRSessionEnd as Bl, offXRSessionStart as Fl, onXRSessionEnd as wl, onXRSessionStart as Ul, parseSync as Gl, placeOnSurface as Wl, postprocessFBXMaterials as Hl, prefix as Xl, pushState as zl, randomNumber as Vl, registerBinaryType as _l, registerComponent as jl, registerComponentExtension as Kl, registerCustomEffectType as Zl, registerExportExtensions as Ql, registerExtensions as Yl, registerHotReloadType as $l, registerLoader as Jl, registerPrefabProvider as ql, registerPrototypeExtensions as ed, registerType as td, relativePathPrefix as od, removeAttributeChangeCallback as rd, removeComponent as nd, removeCustomImportExtensionType as id, removePatch as ad, resolveUrl as sd, sanitizeString as ld, saveImage as dd, screenshot as cd, screenshot2 as md, sendDestroyed as pd, serializable as gd, serializeObject as ud, serializeable as Sd, setActive as Cd, setAllowBalloonMessages as yd, setAllowOverlayMessages as Ed, setAutoFitEnabled as Rd, setCameraController as hd, setDestroyed as fd, setDevEnvironment as vd, setDisposable as Pd, setDontDestroy as Td, setOrAddParamsToUrl as Ad, setParam as bd, setParamWithoutReload as Md, setPeerOptions as Id, setResourceTrackingEnabled as Dd, setState as Od, setVisibleInCustomShadowRendering as xd, setWorldEuler as kd, setWorldPosition as Ld, setWorldPositionXYZ as Nd, setWorldQuaternion as Bd, setWorldQuaternionXYZW as Fd, setWorldRotation as wd, setWorldRotationXYZ as Ud, setWorldScale as Gd, showBalloonError as Wd, showBalloonMessage as Hd, showBalloonWarning as Xd, showDebugConsole as zd, slerp as Vd, syncDestroy as _d, syncField as jd, syncInstantiate as Kd, textureToCanvas as Zd, toSourceId as Qd, tryCastBinary as Yd, tryDetermineMimetypeFromBinary as $d, tryDetermineMimetypeFromURL as Jd, tryFindObject as qd, tryGetGuid as ec, unregisterHotReloadType as tc, unwatchWrite as oc, useForAutoFit as rc, validate as nc, watchWrite as ic } from "./needle-engine.bundle-BktxajaZ.js";
|
|
3
|
+
import { NEEDLE_progressive as sc } from "./gltf-progressive-DnLBuGK5.js";
|
|
4
|
+
import { THREE as R } from "./three-BCCkyCA5.js";
|
|
5
5
|
const t = {
|
|
6
6
|
VERSION: C,
|
|
7
7
|
Context: S,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{GameObject as s,onClear as o,onDestroy as r,onInitialized as n,onAfterRender as i,onBeforeRender as l,onUpdate as d,onStart as c,TypeStore as m,loadAsset as p,NeedleXRSession as g,Context as u,VERSION as S,Component as y,Components as E}from"./needle-engine.bundle-DhdNodjw.min.js";import{$physicsKey as R,ActionBuilder as h,ActionCollection as v,ActionModel as f,Addressables as P,AlignmentConstraint as A,AmbientMode as T,Animation as b,AnimationCurve as M,AnimationExtension as I,AnimationTrackHandler as D,AnimationUtils as O,Animator as x,AnimatorConditionMode as k,AnimatorController as L,AnimatorControllerParameterType as B,AnimatorStateInfo as F,Antialiasing as N,Application as w,AssetDatabase as U,AssetReference as W,Attractor as G,AudioExtension as H,AudioListener as X,AudioSource as z,AudioTrackHandler as V,Avatar as _,AvatarBlink_Simple as j,AvatarEyeLook_Rotation as K,AvatarLoader as Q,AvatarMarker as Z,AvatarModel as Y,Avatar_Brain_LookAt as J,Avatar_MouthShapes as $,Avatar_MustacheShake as q,Avatar_POI as ee,Axes as ae,AxesHelper as se,BUILD_TIME as te,BaseUIComponent as oe,BasicIKConstraint as re,BehaviorExtension as ne,BehaviorModel as ie,Component$1 as le,BlobStorage as de,BloomEffect as ce,BoxCollider as me,BoxGizmo as pe,BoxHelperComponent as ge,Button as ue,ButtonsFactory as Se,CallDirection as Ce,CallInfo as ye,Camera as Ee,CameraTargetReachedEvent as Re,Canvas as he,CanvasGroup as ve,CapsuleCollider as fe,ChangeMaterialOnClick as Pe,ChangeTransformOnClick as Ae,CharacterController as Te,CharacterControllerInput as be,ChromaticAberration as Me,CircularBuffer as Ie,ClearFlags as De,ClickThrough as Oe,ClipExtrapolation as xe,Collider as ke,Collision as Le,CollisionDetectionMode as Be,ColorAdjustments as Fe,ColorBySpeedModule as Ne,ColorOverLifetimeModule as we,Component$1 as Ue,ComponentLifecycleEvents as We,ConnectionEvents as Ge,ContactPoint as He,ContactShadows as Xe,ContextArgs as ze,ContextEvent as Ve,ContextRegistry as _e,ControlTrackHandler as je,CursorFollow as Ke,CustomBranding as Qe,CustomShader as Ze,DefaultReflectionMode as Ye,Deletable as Je,DeleteBox as $e,DepthOfField as qe,DeviceFlag as ea,DeviceUtilities as aa,DocumentExtension as sa,DragControls as ta,DragMode as oa,DropListener as ra,Duplicatable as na,EffectWrapper as ia,EmissionModule as la,EmphasizeOnClick as da,EngineLoadingView as ca,EnvironmentScene as ma,EventList as pa,EventListEvent as ga,EventSystem as ua,EventTrigger as Sa,FieldWithDefault as Ca,FileReference as ya,FileReferenceSerializer as Ea,FileSpawnModel as Ra,File_Event as ha,FixedJoint as va,Fog as fa,FrameEvent as Pa,GENERATOR as Aa,Gizmos as Ta,GltfExport as ba,GltfExportBox as Ma,Gradient as Ia,Graphic as Da,GraphicRaycaster as Oa,Graphics as xa,GridHelper as ka,GridLayoutGroup as La,GroundProjectedEnv as Ba,GroupActionModel as Fa,HideFlags as Na,HideOnStart as wa,HingeJoint as Ua,HorizontalLayoutGroup as Wa,HostData as Ga,HoverAnimation as Ha,Image as Xa,ImageReference as za,ImageReferenceSerializer as Va,InheritVelocityModule as _a,Input as ja,InputEventQueue as Ka,InputEvents as Qa,InputField as Za,InstanceHandle as Ya,InstancingHandler as Ja,InstancingUtil as $a,InstantiateEvent as qa,InstantiateIdProvider as es,InstantiateOptions as as,Interactable as ss,InternalScreenshotUtils as ts,JoinedRoomResponse as os,KeyEventArgs as rs,Keyframe as ns,LODGroup as is,LODModel as ls,LeftRoomResponse as ds,Light as cs,LightData as ms,LimitVelocityOverLifetimeModule as ps,LoadingElementOptions as gs,LogStats as us,LogType as Ss,LookAt as Cs,LookAtConstraint as ys,MainModule as Es,MarkerTrackHandler as Rs,MarkerType as hs,MaskableGraphic as vs,Mathf as fs,MeshCollider as Ps,MeshRenderer as As,MinMaxCurve as Ts,MinMaxGradient as bs,NEEDLE_ENGINE_FEATURE_FLAGS as Ms,MODULES as Is,NEKeyboardEvent as Ds,NEPointerEvent as Os,NeedleButtonElement as xs,ContextRegistry as ks,NeedleEngineModelLoader as Ls,NeedleEngineWebComponent as Bs,NeedleMenu as Fs,NeedlePatchesKey as Ns,USDZExporter$1 as ws,NeedleXRController as Us,NeedleXRSync as Ws,NeedleXRUtils as Gs,NestedGltf as Hs,NetworkConnection as Xs,NetworkedStreamEvents as zs,NetworkedStreams as Vs,Networking as _s,NewInstanceModel as js,NoiseModule as Ks,ObjectRaycaster as Qs,ObjectUtils as Zs,OffsetConstraint as Ys,OneEuroFilter as Js,OneEuroFilterXYZ as $s,OpenURL as qs,OrbitControls as et,Outline as at,OwnershipEvent as st,OwnershipModel as tt,PUBLIC_KEY as ot,Padding as rt,ParticleBurst as nt,ParticleSubEmitter as it,ParticleSystem as lt,ParticleSystemBaseBehaviour as dt,ParticleSystemRenderer as ct,ParticleSystemShapeType as mt,PeerHandle as pt,PeerNetworking as gt,Physics as ut,PhysicsExtension as St,PhysicsMaterialCombine as Ct,PixelationEffect as yt,PlayAnimationOnClick as Et,PlayAudioOnClick as Rt,PlayableDirector as ht,PlayerColor as vt,PlayerState as ft,PlayerStateEvent as Pt,PlayerSync as At,PlayerView as Tt,PlayerViewManager as bt,PointerEventData as Mt,PointerType as It,PostProcessingEffect as Dt,PostProcessingEffectOrder as Ot,PostProcessingHandler as xt,Volume as kt,PreliminaryAction as Lt,PreliminaryTrigger as Bt,PreviewHelper as Ft,PrimitiveType as Nt,Progress as wt,PromiseAllWithErrors as Ut,PromiseErrorResult as Wt,RGBAColor as Gt,RapierPhysics as Ht,RawImage as Xt,RaycastOptions as zt,Rect as Vt,RectTransform as _t,ReflectionProbe as jt,RegisteredAnimationInfo as Kt,RemoteSkybox as Qt,RenderTexture as Zt,RenderTextureSerializer as Yt,Renderer as Jt,RendererData as $t,RendererLightmap as qt,Rigidbody as eo,RigidbodyConstraints as ao,RoomEvents as so,RotationBySpeedModule as to,RotationOverLifetimeModule as oo,SceneLightSettings as ro,SceneSwitcher as no,ScreenCapture as io,ScreenSpaceAmbientOcclusion as lo,ScreenSpaceAmbientOcclusionN8 as co,ScrollFollow as mo,SeeThrough as po,SendQueue as go,SerializationContext as uo,SetActiveOnClick as So,ShadowCatcher as Co,ShapeModule as yo,ShapeOverlapResult as Eo,SharpeningEffect as Ro,SignalAsset as ho,SignalReceiver as vo,SignalReceiverEvent as fo,SignalTrackHandler as Po,Size as Ao,SizeBySpeedModule as To,SizeOverLifetimeModule as bo,SkinnedMeshRenderer as Mo,SmoothFollow as Io,SpatialGrabRaycaster as Do,SpatialHtml as Oo,SpatialTrigger as xo,SpatialTriggerReceiver as ko,SpectatorCamera as Lo,SphereCollider as Bo,SphereIntersection as Fo,SplineContainer as No,SplineData as wo,SplineUtils as Uo,SplineWalker as Wo,Sprite as Go,SpriteData as Ho,SpriteRenderer as Xo,SpriteSheet as zo,StateMachineBehaviour as Vo,StreamEndedEvent as _o,StreamReceivedEvent as jo,SubEmitterSystem as Ko,SyncedCamera as Qo,SyncedRoom as Zo,SyncedTransform as Yo,TapGestureTrigger as Jo,TeleportTarget as $o,TestRunner as qo,TestSceneUtils as er,TestSimulateUserData as ar,Text as sr,TextBuilder as tr,TextExtension as or,TextureSheetAnimationModule as rr,TiltShiftEffect as nr,Time as ir,ToneMappingEffect as lr,TrackHandler as dr,TrackType as cr,TrailModule as mr,TransformData as pr,TransformGizmo as gr,TriggerBuilder as ur,TriggerModel as Sr,UIRaycastUtils as Cr,UIRootComponent as yr,USDDocument as Er,USDObject as Rr,USDWriter as hr,USDZExporter as vr,USDZText as fr,USDZUIExtension as Pr,UriSerializer as Ar,UsageMarker as Tr,UserJoinedOrLeftRoomModel as br,VariantAction as Mr,VelocityOverLifetimeModule as Ir,VerticalLayoutGroup as Dr,VideoPlayer as Or,ViewBox as xr,ViewDevice as kr,Vignette as Lr,VisibilityAction as Br,Voip as Fr,Volume as Nr,VolumeParameter as wr,VolumeProfile as Ur,WaitForFrames as Wr,WaitForPromise as Gr,WaitForSeconds as Hr,Watch as Xr,WebARCameraBackground as zr,WebARSessionRoot as Vr,WebXR as _r,WebXRButtonFactory as jr,WebXRImageTracking as Kr,WebXRImageTrackingModel as Qr,WebXRPlaneTracking as Zr,WebXRTrackedImage as Yr,XRControllerFollow as Jr,XRControllerModel as $r,XRControllerMovement as qr,XRFlag as en,XRRig as an,XRState as sn,XRStateFlag as tn,__Ignore as on,__internalNotifyObjectDestroyed as rn,activeInHierarchyFieldName as nn,addAttributeChangeCallback as ln,addComponent as dn,addCustomExtensionPlugin as cn,addNewComponent as mn,addPatch as pn,apply as gn,applyHMRChanges as un,applyPrototypeExtensions as Sn,beginListenDestroy as Cn,beginListenInstantiate as yn,binaryIdentifierCasts as En,build_scene_functions as Rn,builtinComponentKeyName as hn,calculateProgress01 as vn,clearMessages as fn,clearMessages as Pn,colorSerializer as An,compareAssociation as Tn,componentSerializer as bn,copyTexture as Mn,createMotion as In,debugNet as Dn,debugOwner as On,decompressGpuTexture as xn,deepClone as kn,delay as Ln,delayForFrames as Bn,deserializeObject as Fn,destroy as Nn,destroyComponentInstance as wn,determineMimeTypeFromExtension as Un,disposeObjectResources as Wn,disposeStream as Gn,editorGuidKeyName as Hn,enableSpatialConsole as Xn,euler as zn,eventListSerializer as Vn,exportAsGLTF as _n,findByGuid as jn,findObjectOfType as Kn,findObjectsOfType as Qn,findResourceUsers as Zn,fitCamera as Yn,fitObjectIntoVolume as Jn,foreachComponent as $n,foreachComponentEnumerator as qn,forward as ei,generateQRCode as ai,generateSeed as si,getBoundingBox as ti,getCameraController as oi,getComponent as ri,getComponentInChildren as ni,getComponentInParent as ii,getComponents as li,getComponentsInChildren as di,getComponentsInParent as ci,getFormattedDate as mi,getIconElement as pi,getIconTexture as gi,getLoader as ui,getOrAddComponent as Si,getParam as Ci,getParentHierarchyPath as yi,getPath as Ei,getPeerOptions as Ri,getPeerjsInstance as hi,getResourceUserCount as vi,getTempColor as fi,getTempQuaternion as Pi,getTempVector as Ai,getUrlParams as Ti,getVisibleInCustomShadowRendering as bi,getWorldDirection as Mi,getWorldEuler as Ii,getWorldPosition as Di,getWorldQuaternion as Oi,getWorldRotation as xi,getWorldScale as ki,hasCommercialLicense as Li,hasIndieLicense as Bi,hasPointerEventComponent as Fi,hasProLicense as Ni,hideDebugConsole as wi,imageToCanvas as Ui,instantiate as Wi,invokeLoadedImportPluginHooks as Gi,invokeXRSessionEnd as Hi,invokeXRSessionStart as Xi,isActiveInHierarchy as zi,isActiveSelf as Vi,isAndroidDevice as _i,isAnimationAction as ji,isComponent as Ki,isDebugMode as Qi,isDesktop as Zi,isDestroyed as Yi,isDevEnvironment as Ji,isDisposed as $i,isExporting as qi,isGLTFModel as el,isHostedOnGlitch as al,isHotReloadEnabled as sl,isHotReloading as tl,isIPad as ol,isIconElement as rl,isLocalNetwork as nl,isMacOS as il,isMobileDevice as ll,isMozillaXR as dl,isQuest as cl,isResourceTrackingEnabled as ml,isSafari as pl,isUsingInstancing as gl,isiOS as ul,isiPad as Sl,loadPMREM as Cl,loadSync as yl,logHierarchy as El,lookAtInverse as Rl,lookAtObject as hl,lookAtScreenPoint as vl,makeId as fl,makeIdFromRandomWords as Pl,makeNameSafe as Al,markAsInstancedRendered as Tl,microphonePermissionsGranted as bl,nameof as Ml,nameofFactory as Il,objectSerializer as Dl,offXRSessionEnd as Ol,offXRSessionStart as xl,onXRSessionEnd as kl,onXRSessionStart as Ll,parseSync as Bl,placeOnSurface as Fl,postprocessFBXMaterials as Nl,prefix as wl,pushState as Ul,randomNumber as Wl,registerBinaryType as Gl,registerComponent as Hl,registerComponentExtension as Xl,registerCustomEffectType as zl,registerExportExtensions as Vl,registerExtensions as _l,registerHotReloadType as jl,registerLoader as Kl,registerPrefabProvider as Ql,registerPrototypeExtensions as Zl,registerType as Yl,relativePathPrefix as Jl,removeAttributeChangeCallback as $l,removeComponent as ql,removeCustomImportExtensionType as ed,removePatch as ad,resolveUrl as sd,sanitizeString as td,saveImage as od,screenshot as rd,screenshot2 as nd,sendDestroyed as id,serializable as ld,serializeObject as dd,serializeable as cd,setActive as md,setAllowBalloonMessages as pd,setAllowOverlayMessages as gd,setAutoFitEnabled as ud,setCameraController as Sd,setDestroyed as Cd,setDevEnvironment as yd,setDisposable as Ed,setDontDestroy as Rd,setOrAddParamsToUrl as hd,setParam as vd,setParamWithoutReload as fd,setPeerOptions as Pd,setResourceTrackingEnabled as Ad,setState as Td,setVisibleInCustomShadowRendering as bd,setWorldEuler as Md,setWorldPosition as Id,setWorldPositionXYZ as Dd,setWorldQuaternion as Od,setWorldQuaternionXYZW as xd,setWorldRotation as kd,setWorldRotationXYZ as Ld,setWorldScale as Bd,showBalloonError as Fd,showBalloonMessage as Nd,showBalloonWarning as wd,showDebugConsole as Ud,slerp as Wd,syncDestroy as Gd,syncField as Hd,syncInstantiate as Xd,textureToCanvas as zd,toSourceId as Vd,tryCastBinary as _d,tryDetermineMimetypeFromBinary as jd,tryDetermineMimetypeFromURL as Kd,tryFindObject as Qd,tryGetGuid as Zd,unregisterHotReloadType as Yd,unwatchWrite as Jd,useForAutoFit as $d,validate as qd,watchWrite as ec}from"./needle-engine.bundle-DhdNodjw.min.js";import{NEEDLE_progressive as ac}from"./gltf-progressive-DZrY8VT6.min.js";import{THREE as sc}from"./three-B7CT31Bt.min.js";const a={VERSION:S,Context:u,NeedleXRSession:g,assets:{loadFromURL:p},types:m,onStart:c,onUpdate:d,onBeforeRender:l,onAfterRender:i,onInitializedContext:n,onDestroyContext:r,onClearContext:o};globalThis.Needle?.VERSION!==void 0&&console.warn(`Needle Engine is already imported: ${globalThis.Needle.VERSION}`);function C(e){for(const t in e)a[t]=e[t]}C(y),C(E);for(const e of Object.getOwnPropertyNames(s))switch(e){case"prototype":case"constructor":case"length":case"name":continue;default:a[e]=s[e];break}if(!globalThis.Needle)globalThis.Needle=a;else for(const e in a)globalThis.Needle[e]=a[e];globalThis.THREE?console.warn("Three.js is already imported"):globalThis.THREE=sc;export{R as $physicsKey,h as ActionBuilder,v as ActionCollection,f as ActionModel,P as Addressables,A as AlignmentConstraint,T as AmbientMode,b as Animation,M as AnimationCurve,I as AnimationExtension,D as AnimationTrackHandler,O as AnimationUtils,x as Animator,k as AnimatorConditionMode,L as AnimatorController,B as AnimatorControllerParameterType,F as AnimatorStateInfo,N as Antialiasing,w as Application,U as AssetDatabase,W as AssetReference,G as Attractor,H as AudioExtension,X as AudioListener,z as AudioSource,V as AudioTrackHandler,_ as Avatar,j as AvatarBlink_Simple,K as AvatarEyeLook_Rotation,Q as AvatarLoader,Z as AvatarMarker,Y as AvatarModel,J as Avatar_Brain_LookAt,$ as Avatar_MouthShapes,q as Avatar_MustacheShake,ee as Avatar_POI,ae as Axes,se as AxesHelper,te as BUILD_TIME,oe as BaseUIComponent,re as BasicIKConstraint,ne as BehaviorExtension,ie as BehaviorModel,le as Behaviour,de as BlobStorage,ce as BloomEffect,me as BoxCollider,pe as BoxGizmo,ge as BoxHelperComponent,ue as Button,Se as ButtonsFactory,Ce as CallDirection,ye as CallInfo,Ee as Camera,Re as CameraTargetReachedEvent,he as Canvas,ve as CanvasGroup,fe as CapsuleCollider,Pe as ChangeMaterialOnClick,Ae as ChangeTransformOnClick,Te as CharacterController,be as CharacterControllerInput,Me as ChromaticAberration,Ie as CircularBuffer,De as ClearFlags,Oe as ClickThrough,xe as ClipExtrapolation,ke as Collider,Le as Collision,Be as CollisionDetectionMode,Fe as ColorAdjustments,Ne as ColorBySpeedModule,we as ColorOverLifetimeModule,Ue as Component,We as ComponentLifecycleEvents,Ge as ConnectionEvents,He as ContactPoint,Xe as ContactShadows,u as Context,ze as ContextArgs,Ve as ContextEvent,_e as ContextRegistry,je as ControlTrackHandler,Ke as CursorFollow,Qe as CustomBranding,Ze as CustomShader,Ye as DefaultReflectionMode,Je as Deletable,$e as DeleteBox,qe as DepthOfField,ea as DeviceFlag,aa as DeviceUtilities,sa as DocumentExtension,ta as DragControls,oa as DragMode,ra as DropListener,na as Duplicatable,ia as EffectWrapper,la as EmissionModule,da as EmphasizeOnClick,ca as EngineLoadingView,ma as EnvironmentScene,pa as EventList,ga as EventListEvent,ua as EventSystem,Sa as EventTrigger,Ca as FieldWithDefault,ya as FileReference,Ea as FileReferenceSerializer,Ra as FileSpawnModel,ha as File_Event,va as FixedJoint,fa as Fog,Pa as FrameEvent,Aa as GENERATOR,s as GameObject,Ta as Gizmos,ba as GltfExport,Ma as GltfExportBox,Ia as Gradient,Da as Graphic,Oa as GraphicRaycaster,xa as Graphics,ka as GridHelper,La as GridLayoutGroup,Ba as GroundProjectedEnv,Fa as GroupActionModel,Na as HideFlags,wa as HideOnStart,Ua as HingeJoint,Wa as HorizontalLayoutGroup,Ga as HostData,Ha as HoverAnimation,Xa as Image,za as ImageReference,Va as ImageReferenceSerializer,_a as InheritVelocityModule,ja as Input,Ka as InputEventQueue,Qa as InputEvents,Za as InputField,Ya as InstanceHandle,Ja as InstancingHandler,$a as InstancingUtil,qa as InstantiateEvent,es as InstantiateIdProvider,as as InstantiateOptions,ss as Interactable,ts as InternalScreenshotUtils,os as JoinedRoomResponse,rs as KeyEventArgs,ns as Keyframe,is as LODGroup,ls as LODModel,ds as LeftRoomResponse,cs as Light,ms as LightData,ps as LimitVelocityOverLifetimeModule,gs as LoadingElementOptions,us as LogStats,Ss as LogType,Cs as LookAt,ys as LookAtConstraint,Es as MainModule,Rs as MarkerTrackHandler,hs as MarkerType,vs as MaskableGraphic,fs as Mathf,Ps as MeshCollider,As as MeshRenderer,Ts as MinMaxCurve,bs as MinMaxGradient,Ms as NEEDLE_ENGINE_FEATURE_FLAGS,Is as NEEDLE_ENGINE_MODULES,ac as NEEDLE_progressive,Ds as NEKeyboardEvent,Os as NEPointerEvent,xs as NeedleButtonElement,ks as NeedleEngine,Ls as NeedleEngineModelLoader,Bs as NeedleEngineWebComponent,Fs as NeedleMenu,Ns as NeedlePatchesKey,ws as NeedleUSDZExporter,Us as NeedleXRController,g as NeedleXRSession,Ws as NeedleXRSync,Gs as NeedleXRUtils,Hs as NestedGltf,Xs as NetworkConnection,zs as NetworkedStreamEvents,Vs as NetworkedStreams,_s as Networking,js as NewInstanceModel,Ks as NoiseModule,Qs as ObjectRaycaster,Zs as ObjectUtils,Ys as OffsetConstraint,Js as OneEuroFilter,$s as OneEuroFilterXYZ,qs as OpenURL,et as OrbitControls,at as Outline,st as OwnershipEvent,tt as OwnershipModel,ot as PUBLIC_KEY,rt as Padding,nt as ParticleBurst,it as ParticleSubEmitter,lt as ParticleSystem,dt as ParticleSystemBaseBehaviour,ct as ParticleSystemRenderer,mt as ParticleSystemShapeType,pt as PeerHandle,gt as PeerNetworking,ut as Physics,St as PhysicsExtension,Ct as PhysicsMaterialCombine,yt as PixelationEffect,Et as PlayAnimationOnClick,Rt as PlayAudioOnClick,ht as PlayableDirector,vt as PlayerColor,ft as PlayerState,Pt as PlayerStateEvent,At as PlayerSync,Tt as PlayerView,bt as PlayerViewManager,Mt as PointerEventData,It as PointerType,Dt as PostProcessingEffect,Ot as PostProcessingEffectOrder,xt as PostProcessingHandler,kt as PostProcessingManager,Lt as PreliminaryAction,Bt as PreliminaryTrigger,Ft as PreviewHelper,Nt as PrimitiveType,wt as Progress,Ut as PromiseAllWithErrors,Wt as PromiseErrorResult,Gt as RGBAColor,Ht as RapierPhysics,Xt as RawImage,zt as RaycastOptions,Vt as Rect,_t as RectTransform,jt as ReflectionProbe,Kt as RegisteredAnimationInfo,Qt as RemoteSkybox,Zt as RenderTexture,Yt as RenderTextureSerializer,Jt as Renderer,$t as RendererData,qt as RendererLightmap,eo as Rigidbody,ao as RigidbodyConstraints,so as RoomEvents,to as RotationBySpeedModule,oo as RotationOverLifetimeModule,ro as SceneLightSettings,no as SceneSwitcher,io as ScreenCapture,lo as ScreenSpaceAmbientOcclusion,co as ScreenSpaceAmbientOcclusionN8,mo as ScrollFollow,po as SeeThrough,go as SendQueue,uo as SerializationContext,So as SetActiveOnClick,Co as ShadowCatcher,yo as ShapeModule,Eo as ShapeOverlapResult,Ro as SharpeningEffect,ho as SignalAsset,vo as SignalReceiver,fo as SignalReceiverEvent,Po as SignalTrackHandler,Ao as Size,To as SizeBySpeedModule,bo as SizeOverLifetimeModule,Mo as SkinnedMeshRenderer,Io as SmoothFollow,Do as SpatialGrabRaycaster,Oo as SpatialHtml,xo as SpatialTrigger,ko as SpatialTriggerReceiver,Lo as SpectatorCamera,Bo as SphereCollider,Fo as SphereIntersection,No as SplineContainer,wo as SplineData,Uo as SplineUtils,Wo as SplineWalker,Go as Sprite,Ho as SpriteData,Xo as SpriteRenderer,zo as SpriteSheet,Vo as StateMachineBehaviour,_o as StreamEndedEvent,jo as StreamReceivedEvent,Ko as SubEmitterSystem,Qo as SyncedCamera,Zo as SyncedRoom,Yo as SyncedTransform,Jo as TapGestureTrigger,$o as TeleportTarget,qo as TestRunner,er as TestSceneUtils,ar as TestSimulateUserData,sr as Text,tr as TextBuilder,or as TextExtension,rr as TextureSheetAnimationModule,nr as TiltShiftEffect,ir as Time,lr as ToneMappingEffect,dr as TrackHandler,cr as TrackType,mr as TrailModule,pr as TransformData,gr as TransformGizmo,ur as TriggerBuilder,Sr as TriggerModel,m as TypeStore,Cr as UIRaycastUtils,yr as UIRootComponent,Er as USDDocument,Rr as USDObject,hr as USDWriter,vr as USDZExporter,fr as USDZText,Pr as USDZUIExtension,Ar as UriSerializer,Tr as UsageMarker,br as UserJoinedOrLeftRoomModel,S as VERSION,Mr as VariantAction,Ir as VelocityOverLifetimeModule,Dr as VerticalLayoutGroup,Or as VideoPlayer,xr as ViewBox,kr as ViewDevice,Lr as Vignette,Br as VisibilityAction,Fr as Voip,Nr as Volume,wr as VolumeParameter,Ur as VolumeProfile,Wr as WaitForFrames,Gr as WaitForPromise,Hr as WaitForSeconds,Xr as Watch,zr as WebARCameraBackground,Vr as WebARSessionRoot,_r as WebXR,jr as WebXRButtonFactory,Kr as WebXRImageTracking,Qr as WebXRImageTrackingModel,Zr as WebXRPlaneTracking,Yr as WebXRTrackedImage,Jr as XRControllerFollow,$r as XRControllerModel,qr as XRControllerMovement,en as XRFlag,an as XRRig,sn as XRState,tn as XRStateFlag,on as __Ignore,rn as __internalNotifyObjectDestroyed,nn as activeInHierarchyFieldName,ln as addAttributeChangeCallback,dn as addComponent,cn as addCustomExtensionPlugin,mn as addNewComponent,pn as addPatch,gn as apply,un as applyHMRChanges,Sn as applyPrototypeExtensions,Cn as beginListenDestroy,yn as beginListenInstantiate,En as binaryIdentifierCasts,Rn as build_scene_functions,hn as builtinComponentKeyName,vn as calculateProgress01,fn as clearBalloonMessages,Pn as clearOverlayMessages,An as colorSerializer,Tn as compareAssociation,bn as componentSerializer,Mn as copyTexture,In as createMotion,Dn as debugNet,On as debugOwner,xn as decompressGpuTexture,kn as deepClone,Ln as delay,Bn as delayForFrames,Fn as deserializeObject,Nn as destroy,wn as destroyComponentInstance,Un as determineMimeTypeFromExtension,Wn as disposeObjectResources,Gn as disposeStream,Hn as editorGuidKeyName,Xn as enableSpatialConsole,zn as euler,Vn as eventListSerializer,_n as exportAsGLTF,jn as findByGuid,Kn as findObjectOfType,Qn as findObjectsOfType,Zn as findResourceUsers,Yn as fitCamera,Jn as fitObjectIntoVolume,$n as foreachComponent,qn as foreachComponentEnumerator,ei as forward,ai as generateQRCode,si as generateSeed,ti as getBoundingBox,oi as getCameraController,ri as getComponent,ni as getComponentInChildren,ii as getComponentInParent,li as getComponents,di as getComponentsInChildren,ci as getComponentsInParent,mi as getFormattedDate,pi as getIconElement,gi as getIconTexture,ui as getLoader,Si as getOrAddComponent,Ci as getParam,yi as getParentHierarchyPath,Ei as getPath,Ri as getPeerOptions,hi as getPeerjsInstance,vi as getResourceUserCount,fi as getTempColor,Pi as getTempQuaternion,Ai as getTempVector,Ti as getUrlParams,bi as getVisibleInCustomShadowRendering,Mi as getWorldDirection,Ii as getWorldEuler,Di as getWorldPosition,Oi as getWorldQuaternion,xi as getWorldRotation,ki as getWorldScale,Li as hasCommercialLicense,Bi as hasIndieLicense,Fi as hasPointerEventComponent,Ni as hasProLicense,wi as hideDebugConsole,Ui as imageToCanvas,Wi as instantiate,Gi as invokeLoadedImportPluginHooks,Hi as invokeXRSessionEnd,Xi as invokeXRSessionStart,zi as isActiveInHierarchy,Vi as isActiveSelf,_i as isAndroidDevice,ji as isAnimationAction,Ki as isComponent,Qi as isDebugMode,Zi as isDesktop,Yi as isDestroyed,Ji as isDevEnvironment,$i as isDisposed,qi as isExporting,el as isGLTFModel,al as isHostedOnGlitch,sl as isHotReloadEnabled,tl as isHotReloading,ol as isIPad,rl as isIconElement,nl as isLocalNetwork,il as isMacOS,ll as isMobileDevice,dl as isMozillaXR,cl as isQuest,ml as isResourceTrackingEnabled,pl as isSafari,gl as isUsingInstancing,ul as isiOS,Sl as isiPad,p as loadAsset,Cl as loadPMREM,yl as loadSync,El as logHierarchy,Rl as lookAtInverse,hl as lookAtObject,vl as lookAtScreenPoint,fl as makeId,Pl as makeIdFromRandomWords,Al as makeNameSafeForUSD,Tl as markAsInstancedRendered,bl as microphonePermissionsGranted,Ml as nameof,Il as nameofFactory,Dl as objectSerializer,Ol as offXRSessionEnd,xl as offXRSessionStart,i as onAfterRender,l as onBeforeRender,o as onClear,r as onDestroy,n as onInitialized,c as onStart,d as onUpdate,kl as onXRSessionEnd,Ll as onXRSessionStart,Bl as parseSync,Fl as placeOnSurface,Nl as postprocessFBXMaterials,wl as prefix,Ul as pushState,Wl as randomNumber,Gl as registerBinaryType,Hl as registerComponent,Xl as registerComponentExtension,zl as registerCustomEffectType,Vl as registerExportExtensions,_l as registerExtensions,jl as registerHotReloadType,Kl as registerLoader,Ql as registerPrefabProvider,Zl as registerPrototypeExtensions,Yl as registerType,Jl as relativePathPrefix,$l as removeAttributeChangeCallback,ql as removeComponent,ed as removeCustomImportExtensionType,ad as removePatch,sd as resolveUrl,td as sanitizeString,od as saveImage,rd as screenshot,nd as screenshot2,id as sendDestroyed,ld as serializable,dd as serializeObject,cd as serializeable,md as setActive,pd as setAllowBalloonMessages,gd as setAllowOverlayMessages,ud as setAutoFitEnabled,Sd as setCameraController,Cd as setDestroyed,yd as setDevEnvironment,Ed as setDisposable,Rd as setDontDestroy,hd as setOrAddParamsToUrl,vd as setParam,fd as setParamWithoutReload,Pd as setPeerOptions,Ad as setResourceTrackingEnabled,Td as setState,bd as setVisibleInCustomShadowRendering,Md as setWorldEuler,Id as setWorldPosition,Dd as setWorldPositionXYZ,Od as setWorldQuaternion,xd as setWorldQuaternionXYZW,kd as setWorldRotation,Ld as setWorldRotationXYZ,Bd as setWorldScale,Fd as showBalloonError,Nd as showBalloonMessage,wd as showBalloonWarning,Ud as showDebugConsole,Wd as slerp,Gd as syncDestroy,Hd as syncField,Xd as syncInstantiate,zd as textureToCanvas,Vd as toSourceId,_d as tryCastBinary,jd as tryDetermineMimetypeFromBinary,Kd as tryDetermineMimetypeFromURL,Qd as tryFindObject,Zd as tryGetGuid,Yd as unregisterHotReloadType,Jd as unwatchWrite,$d as useForAutoFit,qd as validate,ec as watchWrite};
|
|
1
|
+
import{GameObject as s,onClear as o,onDestroy as r,onInitialized as n,onAfterRender as i,onBeforeRender as l,onUpdate as d,onStart as c,TypeStore as m,loadAsset as p,NeedleXRSession as g,Context as u,VERSION as S,Component as y,Components as E}from"./needle-engine.bundle-C6Ko3O_C.min.js";import{$physicsKey as R,ActionBuilder as h,ActionCollection as v,ActionModel as f,Addressables as P,AlignmentConstraint as A,AmbientMode as T,Animation as b,AnimationCurve as M,AnimationExtension as I,AnimationTrackHandler as D,AnimationUtils as O,Animator as x,AnimatorConditionMode as k,AnimatorController as L,AnimatorControllerParameterType as B,AnimatorStateInfo as F,Antialiasing as N,Application as w,AssetDatabase as U,AssetReference as W,Attractor as G,AudioExtension as H,AudioListener as X,AudioSource as z,AudioTrackHandler as V,Avatar as _,AvatarBlink_Simple as j,AvatarEyeLook_Rotation as K,AvatarLoader as Q,AvatarMarker as Z,AvatarModel as Y,Avatar_Brain_LookAt as J,Avatar_MouthShapes as $,Avatar_MustacheShake as q,Avatar_POI as ee,Axes as ae,AxesHelper as se,BUILD_TIME as te,BaseUIComponent as oe,BasicIKConstraint as re,BehaviorExtension as ne,BehaviorModel as ie,Component$1 as le,BlobStorage as de,BloomEffect as ce,BoxCollider as me,BoxGizmo as pe,BoxHelperComponent as ge,Button as ue,ButtonsFactory as Se,CallDirection as Ce,CallInfo as ye,Camera as Ee,CameraTargetReachedEvent as Re,Canvas as he,CanvasGroup as ve,CapsuleCollider as fe,ChangeMaterialOnClick as Pe,ChangeTransformOnClick as Ae,CharacterController as Te,CharacterControllerInput as be,ChromaticAberration as Me,CircularBuffer as Ie,ClearFlags as De,ClickThrough as Oe,ClipExtrapolation as xe,Collider as ke,Collision as Le,CollisionDetectionMode as Be,ColorAdjustments as Fe,ColorBySpeedModule as Ne,ColorOverLifetimeModule as we,Component$1 as Ue,ComponentLifecycleEvents as We,ConnectionEvents as Ge,ContactPoint as He,ContactShadows as Xe,ContextArgs as ze,ContextEvent as Ve,ContextRegistry as _e,ControlTrackHandler as je,CursorFollow as Ke,CustomBranding as Qe,CustomShader as Ze,DefaultReflectionMode as Ye,Deletable as Je,DeleteBox as $e,DepthOfField as qe,DeviceFlag as ea,DeviceUtilities as aa,DocumentExtension as sa,DragControls as ta,DragMode as oa,DropListener as ra,Duplicatable as na,EffectWrapper as ia,EmissionModule as la,EmphasizeOnClick as da,EngineLoadingView as ca,EnvironmentScene as ma,EventList as pa,EventListEvent as ga,EventSystem as ua,EventTrigger as Sa,FieldWithDefault as Ca,FileReference as ya,FileReferenceSerializer as Ea,FileSpawnModel as Ra,File_Event as ha,FixedJoint as va,Fog as fa,FrameEvent as Pa,GENERATOR as Aa,Gizmos as Ta,GltfExport as ba,GltfExportBox as Ma,Gradient as Ia,Graphic as Da,GraphicRaycaster as Oa,Graphics as xa,GridHelper as ka,GridLayoutGroup as La,GroundProjectedEnv as Ba,GroupActionModel as Fa,HideFlags as Na,HideOnStart as wa,HingeJoint as Ua,HorizontalLayoutGroup as Wa,HostData as Ga,HoverAnimation as Ha,Image as Xa,ImageReference as za,ImageReferenceSerializer as Va,InheritVelocityModule as _a,Input as ja,InputEventQueue as Ka,InputEvents as Qa,InputField as Za,InstanceHandle as Ya,InstancingHandler as Ja,InstancingUtil as $a,InstantiateEvent as qa,InstantiateIdProvider as es,InstantiateOptions as as,Interactable as ss,InternalScreenshotUtils as ts,JoinedRoomResponse as os,KeyEventArgs as rs,Keyframe as ns,LODGroup as is,LODModel as ls,LeftRoomResponse as ds,Light as cs,LightData as ms,LimitVelocityOverLifetimeModule as ps,LoadingElementOptions as gs,LogStats as us,LogType as Ss,LookAt as Cs,LookAtConstraint as ys,MainModule as Es,MarkerTrackHandler as Rs,MarkerType as hs,MaskableGraphic as vs,Mathf as fs,MeshCollider as Ps,MeshRenderer as As,MinMaxCurve as Ts,MinMaxGradient as bs,NEEDLE_ENGINE_FEATURE_FLAGS as Ms,MODULES as Is,NEKeyboardEvent as Ds,NEPointerEvent as Os,NeedleButtonElement as xs,ContextRegistry as ks,NeedleEngineModelLoader as Ls,NeedleEngineWebComponent as Bs,NeedleMenu as Fs,NeedlePatchesKey as Ns,USDZExporter$1 as ws,NeedleXRController as Us,NeedleXRSync as Ws,NeedleXRUtils as Gs,NestedGltf as Hs,NetworkConnection as Xs,NetworkedStreamEvents as zs,NetworkedStreams as Vs,Networking as _s,NewInstanceModel as js,NoiseModule as Ks,ObjectRaycaster as Qs,ObjectUtils as Zs,OffsetConstraint as Ys,OneEuroFilter as Js,OneEuroFilterXYZ as $s,OpenURL as qs,OrbitControls as et,Outline as at,OwnershipEvent as st,OwnershipModel as tt,PUBLIC_KEY as ot,Padding as rt,ParticleBurst as nt,ParticleSubEmitter as it,ParticleSystem as lt,ParticleSystemBaseBehaviour as dt,ParticleSystemRenderer as ct,ParticleSystemShapeType as mt,PeerHandle as pt,PeerNetworking as gt,Physics as ut,PhysicsExtension as St,PhysicsMaterialCombine as Ct,PixelationEffect as yt,PlayAnimationOnClick as Et,PlayAudioOnClick as Rt,PlayableDirector as ht,PlayerColor as vt,PlayerState as ft,PlayerStateEvent as Pt,PlayerSync as At,PlayerView as Tt,PlayerViewManager as bt,PointerEventData as Mt,PointerType as It,PostProcessingEffect as Dt,PostProcessingEffectOrder as Ot,PostProcessingHandler as xt,Volume as kt,PreliminaryAction as Lt,PreliminaryTrigger as Bt,PreviewHelper as Ft,PrimitiveType as Nt,Progress as wt,PromiseAllWithErrors as Ut,PromiseErrorResult as Wt,RGBAColor as Gt,RapierPhysics as Ht,RawImage as Xt,RaycastOptions as zt,Rect as Vt,RectTransform as _t,ReflectionProbe as jt,RegisteredAnimationInfo as Kt,RemoteSkybox as Qt,RenderTexture as Zt,RenderTextureSerializer as Yt,Renderer as Jt,RendererData as $t,RendererLightmap as qt,Rigidbody as eo,RigidbodyConstraints as ao,RoomEvents as so,RotationBySpeedModule as to,RotationOverLifetimeModule as oo,SceneLightSettings as ro,SceneSwitcher as no,ScreenCapture as io,ScreenSpaceAmbientOcclusion as lo,ScreenSpaceAmbientOcclusionN8 as co,ScrollFollow as mo,SeeThrough as po,SendQueue as go,SerializationContext as uo,SetActiveOnClick as So,ShadowCatcher as Co,ShapeModule as yo,ShapeOverlapResult as Eo,SharpeningEffect as Ro,SignalAsset as ho,SignalReceiver as vo,SignalReceiverEvent as fo,SignalTrackHandler as Po,Size as Ao,SizeBySpeedModule as To,SizeOverLifetimeModule as bo,SkinnedMeshRenderer as Mo,SmoothFollow as Io,SpatialGrabRaycaster as Do,SpatialHtml as Oo,SpatialTrigger as xo,SpatialTriggerReceiver as ko,SpectatorCamera as Lo,SphereCollider as Bo,SphereIntersection as Fo,SplineContainer as No,SplineData as wo,SplineUtils as Uo,SplineWalker as Wo,Sprite as Go,SpriteData as Ho,SpriteRenderer as Xo,SpriteSheet as zo,StateMachineBehaviour as Vo,StreamEndedEvent as _o,StreamReceivedEvent as jo,SubEmitterSystem as Ko,SyncedCamera as Qo,SyncedRoom as Zo,SyncedTransform as Yo,TapGestureTrigger as Jo,TeleportTarget as $o,TestRunner as qo,TestSceneUtils as er,TestSimulateUserData as ar,Text as sr,TextBuilder as tr,TextExtension as or,TextureSheetAnimationModule as rr,TiltShiftEffect as nr,Time as ir,ToneMappingEffect as lr,TrackHandler as dr,TrackType as cr,TrailModule as mr,TransformData as pr,TransformGizmo as gr,TriggerBuilder as ur,TriggerModel as Sr,UIRaycastUtils as Cr,UIRootComponent as yr,USDDocument as Er,USDObject as Rr,USDWriter as hr,USDZExporter as vr,USDZText as fr,USDZUIExtension as Pr,UriSerializer as Ar,UsageMarker as Tr,UserJoinedOrLeftRoomModel as br,VariantAction as Mr,VelocityOverLifetimeModule as Ir,VerticalLayoutGroup as Dr,VideoPlayer as Or,ViewBox as xr,ViewDevice as kr,Vignette as Lr,VisibilityAction as Br,Voip as Fr,Volume as Nr,VolumeParameter as wr,VolumeProfile as Ur,WaitForFrames as Wr,WaitForPromise as Gr,WaitForSeconds as Hr,Watch as Xr,WebARCameraBackground as zr,WebARSessionRoot as Vr,WebXR as _r,WebXRButtonFactory as jr,WebXRImageTracking as Kr,WebXRImageTrackingModel as Qr,WebXRPlaneTracking as Zr,WebXRTrackedImage as Yr,XRControllerFollow as Jr,XRControllerModel as $r,XRControllerMovement as qr,XRFlag as en,XRRig as an,XRState as sn,XRStateFlag as tn,__Ignore as on,__internalNotifyObjectDestroyed as rn,activeInHierarchyFieldName as nn,addAttributeChangeCallback as ln,addComponent as dn,addCustomExtensionPlugin as cn,addNewComponent as mn,addPatch as pn,apply as gn,applyHMRChanges as un,applyPrototypeExtensions as Sn,beginListenDestroy as Cn,beginListenInstantiate as yn,binaryIdentifierCasts as En,build_scene_functions as Rn,builtinComponentKeyName as hn,calculateProgress01 as vn,clearMessages as fn,clearMessages as Pn,colorSerializer as An,compareAssociation as Tn,componentSerializer as bn,copyTexture as Mn,createMotion as In,debugNet as Dn,debugOwner as On,decompressGpuTexture as xn,deepClone as kn,delay as Ln,delayForFrames as Bn,deserializeObject as Fn,destroy as Nn,destroyComponentInstance as wn,determineMimeTypeFromExtension as Un,disposeObjectResources as Wn,disposeStream as Gn,editorGuidKeyName as Hn,enableSpatialConsole as Xn,euler as zn,eventListSerializer as Vn,exportAsGLTF as _n,findByGuid as jn,findObjectOfType as Kn,findObjectsOfType as Qn,findResourceUsers as Zn,fitCamera as Yn,fitObjectIntoVolume as Jn,foreachComponent as $n,foreachComponentEnumerator as qn,forward as ei,generateQRCode as ai,generateSeed as si,getBoundingBox as ti,getCameraController as oi,getComponent as ri,getComponentInChildren as ni,getComponentInParent as ii,getComponents as li,getComponentsInChildren as di,getComponentsInParent as ci,getFormattedDate as mi,getIconElement as pi,getIconTexture as gi,getLoader as ui,getOrAddComponent as Si,getParam as Ci,getParentHierarchyPath as yi,getPath as Ei,getPeerOptions as Ri,getPeerjsInstance as hi,getResourceUserCount as vi,getTempColor as fi,getTempQuaternion as Pi,getTempVector as Ai,getUrlParams as Ti,getVisibleInCustomShadowRendering as bi,getWorldDirection as Mi,getWorldEuler as Ii,getWorldPosition as Di,getWorldQuaternion as Oi,getWorldRotation as xi,getWorldScale as ki,hasCommercialLicense as Li,hasIndieLicense as Bi,hasPointerEventComponent as Fi,hasProLicense as Ni,hideDebugConsole as wi,imageToCanvas as Ui,instantiate as Wi,invokeLoadedImportPluginHooks as Gi,invokeXRSessionEnd as Hi,invokeXRSessionStart as Xi,isActiveInHierarchy as zi,isActiveSelf as Vi,isAndroidDevice as _i,isAnimationAction as ji,isComponent as Ki,isDebugMode as Qi,isDesktop as Zi,isDestroyed as Yi,isDevEnvironment as Ji,isDisposed as $i,isExporting as qi,isGLTFModel as el,isHostedOnGlitch as al,isHotReloadEnabled as sl,isHotReloading as tl,isIPad as ol,isIconElement as rl,isLocalNetwork as nl,isMacOS as il,isMobileDevice as ll,isMozillaXR as dl,isQuest as cl,isResourceTrackingEnabled as ml,isSafari as pl,isUsingInstancing as gl,isiOS as ul,isiPad as Sl,loadPMREM as Cl,loadSync as yl,logHierarchy as El,lookAtInverse as Rl,lookAtObject as hl,lookAtScreenPoint as vl,makeId as fl,makeIdFromRandomWords as Pl,makeNameSafe as Al,markAsInstancedRendered as Tl,microphonePermissionsGranted as bl,nameof as Ml,nameofFactory as Il,objectSerializer as Dl,offXRSessionEnd as Ol,offXRSessionStart as xl,onXRSessionEnd as kl,onXRSessionStart as Ll,parseSync as Bl,placeOnSurface as Fl,postprocessFBXMaterials as Nl,prefix as wl,pushState as Ul,randomNumber as Wl,registerBinaryType as Gl,registerComponent as Hl,registerComponentExtension as Xl,registerCustomEffectType as zl,registerExportExtensions as Vl,registerExtensions as _l,registerHotReloadType as jl,registerLoader as Kl,registerPrefabProvider as Ql,registerPrototypeExtensions as Zl,registerType as Yl,relativePathPrefix as Jl,removeAttributeChangeCallback as $l,removeComponent as ql,removeCustomImportExtensionType as ed,removePatch as ad,resolveUrl as sd,sanitizeString as td,saveImage as od,screenshot as rd,screenshot2 as nd,sendDestroyed as id,serializable as ld,serializeObject as dd,serializeable as cd,setActive as md,setAllowBalloonMessages as pd,setAllowOverlayMessages as gd,setAutoFitEnabled as ud,setCameraController as Sd,setDestroyed as Cd,setDevEnvironment as yd,setDisposable as Ed,setDontDestroy as Rd,setOrAddParamsToUrl as hd,setParam as vd,setParamWithoutReload as fd,setPeerOptions as Pd,setResourceTrackingEnabled as Ad,setState as Td,setVisibleInCustomShadowRendering as bd,setWorldEuler as Md,setWorldPosition as Id,setWorldPositionXYZ as Dd,setWorldQuaternion as Od,setWorldQuaternionXYZW as xd,setWorldRotation as kd,setWorldRotationXYZ as Ld,setWorldScale as Bd,showBalloonError as Fd,showBalloonMessage as Nd,showBalloonWarning as wd,showDebugConsole as Ud,slerp as Wd,syncDestroy as Gd,syncField as Hd,syncInstantiate as Xd,textureToCanvas as zd,toSourceId as Vd,tryCastBinary as _d,tryDetermineMimetypeFromBinary as jd,tryDetermineMimetypeFromURL as Kd,tryFindObject as Qd,tryGetGuid as Zd,unregisterHotReloadType as Yd,unwatchWrite as Jd,useForAutoFit as $d,validate as qd,watchWrite as ec}from"./needle-engine.bundle-C6Ko3O_C.min.js";import{NEEDLE_progressive as ac}from"./gltf-progressive-BmSygnAC.min.js";import{THREE as sc}from"./three-W7zWTcfP.min.js";const a={VERSION:S,Context:u,NeedleXRSession:g,assets:{loadFromURL:p},types:m,onStart:c,onUpdate:d,onBeforeRender:l,onAfterRender:i,onInitializedContext:n,onDestroyContext:r,onClearContext:o};globalThis.Needle?.VERSION!==void 0&&console.warn(`Needle Engine is already imported: ${globalThis.Needle.VERSION}`);function C(e){for(const t in e)a[t]=e[t]}C(y),C(E);for(const e of Object.getOwnPropertyNames(s))switch(e){case"prototype":case"constructor":case"length":case"name":continue;default:a[e]=s[e];break}if(!globalThis.Needle)globalThis.Needle=a;else for(const e in a)globalThis.Needle[e]=a[e];globalThis.THREE?console.warn("Three.js is already imported"):globalThis.THREE=sc;export{R as $physicsKey,h as ActionBuilder,v as ActionCollection,f as ActionModel,P as Addressables,A as AlignmentConstraint,T as AmbientMode,b as Animation,M as AnimationCurve,I as AnimationExtension,D as AnimationTrackHandler,O as AnimationUtils,x as Animator,k as AnimatorConditionMode,L as AnimatorController,B as AnimatorControllerParameterType,F as AnimatorStateInfo,N as Antialiasing,w as Application,U as AssetDatabase,W as AssetReference,G as Attractor,H as AudioExtension,X as AudioListener,z as AudioSource,V as AudioTrackHandler,_ as Avatar,j as AvatarBlink_Simple,K as AvatarEyeLook_Rotation,Q as AvatarLoader,Z as AvatarMarker,Y as AvatarModel,J as Avatar_Brain_LookAt,$ as Avatar_MouthShapes,q as Avatar_MustacheShake,ee as Avatar_POI,ae as Axes,se as AxesHelper,te as BUILD_TIME,oe as BaseUIComponent,re as BasicIKConstraint,ne as BehaviorExtension,ie as BehaviorModel,le as Behaviour,de as BlobStorage,ce as BloomEffect,me as BoxCollider,pe as BoxGizmo,ge as BoxHelperComponent,ue as Button,Se as ButtonsFactory,Ce as CallDirection,ye as CallInfo,Ee as Camera,Re as CameraTargetReachedEvent,he as Canvas,ve as CanvasGroup,fe as CapsuleCollider,Pe as ChangeMaterialOnClick,Ae as ChangeTransformOnClick,Te as CharacterController,be as CharacterControllerInput,Me as ChromaticAberration,Ie as CircularBuffer,De as ClearFlags,Oe as ClickThrough,xe as ClipExtrapolation,ke as Collider,Le as Collision,Be as CollisionDetectionMode,Fe as ColorAdjustments,Ne as ColorBySpeedModule,we as ColorOverLifetimeModule,Ue as Component,We as ComponentLifecycleEvents,Ge as ConnectionEvents,He as ContactPoint,Xe as ContactShadows,u as Context,ze as ContextArgs,Ve as ContextEvent,_e as ContextRegistry,je as ControlTrackHandler,Ke as CursorFollow,Qe as CustomBranding,Ze as CustomShader,Ye as DefaultReflectionMode,Je as Deletable,$e as DeleteBox,qe as DepthOfField,ea as DeviceFlag,aa as DeviceUtilities,sa as DocumentExtension,ta as DragControls,oa as DragMode,ra as DropListener,na as Duplicatable,ia as EffectWrapper,la as EmissionModule,da as EmphasizeOnClick,ca as EngineLoadingView,ma as EnvironmentScene,pa as EventList,ga as EventListEvent,ua as EventSystem,Sa as EventTrigger,Ca as FieldWithDefault,ya as FileReference,Ea as FileReferenceSerializer,Ra as FileSpawnModel,ha as File_Event,va as FixedJoint,fa as Fog,Pa as FrameEvent,Aa as GENERATOR,s as GameObject,Ta as Gizmos,ba as GltfExport,Ma as GltfExportBox,Ia as Gradient,Da as Graphic,Oa as GraphicRaycaster,xa as Graphics,ka as GridHelper,La as GridLayoutGroup,Ba as GroundProjectedEnv,Fa as GroupActionModel,Na as HideFlags,wa as HideOnStart,Ua as HingeJoint,Wa as HorizontalLayoutGroup,Ga as HostData,Ha as HoverAnimation,Xa as Image,za as ImageReference,Va as ImageReferenceSerializer,_a as InheritVelocityModule,ja as Input,Ka as InputEventQueue,Qa as InputEvents,Za as InputField,Ya as InstanceHandle,Ja as InstancingHandler,$a as InstancingUtil,qa as InstantiateEvent,es as InstantiateIdProvider,as as InstantiateOptions,ss as Interactable,ts as InternalScreenshotUtils,os as JoinedRoomResponse,rs as KeyEventArgs,ns as Keyframe,is as LODGroup,ls as LODModel,ds as LeftRoomResponse,cs as Light,ms as LightData,ps as LimitVelocityOverLifetimeModule,gs as LoadingElementOptions,us as LogStats,Ss as LogType,Cs as LookAt,ys as LookAtConstraint,Es as MainModule,Rs as MarkerTrackHandler,hs as MarkerType,vs as MaskableGraphic,fs as Mathf,Ps as MeshCollider,As as MeshRenderer,Ts as MinMaxCurve,bs as MinMaxGradient,Ms as NEEDLE_ENGINE_FEATURE_FLAGS,Is as NEEDLE_ENGINE_MODULES,ac as NEEDLE_progressive,Ds as NEKeyboardEvent,Os as NEPointerEvent,xs as NeedleButtonElement,ks as NeedleEngine,Ls as NeedleEngineModelLoader,Bs as NeedleEngineWebComponent,Fs as NeedleMenu,Ns as NeedlePatchesKey,ws as NeedleUSDZExporter,Us as NeedleXRController,g as NeedleXRSession,Ws as NeedleXRSync,Gs as NeedleXRUtils,Hs as NestedGltf,Xs as NetworkConnection,zs as NetworkedStreamEvents,Vs as NetworkedStreams,_s as Networking,js as NewInstanceModel,Ks as NoiseModule,Qs as ObjectRaycaster,Zs as ObjectUtils,Ys as OffsetConstraint,Js as OneEuroFilter,$s as OneEuroFilterXYZ,qs as OpenURL,et as OrbitControls,at as Outline,st as OwnershipEvent,tt as OwnershipModel,ot as PUBLIC_KEY,rt as Padding,nt as ParticleBurst,it as ParticleSubEmitter,lt as ParticleSystem,dt as ParticleSystemBaseBehaviour,ct as ParticleSystemRenderer,mt as ParticleSystemShapeType,pt as PeerHandle,gt as PeerNetworking,ut as Physics,St as PhysicsExtension,Ct as PhysicsMaterialCombine,yt as PixelationEffect,Et as PlayAnimationOnClick,Rt as PlayAudioOnClick,ht as PlayableDirector,vt as PlayerColor,ft as PlayerState,Pt as PlayerStateEvent,At as PlayerSync,Tt as PlayerView,bt as PlayerViewManager,Mt as PointerEventData,It as PointerType,Dt as PostProcessingEffect,Ot as PostProcessingEffectOrder,xt as PostProcessingHandler,kt as PostProcessingManager,Lt as PreliminaryAction,Bt as PreliminaryTrigger,Ft as PreviewHelper,Nt as PrimitiveType,wt as Progress,Ut as PromiseAllWithErrors,Wt as PromiseErrorResult,Gt as RGBAColor,Ht as RapierPhysics,Xt as RawImage,zt as RaycastOptions,Vt as Rect,_t as RectTransform,jt as ReflectionProbe,Kt as RegisteredAnimationInfo,Qt as RemoteSkybox,Zt as RenderTexture,Yt as RenderTextureSerializer,Jt as Renderer,$t as RendererData,qt as RendererLightmap,eo as Rigidbody,ao as RigidbodyConstraints,so as RoomEvents,to as RotationBySpeedModule,oo as RotationOverLifetimeModule,ro as SceneLightSettings,no as SceneSwitcher,io as ScreenCapture,lo as ScreenSpaceAmbientOcclusion,co as ScreenSpaceAmbientOcclusionN8,mo as ScrollFollow,po as SeeThrough,go as SendQueue,uo as SerializationContext,So as SetActiveOnClick,Co as ShadowCatcher,yo as ShapeModule,Eo as ShapeOverlapResult,Ro as SharpeningEffect,ho as SignalAsset,vo as SignalReceiver,fo as SignalReceiverEvent,Po as SignalTrackHandler,Ao as Size,To as SizeBySpeedModule,bo as SizeOverLifetimeModule,Mo as SkinnedMeshRenderer,Io as SmoothFollow,Do as SpatialGrabRaycaster,Oo as SpatialHtml,xo as SpatialTrigger,ko as SpatialTriggerReceiver,Lo as SpectatorCamera,Bo as SphereCollider,Fo as SphereIntersection,No as SplineContainer,wo as SplineData,Uo as SplineUtils,Wo as SplineWalker,Go as Sprite,Ho as SpriteData,Xo as SpriteRenderer,zo as SpriteSheet,Vo as StateMachineBehaviour,_o as StreamEndedEvent,jo as StreamReceivedEvent,Ko as SubEmitterSystem,Qo as SyncedCamera,Zo as SyncedRoom,Yo as SyncedTransform,Jo as TapGestureTrigger,$o as TeleportTarget,qo as TestRunner,er as TestSceneUtils,ar as TestSimulateUserData,sr as Text,tr as TextBuilder,or as TextExtension,rr as TextureSheetAnimationModule,nr as TiltShiftEffect,ir as Time,lr as ToneMappingEffect,dr as TrackHandler,cr as TrackType,mr as TrailModule,pr as TransformData,gr as TransformGizmo,ur as TriggerBuilder,Sr as TriggerModel,m as TypeStore,Cr as UIRaycastUtils,yr as UIRootComponent,Er as USDDocument,Rr as USDObject,hr as USDWriter,vr as USDZExporter,fr as USDZText,Pr as USDZUIExtension,Ar as UriSerializer,Tr as UsageMarker,br as UserJoinedOrLeftRoomModel,S as VERSION,Mr as VariantAction,Ir as VelocityOverLifetimeModule,Dr as VerticalLayoutGroup,Or as VideoPlayer,xr as ViewBox,kr as ViewDevice,Lr as Vignette,Br as VisibilityAction,Fr as Voip,Nr as Volume,wr as VolumeParameter,Ur as VolumeProfile,Wr as WaitForFrames,Gr as WaitForPromise,Hr as WaitForSeconds,Xr as Watch,zr as WebARCameraBackground,Vr as WebARSessionRoot,_r as WebXR,jr as WebXRButtonFactory,Kr as WebXRImageTracking,Qr as WebXRImageTrackingModel,Zr as WebXRPlaneTracking,Yr as WebXRTrackedImage,Jr as XRControllerFollow,$r as XRControllerModel,qr as XRControllerMovement,en as XRFlag,an as XRRig,sn as XRState,tn as XRStateFlag,on as __Ignore,rn as __internalNotifyObjectDestroyed,nn as activeInHierarchyFieldName,ln as addAttributeChangeCallback,dn as addComponent,cn as addCustomExtensionPlugin,mn as addNewComponent,pn as addPatch,gn as apply,un as applyHMRChanges,Sn as applyPrototypeExtensions,Cn as beginListenDestroy,yn as beginListenInstantiate,En as binaryIdentifierCasts,Rn as build_scene_functions,hn as builtinComponentKeyName,vn as calculateProgress01,fn as clearBalloonMessages,Pn as clearOverlayMessages,An as colorSerializer,Tn as compareAssociation,bn as componentSerializer,Mn as copyTexture,In as createMotion,Dn as debugNet,On as debugOwner,xn as decompressGpuTexture,kn as deepClone,Ln as delay,Bn as delayForFrames,Fn as deserializeObject,Nn as destroy,wn as destroyComponentInstance,Un as determineMimeTypeFromExtension,Wn as disposeObjectResources,Gn as disposeStream,Hn as editorGuidKeyName,Xn as enableSpatialConsole,zn as euler,Vn as eventListSerializer,_n as exportAsGLTF,jn as findByGuid,Kn as findObjectOfType,Qn as findObjectsOfType,Zn as findResourceUsers,Yn as fitCamera,Jn as fitObjectIntoVolume,$n as foreachComponent,qn as foreachComponentEnumerator,ei as forward,ai as generateQRCode,si as generateSeed,ti as getBoundingBox,oi as getCameraController,ri as getComponent,ni as getComponentInChildren,ii as getComponentInParent,li as getComponents,di as getComponentsInChildren,ci as getComponentsInParent,mi as getFormattedDate,pi as getIconElement,gi as getIconTexture,ui as getLoader,Si as getOrAddComponent,Ci as getParam,yi as getParentHierarchyPath,Ei as getPath,Ri as getPeerOptions,hi as getPeerjsInstance,vi as getResourceUserCount,fi as getTempColor,Pi as getTempQuaternion,Ai as getTempVector,Ti as getUrlParams,bi as getVisibleInCustomShadowRendering,Mi as getWorldDirection,Ii as getWorldEuler,Di as getWorldPosition,Oi as getWorldQuaternion,xi as getWorldRotation,ki as getWorldScale,Li as hasCommercialLicense,Bi as hasIndieLicense,Fi as hasPointerEventComponent,Ni as hasProLicense,wi as hideDebugConsole,Ui as imageToCanvas,Wi as instantiate,Gi as invokeLoadedImportPluginHooks,Hi as invokeXRSessionEnd,Xi as invokeXRSessionStart,zi as isActiveInHierarchy,Vi as isActiveSelf,_i as isAndroidDevice,ji as isAnimationAction,Ki as isComponent,Qi as isDebugMode,Zi as isDesktop,Yi as isDestroyed,Ji as isDevEnvironment,$i as isDisposed,qi as isExporting,el as isGLTFModel,al as isHostedOnGlitch,sl as isHotReloadEnabled,tl as isHotReloading,ol as isIPad,rl as isIconElement,nl as isLocalNetwork,il as isMacOS,ll as isMobileDevice,dl as isMozillaXR,cl as isQuest,ml as isResourceTrackingEnabled,pl as isSafari,gl as isUsingInstancing,ul as isiOS,Sl as isiPad,p as loadAsset,Cl as loadPMREM,yl as loadSync,El as logHierarchy,Rl as lookAtInverse,hl as lookAtObject,vl as lookAtScreenPoint,fl as makeId,Pl as makeIdFromRandomWords,Al as makeNameSafeForUSD,Tl as markAsInstancedRendered,bl as microphonePermissionsGranted,Ml as nameof,Il as nameofFactory,Dl as objectSerializer,Ol as offXRSessionEnd,xl as offXRSessionStart,i as onAfterRender,l as onBeforeRender,o as onClear,r as onDestroy,n as onInitialized,c as onStart,d as onUpdate,kl as onXRSessionEnd,Ll as onXRSessionStart,Bl as parseSync,Fl as placeOnSurface,Nl as postprocessFBXMaterials,wl as prefix,Ul as pushState,Wl as randomNumber,Gl as registerBinaryType,Hl as registerComponent,Xl as registerComponentExtension,zl as registerCustomEffectType,Vl as registerExportExtensions,_l as registerExtensions,jl as registerHotReloadType,Kl as registerLoader,Ql as registerPrefabProvider,Zl as registerPrototypeExtensions,Yl as registerType,Jl as relativePathPrefix,$l as removeAttributeChangeCallback,ql as removeComponent,ed as removeCustomImportExtensionType,ad as removePatch,sd as resolveUrl,td as sanitizeString,od as saveImage,rd as screenshot,nd as screenshot2,id as sendDestroyed,ld as serializable,dd as serializeObject,cd as serializeable,md as setActive,pd as setAllowBalloonMessages,gd as setAllowOverlayMessages,ud as setAutoFitEnabled,Sd as setCameraController,Cd as setDestroyed,yd as setDevEnvironment,Ed as setDisposable,Rd as setDontDestroy,hd as setOrAddParamsToUrl,vd as setParam,fd as setParamWithoutReload,Pd as setPeerOptions,Ad as setResourceTrackingEnabled,Td as setState,bd as setVisibleInCustomShadowRendering,Md as setWorldEuler,Id as setWorldPosition,Dd as setWorldPositionXYZ,Od as setWorldQuaternion,xd as setWorldQuaternionXYZW,kd as setWorldRotation,Ld as setWorldRotationXYZ,Bd as setWorldScale,Fd as showBalloonError,Nd as showBalloonMessage,wd as showBalloonWarning,Ud as showDebugConsole,Wd as slerp,Gd as syncDestroy,Hd as syncField,Xd as syncInstantiate,zd as textureToCanvas,Vd as toSourceId,_d as tryCastBinary,jd as tryDetermineMimetypeFromBinary,Kd as tryDetermineMimetypeFromURL,Qd as tryFindObject,Zd as tryGetGuid,Yd as unregisterHotReloadType,Jd as unwatchWrite,$d as useForAutoFit,qd as validate,ec as watchWrite};
|