@needle-tools/engine 4.1.0-beta.4 → 4.1.0-beta.6
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 +28 -18
- package/components.needle.json +1 -1
- package/dist/needle-engine.bundle.js +2700 -2688
- package/dist/needle-engine.bundle.light.js +2699 -2687
- package/dist/needle-engine.bundle.light.min.js +110 -110
- package/dist/needle-engine.bundle.light.umd.cjs +101 -101
- package/dist/needle-engine.bundle.min.js +110 -110
- package/dist/needle-engine.bundle.umd.cjs +113 -113
- package/dist/needle-engine.d.ts +136 -0
- package/dist/needle-engine.js +202 -201
- package/dist/needle-engine.light.d.ts +136 -0
- package/dist/needle-engine.light.js +202 -201
- package/dist/needle-engine.light.min.js +1 -1
- package/dist/needle-engine.light.umd.cjs +1 -1
- package/dist/needle-engine.min.js +1 -1
- package/dist/needle-engine.umd.cjs +1 -1
- package/dist/three-examples.js +2795 -2436
- package/dist/three-examples.light.js +2795 -2436
- package/dist/three-examples.light.min.js +47 -15
- package/dist/three-examples.light.umd.cjs +47 -15
- package/dist/three-examples.min.js +47 -15
- package/dist/three-examples.umd.cjs +47 -15
- package/dist/three.js +67 -62
- package/dist/three.light.js +67 -62
- package/dist/three.light.min.js +170 -170
- package/dist/three.light.umd.cjs +170 -170
- package/dist/three.min.js +170 -170
- package/dist/three.umd.cjs +170 -170
- package/dist/vendor.js +1 -1
- package/dist/vendor.light.js +1 -1
- package/dist/vendor.light.min.js +1 -1
- package/dist/vendor.min.js +1 -1
- package/lib/engine/engine_context.d.ts +1 -0
- package/lib/engine/engine_context.js +1 -0
- package/lib/engine/engine_context.js.map +1 -1
- package/lib/engine/engine_physics_rapier.d.ts +1 -1
- package/lib/engine/engine_physics_rapier.js +17 -12
- package/lib/engine/engine_physics_rapier.js.map +1 -1
- package/lib/engine/engine_scenetools.js +6 -2
- package/lib/engine/engine_scenetools.js.map +1 -1
- package/lib/engine/engine_types.d.ts +1 -1
- package/lib/engine-components/Collider.js +4 -5
- package/lib/engine-components/Collider.js.map +1 -1
- package/lib/engine-components/RigidBody.js +2 -2
- package/lib/engine-components/RigidBody.js.map +1 -1
- package/lib/engine-components/export/usdz/ThreeUSDZExporter.d.ts +1 -1
- package/lib/engine-components/export/usdz/ThreeUSDZExporter.js +1 -1
- package/lib/engine-components/export/usdz/index.d.ts +1 -1
- package/lib/engine-components/export/usdz/index.js +1 -1
- package/lib/engine-components/export/usdz/index.js.map +1 -1
- package/lib/engine-components/particlesystem/ParticleSystem.d.ts +5 -6
- package/lib/engine-components/particlesystem/ParticleSystem.js +23 -9
- package/lib/engine-components/particlesystem/ParticleSystem.js.map +1 -1
- package/lib/engine-components/particlesystem/ParticleSystemModules.js +7 -1
- package/lib/engine-components/particlesystem/ParticleSystemModules.js.map +1 -1
- package/package.json +11 -5
- package/src/engine/engine_context.ts +2 -0
- package/src/engine/engine_physics_rapier.ts +20 -10
- package/src/engine/engine_scenetools.ts +6 -2
- package/src/engine/engine_types.ts +1 -1
- package/src/engine-components/Collider.ts +4 -4
- package/src/engine-components/RigidBody.ts +2 -2
- package/src/engine-components/export/usdz/ThreeUSDZExporter.ts +1 -1
- package/src/engine-components/export/usdz/index.ts +1 -1
- package/src/engine-components/particlesystem/ParticleSystem.ts +26 -10
- package/src/engine-components/particlesystem/ParticleSystemModules.ts +9 -2
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
export { }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
declare module 'three' {
|
|
5
|
+
interface SkinnedMesh {
|
|
6
|
+
staticGenerator?: StaticGeometryGenerator;
|
|
7
|
+
staticGeometry?: BufferGeometry;
|
|
8
|
+
staticGeometryLastUpdate?: number;
|
|
9
|
+
}
|
|
10
|
+
interface Mesh {
|
|
11
|
+
acceleratedRaycast?: any;
|
|
12
|
+
}
|
|
13
|
+
interface SkinnedMesh {
|
|
14
|
+
autoUpdateMeshBVH?: boolean;
|
|
15
|
+
bvhNeedsUpdate?: boolean;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare global {
|
|
20
|
+
interface NavigatorUAData {
|
|
21
|
+
platform: string;
|
|
22
|
+
}
|
|
23
|
+
interface Navigator {
|
|
24
|
+
userAgentData?: NavigatorUAData;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare module 'three' {
|
|
29
|
+
interface Object3D {
|
|
30
|
+
get guid(): string | undefined;
|
|
31
|
+
set guid(value: string | undefined);
|
|
32
|
+
/**
|
|
33
|
+
* Add a Needle Engine component to the {@link Object3D}.
|
|
34
|
+
* @param comp The component instance or constructor to add.
|
|
35
|
+
* @param init Optional initialization data for the component.
|
|
36
|
+
* @returns The added component instance.
|
|
37
|
+
* @example Directly pass in constructor and properties:
|
|
38
|
+
* ```ts
|
|
39
|
+
* const obj = new Object3D();
|
|
40
|
+
* obj.addComponent(MyComponent, { myProperty: 42 });
|
|
41
|
+
* ```
|
|
42
|
+
* @example Create a component instance, assign properties and then add it:
|
|
43
|
+
* ```ts
|
|
44
|
+
* const obj = new Object3D();
|
|
45
|
+
* const comp = new MyComponent();
|
|
46
|
+
* comp.myProperty = 42;
|
|
47
|
+
* obj.addComponent(comp);
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
addComponent<T extends IComponent>(comp: T | ConstructorConcrete<T>, init?: ComponentInit<T>): T;
|
|
51
|
+
/**
|
|
52
|
+
* Remove a Needle Engine component from the {@link Object3D}.
|
|
53
|
+
*/
|
|
54
|
+
removeComponent(inst: IComponent): IComponent;
|
|
55
|
+
/**
|
|
56
|
+
* Get or add a Needle Engine component to the Object3D.
|
|
57
|
+
* If the component already exists, it will be returned. Otherwise, a new component will be added.
|
|
58
|
+
* @param typeName The component constructor to get or add.
|
|
59
|
+
* @param init Optional initialization data for the component.
|
|
60
|
+
* @returns The component instance.
|
|
61
|
+
*/
|
|
62
|
+
getOrAddComponent<T extends IComponent>(typeName: ConstructorConcrete<T>, init?: ComponentInit<T>): T;
|
|
63
|
+
/**
|
|
64
|
+
* Get a Needle Engine component from the {@link Object3D}.
|
|
65
|
+
* @returns The component instance or null if not found.
|
|
66
|
+
*/
|
|
67
|
+
getComponent<T extends IComponent>(type: Constructor<T>): T | null;
|
|
68
|
+
/**
|
|
69
|
+
* Get all components of a specific type from the {@link Object3D}.
|
|
70
|
+
* @param arr Optional array to fill with the found components.
|
|
71
|
+
* @returns An array of components.
|
|
72
|
+
*/
|
|
73
|
+
getComponents<T extends IComponent>(type: Constructor<T>, arr?: []): T[];
|
|
74
|
+
/**
|
|
75
|
+
* Get a Needle Engine component from the {@link Object3D} or its children. This will search on the current Object and all its children.
|
|
76
|
+
* @returns The component instance or null if not found.
|
|
77
|
+
*/
|
|
78
|
+
getComponentInChildren<T extends IComponent>(type: Constructor<T>): T | null;
|
|
79
|
+
/**
|
|
80
|
+
* Get all components of a specific type from the {@link Object3D} or its children. This will search on the current Object and all its children.
|
|
81
|
+
* @param arr Optional array to fill with the found components.
|
|
82
|
+
* @returns An array of components.
|
|
83
|
+
*/
|
|
84
|
+
getComponentsInChildren<T extends IComponent>(type: Constructor<T>, arr?: []): T[];
|
|
85
|
+
/**
|
|
86
|
+
* Get a Needle Engine component from the {@link Object3D} or its parents. This will search on the current Object and all its parents.
|
|
87
|
+
* @returns The component instance or null if not found.
|
|
88
|
+
*/
|
|
89
|
+
getComponentInParent<T extends IComponent>(type: Constructor<T>): T | null;
|
|
90
|
+
/**
|
|
91
|
+
* Get all Needle Engine components of a specific type from the {@link Object3D} or its parents. This will search on the current Object and all its parents.
|
|
92
|
+
* @param arr Optional array to fill with the found components.
|
|
93
|
+
* @returns An array of components.
|
|
94
|
+
*/
|
|
95
|
+
getComponentsInParent<T extends IComponent>(type: Constructor<T>, arr?: []): T[];
|
|
96
|
+
/**
|
|
97
|
+
* Destroys the {@link Object3D} and all its Needle Engine components.
|
|
98
|
+
*/
|
|
99
|
+
destroy(): void;
|
|
100
|
+
/**
|
|
101
|
+
* Get or set the world position of the {@link Object3D}.
|
|
102
|
+
* Added by Needle Engine.
|
|
103
|
+
*/
|
|
104
|
+
worldPosition: Vector3;
|
|
105
|
+
/**
|
|
106
|
+
* Get or set the world quaternion of the {@link Object3D}.
|
|
107
|
+
* Added by Needle Engine.
|
|
108
|
+
*/
|
|
109
|
+
worldQuaternion: Quaternion;
|
|
110
|
+
/**
|
|
111
|
+
* Get or set the world rotation of the {@link Object3D}.
|
|
112
|
+
* Added by Needle Engine.
|
|
113
|
+
*/
|
|
114
|
+
worldRotation: Vector3;
|
|
115
|
+
/**
|
|
116
|
+
* Get or set the world scale of the {@link Object3D}.
|
|
117
|
+
* Added by Needle Engine.
|
|
118
|
+
*/
|
|
119
|
+
worldScale: Vector3;
|
|
120
|
+
/**
|
|
121
|
+
* Get the world forward vector of the {@link Object3D}.
|
|
122
|
+
* Added by Needle Engine.
|
|
123
|
+
*/
|
|
124
|
+
get worldForward(): Vector3;
|
|
125
|
+
/**
|
|
126
|
+
* Get the world right vector of the {@link Object3D}.
|
|
127
|
+
* Added by Needle Engine.
|
|
128
|
+
*/
|
|
129
|
+
get worldRight(): Vector3;
|
|
130
|
+
/**
|
|
131
|
+
* Get the world up vector of the {@link Object3D}.
|
|
132
|
+
* Added by Needle Engine.
|
|
133
|
+
*/
|
|
134
|
+
get worldUp(): Vector3;
|
|
135
|
+
}
|
|
136
|
+
}
|
package/dist/needle-engine.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { G as t, V as n, C as i, N as l, l as d, o as c, a as g, b as m, c as p, d as h } from "./needle-engine.bundle.js";
|
|
2
|
-
import { cW as v, fq as P, f7 as
|
|
3
|
-
import { N as
|
|
2
|
+
import { cW as v, fq as P, f7 as T, fp as A, F as I, ep as M, bY as O, eq as D, es as L, f5 as x, gY as k, A as N, et as B, e0 as F, eu as G, e1 as w, d_ as U, gd as W, R as H, Q as X, S as z, H as V, f8 as _, ev as j, ew as K, gZ as Q, hv as Z, eB as Y, eC as J, eE as $, hD as q, eD as ee, ey as ae, ez as se, eA as te, ex as oe, bT as re, eF as ne, ag as ie, h1 as le, eG as de, f9 as ce, fl as ge, el as me, bh as pe, ge as he, eN as fe, fA as be, eH as ue, h3 as Se, e6 as Ce, bD as ye, eZ as Ee, eI as Re, fP as ve, h4 as Pe, h5 as Te, eP as Ae, fb as Ie, fa as Me, eJ as Oe, eK as De, gf as Le, d1 as xe, em as ke, hV as Ne, eL as Be, cY as Fe, bR as Ge, gg as we, ga as Ue, f_ as We, el as He, ae as Xe, b9 as ze, cX as Ve, eQ as _e, am as je, ap as Ke, aq as Qe, g$ as Ze, fx as Ye, dS as Je, bZ as $e, eT as qe, eS as ea, gh as aa, eU as sa, dn as ta, fs as oa, eV as ra, en as na, eX as ia, eW as la, eY as da, gi as ca, fZ as ga, fe as ma, az as pa, e$ as ha, e_ as fa, h6 as ba, f0 as ua, gv as Sa, O as Ca, P as ya, bj as Ea, bi as Ra, fF as va, fz as Pa, an as Ta, af as Aa, f as Ia, f2 as Ma, f1 as Oa, c2 as Da, c1 as La, fU as xa, h7 as ka, hj as Na, cJ as Ba, fB as Fa, hf as Ga, fC as wa, fo as Ua, aA as Wa, fd as Ha, fG as Xa, he as za, bq as Va, h9 as _a, J as ja, K as Ka, g8 as Qa, a$ as Za, a_ as Ya, aW as Ja, hb as $a, gA as qa, gz as es, I as as, bm as ss, bl as ts, aB as os, fE as rs, dN as ns, bb as is, aZ as ls, er as ds, fJ as cs, fI as gs, bc as ms, fH as ps, b$ as hs, g7 as fs, ax as bs, eR as us, L as Ss, hr as Cs, fK as ys, fX as Es, hW as Rs, h8 as vs, b4 as Ps, eO as Ts, gx as As, fV as Is, fW as Ms, M as Os, aY as Ds, aX as Ls, e7 as xs, aq as ks, aw as Ns, c0 as Bs, fL as Fs, bM as Gs, hO as ws, ei as Us, ej as Ws, ek as Hs, fM as Xs, bg as zs, bA as Vs, bF as _s, fN as js, br as Ks, g1 as Qs, hi as Zs, av as Ys, fO as Js, b5 as $s, b6 as qs, hs as et, fQ as at, hg as st, be as tt, bf as ot, ah as rt, hc as nt, fY as it, gb as lt, fS as dt, h_ as ct, fR as gt, h$ as mt, bE as pt, bz as ht, bP as ft, fr as bt, bQ as ut, gj as St, fg as Ct, ff as yt, gU as Et, gc as Rt, i2 as vt, i1 as Pt, i0 as Tt, bW as At, bX as It, hh as Mt, aV as Ot, hS as Dt, gq as Lt, gr as xt, fh as kt, fi as Nt, bk as Bt, au as Ft, cU as Gt, dG as wt, dF as Ut, e5 as Wt, bU as Ht, ha as Xt, bN as zt, hn as Vt, ho as _t, gu as jt, f3 as Kt, gG as Qt, ck as Zt, ch as Yt, gw as Jt, b_ as $t, gB as qt, gC as eo, bS as ao, ba as so, g6 as to, g5 as oo, dR as ro, gD as no, gE as io, gk as lo, gl as co, bH as go, c8 as mo, fc as po, gF as ho, g0 as fo, gm as bo, gV as uo, gX as So, gW as Co, g_ as yo, hm as Eo, g9 as Ro, f$ as vo, gy as Po, gH as To, hk as Ao, hp as Io, gJ as Mo, gI as Oo, gK as Do, eM as Lo, bO as xo, cZ as ko, gL as No, gN as Bo, gO as Fo, gM as Go, dZ as wo, bB as Uo, bC as Wo, fT as Ho, gP as Xo, gQ as zo, gR as Vo, fk as _o, hz as jo, gS as Ko, cj as Qo, gT as Zo, hq as Yo, fu as Jo, fv as $o, g4 as qo, gn as er, cS as ar, go as sr, hX as tr, hU as or, g2 as rr, f4 as nr, h0 as ir, fn as lr, fm as dr, T as cr, hl as gr, h2 as mr, hP as pr, hQ as hr, hR as fr, fy as br, ft as ur, fw as Sr, ci as Cr, fD as yr, bd as Er, f6 as Rr, g3 as vr, hd as Pr, ht as Tr, bV as Ar, gp as Ir, fj as Mr, hu as Or, gr as Dr, gs as Lr, gt as xr, as as kr, at as Nr, ar as Br, dk as Fr, hA as Gr, hB as wr, hC as Ur, e8 as Wr, hG as Hr, hF as Xr, hH as zr, hE as Vr, hw as _r, hx as jr, hy as Kr, hK as Qr, hI as Zr, hJ as Yr, hZ as Jr, eo as $r, _ as qr, ai as en, dD as an, a4 as sn, dT as tn, c3 as on, a3 as rn, bK as nn, e4 as ln, aU as dn, e2 as cn, bp as gn, bu as mn, i3 as pn, al as hn, aj as fn, ay as bn, m as un, m as Sn, cc as Cn, dQ as yn, cf as En, cK as Rn, c5 as vn, d$ as Pn, b7 as Tn, b8 as An, hL as In, de as Mn, df as On, dg as Dn, c7 as Ln, aL as xn, a5 as kn, Z as Nn, bG as Bn, ak as Fn, B as Gn, cd as wn, cg as Un, dP as Wn, aH as Hn, ac as Xn, ad as zn, $ as Vn, cP as _n, aM as jn, aN as Kn, cz as Qn, dH as Zn, bt as Yn, cO as Jn, g as $n, a6 as qn, a8 as ei, aa as ai, a7 as si, a9 as ti, ab as oi, cT as ri, e9 as ni, eb as ii, dB as li, dC as di, dA as ci, aP as gi, a2 as mi, d3 as pi, cH as hi, di as fi, bw as bi, by as ui, a0 as Si, cp as Ci, cq as yi, co as Ei, d2 as Ri, cN as vi, cA as Pi, cB as Ti, cr as Ai, cu as Ii, cD as Mi, cx as Oi, h as Di, i as Li, hY as xi, j as ki, E as Ni, hM as Bi, aO as Fi, dY as Gi, eh as wi, eg as Ui, aE as Wi, aC as Hi, dt as Xi, cI as zi, cV as Vi, d0 as _i, dp as ji, aI as Ki, y as Qi, Y as Zi, dO as Yi, bJ as Ji, aR as $i, dr as qi, ea as el, bI as al, dv as sl, dq as tl, du as ol, dy as rl, W as nl, dx as il, aG as ll, dw as dl, ds as cl, cG as gl, cm as ml, cn as pl, d9 as hl, db as fl, hN as bl, aF as ul, dz as Sl, c$ as Cl, c_ as yl, ce as El, ef as Rl, ed as vl, b3 as Pl, b1 as Tl, b2 as Al, b0 as Il, ee as Ml, ec as Ol, c6 as Dl, cQ as Ll, cR as xl, p as kl, d7 as Nl, da as Bl, i4 as Fl, ao as Gl, dV as wl, hT as Ul, dX as Wl, dW as Hl, aS as Xl, aQ as zl, bv as Vl, e3 as _l, r as jl, dh as Kl, dE as Ql, a1 as Zl, dU as Yl, c4 as Jl, bL as $l, dj as ql, dc as ed, dM as ad, dK as sd, dL as td, bo as od, ca as rd, c9 as nd, cb as id, aD as ld, n as dd, q as cd, s as gd, e as md, aJ as pd, z as hd, X as fd, aK as bd, d6 as ud, d4 as Sd, d5 as Cd, bx as yd, U as Ed, d8 as Rd, cM as vd, cC as Pd, cs as Td, ct as Ad, cv as Id, cw as Md, cE as Od, cF as Dd, cy as Ld, x as xd, t as kd, w as Nd, D as Bd, cl as Fd, bn as Gd, k as wd, bs as Ud, cL as Wd, i5 as Hd, dJ as Xd, dI as zd, dd as Vd, i6 as _d, aT as jd, dm as Kd, u as Qd, v as Zd, dl as Yd } from "./needle-engine.bundle.js";
|
|
3
|
+
import { N as $d } from "./gltf-progressive.js";
|
|
4
4
|
import { f } from "./three.js";
|
|
5
5
|
import "./three-examples.js";
|
|
6
6
|
import "./vendor.js";
|
|
@@ -46,8 +46,8 @@ globalThis.THREE ? console.warn("Three.js is already imported") : globalThis.THR
|
|
|
46
46
|
export {
|
|
47
47
|
v as $physicsKey,
|
|
48
48
|
P as ActionBuilder,
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
T as ActionCollection,
|
|
50
|
+
A as ActionModel,
|
|
51
51
|
I as Addressables,
|
|
52
52
|
M as AlignmentConstraint,
|
|
53
53
|
O as AmbientMode,
|
|
@@ -100,8 +100,8 @@ export {
|
|
|
100
100
|
Re as Camera,
|
|
101
101
|
ve as CameraTargetReachedEvent,
|
|
102
102
|
Pe as Canvas,
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
Te as CanvasGroup,
|
|
104
|
+
Ae as CapsuleCollider,
|
|
105
105
|
Ie as ChangeMaterialOnClick,
|
|
106
106
|
Me as ChangeTransformOnClick,
|
|
107
107
|
Oe as CharacterController,
|
|
@@ -155,8 +155,8 @@ export {
|
|
|
155
155
|
Ra as File_Event,
|
|
156
156
|
va as FixedJoint,
|
|
157
157
|
Pa as Fog,
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
Ta as FrameEvent,
|
|
159
|
+
Aa as GENERATOR,
|
|
160
160
|
t as GameObject,
|
|
161
161
|
Ia as Gizmos,
|
|
162
162
|
Ma as GltfExport,
|
|
@@ -210,12 +210,12 @@ export {
|
|
|
210
210
|
Rs as MarkerType,
|
|
211
211
|
vs as MaskableGraphic,
|
|
212
212
|
Ps as Mathf,
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
Ts as MeshCollider,
|
|
214
|
+
As as MeshRenderer,
|
|
215
215
|
Is as MinMaxCurve,
|
|
216
216
|
Ms as MinMaxGradient,
|
|
217
217
|
Os as NEEDLE_ENGINE_MODULES,
|
|
218
|
-
|
|
218
|
+
$d as NEEDLE_progressive,
|
|
219
219
|
Ds as NEKeyboardEvent,
|
|
220
220
|
Ls as NEPointerEvent,
|
|
221
221
|
xs as NeedleButtonElement,
|
|
@@ -266,8 +266,8 @@ export {
|
|
|
266
266
|
Rt as PlayerColor,
|
|
267
267
|
vt as PlayerState,
|
|
268
268
|
Pt as PlayerStateEvent,
|
|
269
|
-
|
|
270
|
-
|
|
269
|
+
Tt as PlayerSync,
|
|
270
|
+
At as PlayerView,
|
|
271
271
|
It as PlayerViewManager,
|
|
272
272
|
Mt as PointerEventData,
|
|
273
273
|
Ot as PointerType,
|
|
@@ -319,8 +319,8 @@ export {
|
|
|
319
319
|
Ro as SizeBySpeedModule,
|
|
320
320
|
vo as SizeOverLifetimeModule,
|
|
321
321
|
Po as SkinnedMeshRenderer,
|
|
322
|
-
|
|
323
|
-
|
|
322
|
+
To as SmoothFollow,
|
|
323
|
+
Ao as SpatialGrabRaycaster,
|
|
324
324
|
Io as SpatialHtml,
|
|
325
325
|
Mo as SpatialTrigger,
|
|
326
326
|
Oo as SpatialTriggerReceiver,
|
|
@@ -374,8 +374,8 @@ export {
|
|
|
374
374
|
Rr as VariantAction,
|
|
375
375
|
vr as VelocityOverLifetimeModule,
|
|
376
376
|
Pr as VerticalLayoutGroup,
|
|
377
|
-
|
|
378
|
-
|
|
377
|
+
Tr as VideoPlayer,
|
|
378
|
+
Ar as ViewDevice,
|
|
379
379
|
Ir as Vignette,
|
|
380
380
|
Mr as VisibilityAction,
|
|
381
381
|
Or as Voip,
|
|
@@ -427,195 +427,196 @@ export {
|
|
|
427
427
|
Rn as copyTexture,
|
|
428
428
|
vn as createLoader,
|
|
429
429
|
Pn as createMotion,
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
In as
|
|
433
|
-
Mn as
|
|
434
|
-
On as
|
|
435
|
-
Dn as
|
|
436
|
-
Ln as
|
|
437
|
-
xn as
|
|
438
|
-
kn as
|
|
439
|
-
Nn as
|
|
440
|
-
Bn as
|
|
441
|
-
Fn as
|
|
442
|
-
Gn as
|
|
443
|
-
wn as
|
|
444
|
-
Un as
|
|
445
|
-
Wn as
|
|
446
|
-
Hn as
|
|
447
|
-
Xn as
|
|
448
|
-
zn as
|
|
449
|
-
Vn as
|
|
450
|
-
_n as
|
|
451
|
-
jn as
|
|
452
|
-
Kn as
|
|
453
|
-
Qn as
|
|
454
|
-
Zn as
|
|
455
|
-
Yn as
|
|
456
|
-
Jn as
|
|
457
|
-
$n as
|
|
458
|
-
qn as
|
|
459
|
-
ei as
|
|
460
|
-
ai as
|
|
461
|
-
si as
|
|
462
|
-
ti as
|
|
463
|
-
oi as
|
|
464
|
-
ri as
|
|
465
|
-
ni as
|
|
466
|
-
ii as
|
|
467
|
-
li as
|
|
468
|
-
di as
|
|
469
|
-
ci as
|
|
470
|
-
gi as
|
|
471
|
-
mi as
|
|
472
|
-
pi as
|
|
473
|
-
hi as
|
|
474
|
-
fi as
|
|
475
|
-
bi as
|
|
476
|
-
ui as
|
|
477
|
-
Si as
|
|
478
|
-
Ci as
|
|
479
|
-
yi as
|
|
480
|
-
Ei as
|
|
481
|
-
Ri as
|
|
482
|
-
vi as
|
|
483
|
-
Pi as
|
|
430
|
+
Tn as debugNet,
|
|
431
|
+
An as debugOwner,
|
|
432
|
+
In as decompressGpuTexture,
|
|
433
|
+
Mn as deepClone,
|
|
434
|
+
On as delay,
|
|
435
|
+
Dn as delayForFrames,
|
|
436
|
+
Ln as deserializeObject,
|
|
437
|
+
xn as destroy,
|
|
438
|
+
kn as destroyComponentInstance,
|
|
439
|
+
Nn as disposeObjectResources,
|
|
440
|
+
Bn as disposeStream,
|
|
441
|
+
Fn as editorGuidKeyName,
|
|
442
|
+
Gn as enableSpatialConsole,
|
|
443
|
+
wn as euler,
|
|
444
|
+
Un as eventListSerializer,
|
|
445
|
+
Wn as exportAsGLTF,
|
|
446
|
+
Hn as findByGuid,
|
|
447
|
+
Xn as findObjectOfType,
|
|
448
|
+
zn as findObjectsOfType,
|
|
449
|
+
Vn as findResourceUsers,
|
|
450
|
+
_n as fitObjectIntoVolume,
|
|
451
|
+
jn as foreachComponent,
|
|
452
|
+
Kn as foreachComponentEnumerator,
|
|
453
|
+
Qn as forward,
|
|
454
|
+
Zn as generateQRCode,
|
|
455
|
+
Yn as generateSeed,
|
|
456
|
+
Jn as getBoundingBox,
|
|
457
|
+
$n as getCameraController,
|
|
458
|
+
qn as getComponent,
|
|
459
|
+
ei as getComponentInChildren,
|
|
460
|
+
ai as getComponentInParent,
|
|
461
|
+
si as getComponents,
|
|
462
|
+
ti as getComponentsInChildren,
|
|
463
|
+
oi as getComponentsInParent,
|
|
464
|
+
ri as getFormattedDate,
|
|
465
|
+
ni as getIconElement,
|
|
466
|
+
ii as getIconTexture,
|
|
467
|
+
li as getIp,
|
|
468
|
+
di as getIpAndLocation,
|
|
469
|
+
ci as getIpCloudflare,
|
|
470
|
+
gi as getLoader,
|
|
471
|
+
mi as getOrAddComponent,
|
|
472
|
+
pi as getParam,
|
|
473
|
+
hi as getParentHierarchyPath,
|
|
474
|
+
fi as getPath,
|
|
475
|
+
bi as getPeerOptions,
|
|
476
|
+
ui as getPeerjsInstance,
|
|
477
|
+
Si as getResourceUserCount,
|
|
478
|
+
Ci as getTempColor,
|
|
479
|
+
yi as getTempQuaternion,
|
|
480
|
+
Ei as getTempVector,
|
|
481
|
+
Ri as getUrlParams,
|
|
482
|
+
vi as getVisibleInCustomShadowRendering,
|
|
483
|
+
Pi as getWorldDirection,
|
|
484
|
+
Ti as getWorldEuler,
|
|
484
485
|
Ai as getWorldPosition,
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
486
|
+
Ii as getWorldQuaternion,
|
|
487
|
+
Mi as getWorldRotation,
|
|
488
|
+
Oi as getWorldScale,
|
|
489
|
+
Di as hasCommercialLicense,
|
|
490
|
+
Li as hasIndieLicense,
|
|
491
|
+
xi as hasPointerEventComponent,
|
|
492
|
+
ki as hasProLicense,
|
|
493
|
+
Ni as hideDebugConsole,
|
|
494
|
+
Bi as imageToCanvas,
|
|
495
|
+
Fi as instantiate,
|
|
496
|
+
Gi as invokeAfterImportPluginHooks,
|
|
497
|
+
wi as invokeXRSessionEnd,
|
|
498
|
+
Ui as invokeXRSessionStart,
|
|
499
|
+
Wi as isActiveInHierarchy,
|
|
500
|
+
Hi as isActiveSelf,
|
|
501
|
+
Xi as isAndroidDevice,
|
|
502
|
+
zi as isAnimationAction,
|
|
503
|
+
Vi as isComponent,
|
|
504
|
+
_i as isDebugMode,
|
|
505
|
+
ji as isDesktop,
|
|
506
|
+
Ki as isDestroyed,
|
|
507
|
+
Qi as isDevEnvironment,
|
|
508
|
+
Zi as isDisposed,
|
|
509
|
+
Yi as isExporting,
|
|
510
|
+
Ji as isHostedOnGlitch,
|
|
511
|
+
$i as isHotReloading,
|
|
512
|
+
qi as isIPad,
|
|
513
|
+
el as isIconElement,
|
|
514
|
+
al as isLocalNetwork,
|
|
515
|
+
sl as isMacOS,
|
|
516
|
+
tl as isMobileDevice,
|
|
517
|
+
ol as isMozillaXR,
|
|
518
|
+
rl as isQuest,
|
|
519
|
+
nl as isResourceTrackingEnabled,
|
|
520
|
+
il as isSafari,
|
|
521
|
+
ll as isUsingInstancing,
|
|
522
|
+
dl as isiOS,
|
|
523
|
+
cl as isiPad,
|
|
523
524
|
d as loadSync,
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
525
|
+
gl as logHierarchy,
|
|
526
|
+
ml as lookAtInverse,
|
|
527
|
+
pl as lookAtObject,
|
|
528
|
+
hl as makeId,
|
|
529
|
+
fl as makeIdFromRandomWords,
|
|
530
|
+
bl as makeNameSafeForUSD,
|
|
531
|
+
ul as markAsInstancedRendered,
|
|
532
|
+
Sl as microphonePermissionsGranted,
|
|
533
|
+
Cl as nameof,
|
|
534
|
+
yl as nameofFactory,
|
|
535
|
+
El as objectSerializer,
|
|
536
|
+
Rl as offXRSessionEnd,
|
|
537
|
+
vl as offXRSessionStart,
|
|
538
|
+
Pl as onAfterRender,
|
|
538
539
|
m as onBeforeRender,
|
|
539
|
-
|
|
540
|
+
Tl as onClear,
|
|
540
541
|
Al as onDestroy,
|
|
541
|
-
|
|
542
|
+
Il as onInitialized,
|
|
542
543
|
c as onStart,
|
|
543
544
|
g as onUpdate,
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
545
|
+
Ml as onXRSessionEnd,
|
|
546
|
+
Ol as onXRSessionStart,
|
|
547
|
+
Dl as parseSync,
|
|
548
|
+
Ll as placeOnSurface,
|
|
549
|
+
xl as postprocessFBXMaterials,
|
|
550
|
+
kl as prefix,
|
|
551
|
+
Nl as pushState,
|
|
552
|
+
Bl as randomNumber,
|
|
553
|
+
Fl as registerBinaryType,
|
|
554
|
+
Gl as registerComponent,
|
|
555
|
+
wl as registerComponentExtension,
|
|
556
|
+
Ul as registerCustomEffectType,
|
|
557
|
+
Wl as registerExportExtensions,
|
|
558
|
+
Hl as registerExtensions,
|
|
559
|
+
Xl as registerHotReloadType,
|
|
560
|
+
zl as registerLoader,
|
|
561
|
+
Vl as registerPrefabProvider,
|
|
562
|
+
_l as registerPrototypeExtensions,
|
|
563
|
+
jl as registerType,
|
|
564
|
+
Kl as relativePathPrefix,
|
|
565
|
+
Ql as removeAttributeChangeCallback,
|
|
566
|
+
Zl as removeComponent,
|
|
567
|
+
Yl as removeCustomImportExtensionType,
|
|
568
|
+
Jl as removeGltfLoadEventListener,
|
|
569
|
+
$l as removePatch,
|
|
570
|
+
ql as resolveUrl,
|
|
571
|
+
ed as sanitizeString,
|
|
572
|
+
ad as saveImage,
|
|
573
|
+
sd as screenshot,
|
|
574
|
+
td as screenshot2,
|
|
575
|
+
od as sendDestroyed,
|
|
576
|
+
rd as serializable,
|
|
577
|
+
nd as serializeObject,
|
|
578
|
+
id as serializeable,
|
|
579
|
+
ld as setActive,
|
|
580
|
+
dd as setAllowBalloonMessages,
|
|
581
|
+
cd as setAllowOverlayMessages,
|
|
582
|
+
gd as setAutoFitEnabled,
|
|
583
|
+
md as setCameraController,
|
|
584
|
+
pd as setDestroyed,
|
|
585
|
+
hd as setDevEnvironment,
|
|
586
|
+
fd as setDisposable,
|
|
587
|
+
bd as setDontDestroy,
|
|
588
|
+
ud as setOrAddParamsToUrl,
|
|
589
|
+
Sd as setParam,
|
|
590
|
+
Cd as setParamWithoutReload,
|
|
591
|
+
yd as setPeerOptions,
|
|
592
|
+
Ed as setResourceTrackingEnabled,
|
|
593
|
+
Rd as setState,
|
|
594
|
+
vd as setVisibleInCustomShadowRendering,
|
|
595
|
+
Pd as setWorldEuler,
|
|
596
|
+
Td as setWorldPosition,
|
|
596
597
|
Ad as setWorldPositionXYZ,
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
598
|
+
Id as setWorldQuaternion,
|
|
599
|
+
Md as setWorldQuaternionXYZW,
|
|
600
|
+
Od as setWorldRotation,
|
|
601
|
+
Dd as setWorldRotationXYZ,
|
|
602
|
+
Ld as setWorldScale,
|
|
603
|
+
xd as showBalloonError,
|
|
604
|
+
kd as showBalloonMessage,
|
|
605
|
+
Nd as showBalloonWarning,
|
|
606
|
+
Bd as showDebugConsole,
|
|
607
|
+
Fd as slerp,
|
|
608
|
+
Gd as syncDestroy,
|
|
609
|
+
wd as syncField,
|
|
610
|
+
Ud as syncInstantiate,
|
|
611
|
+
Wd as textureToCanvas,
|
|
612
|
+
Hd as tryCastBinary,
|
|
613
|
+
Xd as tryDetermineFileTypeFromBinary,
|
|
614
|
+
zd as tryDetermineFileTypeFromURL,
|
|
615
|
+
Vd as tryFindObject,
|
|
616
|
+
_d as tryGetGuid,
|
|
617
|
+
jd as unregisterHotReloadType,
|
|
618
|
+
Kd as unwatchWrite,
|
|
619
|
+
Qd as useForAutoFit,
|
|
620
|
+
Zd as validate,
|
|
621
|
+
Yd as watchWrite
|
|
621
622
|
};
|