@needle-tools/engine 5.1.0-experimental.0 → 5.1.0-experimental.2
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/dist/{needle-engine.bundle-CVsBkUR2.min.js → needle-engine.bundle-092kFd20.min.js} +6 -6
- package/dist/{needle-engine.bundle-TgPY0fGG.js → needle-engine.bundle-B4-b_LbG.js} +8 -8
- package/dist/{needle-engine.bundle-BOAJ6UPK.umd.cjs → needle-engine.bundle-CGeRwYBH.umd.cjs} +7 -7
- package/dist/needle-engine.js +2 -2
- package/dist/needle-engine.min.js +1 -1
- package/dist/needle-engine.umd.cjs +1 -1
- package/dist/{vendor-BgzAK9of.min.js → vendor-Bf43L3CE.min.js} +35 -35
- package/dist/{vendor-BI4TX0aC.umd.cjs → vendor-BlyEaMTL.umd.cjs} +31 -31
- package/dist/{vendor-CwL-uvVy.js → vendor-D-7l5gB0.js} +2562 -2556
- package/lib/engine/engine_serialization_builtin_serializer.d.ts +1 -1
- package/lib/engine-components/export/usdz/extensions/behavior/BehaviourComponents.d.ts +1 -1
- package/lib/engine-components/postprocessing/Effects/Tonemapping.utils.d.ts +1 -1
- package/package.json +3 -3
|
@@ -30,7 +30,7 @@ declare class ObjectSerializer extends TypeSerializer {
|
|
|
30
30
|
onSerialize(data: any, context: SerializationContext): {
|
|
31
31
|
node: number;
|
|
32
32
|
} | undefined;
|
|
33
|
-
onDeserialize(data: ObjectData | string | null, context: SerializationContext):
|
|
33
|
+
onDeserialize(data: ObjectData | string | null, context: SerializationContext): Object3D<import("three").Object3DEventMap> | Behaviour | null | undefined;
|
|
34
34
|
}
|
|
35
35
|
export declare const objectSerializer: ObjectSerializer;
|
|
36
36
|
declare class ComponentSerializer extends TypeSerializer {
|
|
@@ -288,7 +288,7 @@ export declare class VisibilityAction extends PreliminaryAction {
|
|
|
288
288
|
type: VisibilityActionType;
|
|
289
289
|
/** The duration of the fade animation in seconds. */
|
|
290
290
|
duration: number;
|
|
291
|
-
getType(): "
|
|
291
|
+
getType(): "show" | "hide";
|
|
292
292
|
getDuration(): number;
|
|
293
293
|
}
|
|
294
294
|
/**
|
|
@@ -8,6 +8,6 @@ export declare enum NEToneMappingMode {
|
|
|
8
8
|
KhronosNeutral = 4
|
|
9
9
|
}
|
|
10
10
|
export type NEToneMappingModeNames = keyof typeof NEToneMappingMode;
|
|
11
|
-
export declare function toThreeToneMapping(mode: NEToneMappingMode | undefined): 1 |
|
|
11
|
+
export declare function toThreeToneMapping(mode: NEToneMappingMode | undefined): 1 | 4 | 2 | 6 | 7;
|
|
12
12
|
export declare function threeToNeedleToneMapping(mode: ToneMapping | number | undefined): NEToneMappingMode;
|
|
13
13
|
export declare function threeToneMappingToEffectMode(mode: number | undefined): ToneMappingMode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@needle-tools/engine",
|
|
3
|
-
"version": "5.1.0-experimental.
|
|
3
|
+
"version": "5.1.0-experimental.2",
|
|
4
4
|
"description": "Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in.",
|
|
5
5
|
"main": "dist/needle-engine.min.js",
|
|
6
6
|
"exports": {
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
],
|
|
122
122
|
"dependencies": {
|
|
123
123
|
"@dimforge/rapier3d-compat": "0.19.3",
|
|
124
|
-
"@needle-tools/gltf-progressive": "4.0.0-alpha",
|
|
124
|
+
"@needle-tools/gltf-progressive": "4.0.0-alpha.1",
|
|
125
125
|
"@needle-tools/materialx": "1.5.1",
|
|
126
126
|
"@needle-tools/three-animation-pointer": "1.0.7",
|
|
127
127
|
"@webxr-input-profiles/motion-controllers": "1.0.0",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"three": "npm:@needle-tools/three@0.183.2-canary.0",
|
|
137
137
|
"three-mesh-bvh": "0.9.7",
|
|
138
138
|
"three-mesh-ui": "npm:@needle-tools/three-mesh-ui@7.1.5-alpha.5",
|
|
139
|
-
"three.quarks": "0.
|
|
139
|
+
"three.quarks": "0.17.0",
|
|
140
140
|
"uuid": "9.0.1",
|
|
141
141
|
"websocket-ts": "2.2.1"
|
|
142
142
|
},
|