@mml-io/3d-web-experience-client 0.23.4 → 0.24.0
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/Networked3dWebExperienceClient.d.ts +6 -3
- package/build/index.css +104 -104
- package/build/index.css.map +1 -1
- package/build/index.js +135 -102
- package/build/index.js.map +2 -2
- package/package.json +5 -5
|
@@ -19,10 +19,12 @@ type MMLDocumentConfiguration = {
|
|
|
19
19
|
y: number;
|
|
20
20
|
z: number;
|
|
21
21
|
};
|
|
22
|
+
passAuthToken?: boolean;
|
|
22
23
|
};
|
|
23
24
|
export type Networked3dWebExperienceClientConfig = {
|
|
24
25
|
userNetworkAddress: string;
|
|
25
26
|
sessionToken: string;
|
|
27
|
+
authToken?: string | null;
|
|
26
28
|
chatVisibleByDefault?: boolean;
|
|
27
29
|
userNameToColorOptions?: StringToHslOptions;
|
|
28
30
|
animationConfig: AnimationConfig;
|
|
@@ -61,7 +63,7 @@ export declare class Networked3dWebExperienceClient {
|
|
|
61
63
|
private keyInputManager;
|
|
62
64
|
private virtualJoystick;
|
|
63
65
|
private mmlCompositionScene;
|
|
64
|
-
private
|
|
66
|
+
private mmlDocumentStates;
|
|
65
67
|
private clientId;
|
|
66
68
|
private networkClient;
|
|
67
69
|
private remoteUserStates;
|
|
@@ -91,12 +93,13 @@ export declare class Networked3dWebExperienceClient {
|
|
|
91
93
|
private connectToTextChat;
|
|
92
94
|
private mountAvatarSelectionUI;
|
|
93
95
|
update(): void;
|
|
96
|
+
private updateAudioListenerPosition;
|
|
94
97
|
private spawnCharacter;
|
|
95
98
|
private disposeWithError;
|
|
96
99
|
dispose(): void;
|
|
97
100
|
private setupMMLScene;
|
|
98
|
-
private
|
|
99
|
-
private
|
|
101
|
+
private createMMLDocument;
|
|
102
|
+
private updateMMLDocumentAttributes;
|
|
100
103
|
private setMMLDocuments;
|
|
101
104
|
}
|
|
102
105
|
export {};
|