@mml-io/3d-web-client-core 0.12.0 → 0.12.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/build/camera/CameraManager.d.ts +1 -1
- package/build/character/Character.d.ts +2 -1
- package/build/character/CharacterManager.d.ts +0 -2
- package/build/character/CharacterMaterial.d.ts +13 -9
- package/build/character/CharacterModel.d.ts +9 -4
- package/build/collisions/CollisionsManager.d.ts +1 -0
- package/build/index.js +200 -254
- package/build/index.js.map +3 -3
- package/build/tweakpane/TweakPane.d.ts +1 -1
- package/build/tweakpane/blades/characterFolder.d.ts +0 -17
- package/build/tweakpane/tweakPaneStyle.d.ts +1 -1
- package/package.json +4 -4
@@ -21,8 +21,8 @@ export declare class TweakPane {
|
|
21
21
|
private saveVisibilityInLocalStorage;
|
22
22
|
guiVisible: boolean;
|
23
23
|
constructor(renderer: WebGLRenderer, scene: Scene, composer: EffectComposer);
|
24
|
-
private processKey;
|
25
24
|
private setupGUIListeners;
|
25
|
+
private processKey;
|
26
26
|
setupRenderPane(composer: EffectComposer, normalPass: NormalPass, ppssaoEffect: SSAOEffect, ppssaoPass: EffectPass, n8aopass: any, toneMappingEffect: ToneMappingEffect, toneMappingPass: EffectPass, brightnessContrastSaturation: typeof BrightnessContrastSaturation, bloomEffect: BloomEffect, gaussGrainEffect: typeof GaussGrainEffect, hasLighting: boolean, sun: Sun | null, setHDR: () => void, setAmbientLight: () => void, setFog: () => void): void;
|
27
27
|
updateStats(timeManager: TimeManager): void;
|
28
28
|
private formatDateForFilename;
|
@@ -1,16 +1,7 @@
|
|
1
1
|
import { FolderApi } from "tweakpane";
|
2
2
|
export declare const characterValues: {
|
3
|
-
transmission: number;
|
4
3
|
metalness: number;
|
5
4
|
roughness: number;
|
6
|
-
ior: number;
|
7
|
-
thickness: number;
|
8
|
-
specularColor: {
|
9
|
-
r: number;
|
10
|
-
g: number;
|
11
|
-
b: number;
|
12
|
-
};
|
13
|
-
specularIntensity: number;
|
14
5
|
emissive: {
|
15
6
|
r: number;
|
16
7
|
g: number;
|
@@ -18,14 +9,6 @@ export declare const characterValues: {
|
|
18
9
|
};
|
19
10
|
emissiveIntensity: number;
|
20
11
|
envMapIntensity: number;
|
21
|
-
sheenColor: {
|
22
|
-
r: number;
|
23
|
-
g: number;
|
24
|
-
b: number;
|
25
|
-
};
|
26
|
-
sheen: number;
|
27
|
-
clearcoat: number;
|
28
|
-
clearcoatRoughness: number;
|
29
12
|
};
|
30
13
|
export declare class CharacterFolder {
|
31
14
|
private folder;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const tweakPaneStyle = "\n:root {\n --tp-base-background-color: rgba(
|
1
|
+
export declare const tweakPaneStyle = "\n:root {\n --tp-base-background-color: rgba(12, 12, 12, 0.6);\n --tp-base-shadow-color: hsla(0, 0%, 0%, 0.2);\n --tp-button-background-color: hsla(0, 0%, 80%, 1);\n --tp-button-background-color-active: hsla(0, 0%, 100%, 1);\n --tp-button-background-color-focus: hsla(0, 0%, 95%, 1);\n --tp-button-background-color-hover: hsla(0, 0%, 85%, 1);\n --tp-button-foreground-color: hsla(0, 0%, 0%, 0.7);\n --tp-container-background-color: hsla(0, 0%, 0%, 0.3);\n --tp-container-background-color-active: hsla(0, 0%, 0%, 0.6);\n --tp-container-background-color-focus: hsla(0, 0%, 0%, 0.5);\n --tp-container-background-color-hover: hsla(0, 0%, 0%, 0.4);\n --tp-container-foreground-color: hsla(0, 0%, 90%, 0.6);\n --tp-groove-foreground-color: hsla(0, 0%, 0%, 0.2);\n --tp-input-background-color: hsla(0, 0%, 30%, 0.3);\n --tp-input-background-color-active: hsla(0, 0%, 0%, 0.6);\n --tp-input-background-color-focus: hsla(0, 0%, 0%, 0.5);\n --tp-input-background-color-hover: hsla(0, 0%, 0%, 0.4);\n --tp-input-foreground-color: hsla(0, 0%, 100%, 0.6);\n --tp-label-foreground-color: hsla(0, 0%, 100%, 0.6);\n --tp-monitor-background-color: hsla(0, 0%, 0%, 0.3);\n --tp-monitor-foreground-color: hsla(0, 0%, 100%, 0.3);\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.tp-brkv {\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.tp-dfwv {\n z-index: 100;\n color: white;\n width: 600px !important;\n display: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.tp-fldv {\n margin: 1px 0px 0px 0px !important;\n}\n\n.tp-fldv_b {\n overflow: visible !important;\n}\n\n.tp-fldv_t {\n font-size: 13px;\n font-weight: 900;\n color: #ffffff;\n background-color: rgba(70, 70, 70, 0.3);\n border-top: 1px solid rgba(210, 210, 210, 0.1);\n border-radius: 3px;\n}\n\n.tp-lblv_l {\n font-size: 12px;\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n\n.tp-lblv_v {\n width: 150px;\n}\n\n.tp-sldtxtv_t {\n max-width: 50px;\n}\n\n.tp-sglv_i {\n font-size: 12px;\n color: rgba(255, 255, 255, 0.7);\n}\n\n.tp-ckbv_w {\n border: 1px solid rgba(200, 200, 250, 0.2);\n}\n";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@mml-io/3d-web-client-core",
|
3
|
-
"version": "0.12.
|
3
|
+
"version": "0.12.2",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -18,10 +18,10 @@
|
|
18
18
|
"lint-fix": "eslint \"./{src,test}/**/*.{js,jsx,ts,tsx}\" --fix"
|
19
19
|
},
|
20
20
|
"dependencies": {
|
21
|
-
"@mml-io/3d-web-avatar": "^0.12.
|
21
|
+
"@mml-io/3d-web-avatar": "^0.12.2",
|
22
22
|
"@tweakpane/core": "2.0.3",
|
23
23
|
"@tweakpane/plugin-essentials": "0.2.1",
|
24
|
-
"mml-web": "0.
|
24
|
+
"mml-web": "0.12.0",
|
25
25
|
"postprocessing": "6.34.1",
|
26
26
|
"three-mesh-bvh": "0.7.1",
|
27
27
|
"tweakpane": "4.0.3"
|
@@ -32,5 +32,5 @@
|
|
32
32
|
"devDependencies": {
|
33
33
|
"@types/three": "0.153.0"
|
34
34
|
},
|
35
|
-
"gitHead": "
|
35
|
+
"gitHead": "b0a473a2cd51d0d57ebfc3cb6058a5bf696d9a7a"
|
36
36
|
}
|