@spatius/avatarkit 1.2.0-beta.1 → 1.2.0-beta.3
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 +10 -0
- package/dist/{StreamingAudioPlayer-Br8UrVgO.js → StreamingAudioPlayer-Ciurs5Zc.js} +11 -11
- package/dist/avatar_core_wasm-C-3YSVeh.js +2697 -0
- package/dist/{avatar_core_wasm-bd762669.wasm → avatar_core_wasm-f7208ab9.wasm} +0 -0
- package/dist/core/AvatarController.d.ts +1 -8
- package/dist/index-Dgung4xA.js +21781 -0
- package/dist/index.js +1 -1
- package/dist/types/character.d.ts +5 -0
- package/dist/types/index.d.ts +2 -47
- package/package.json +1 -1
- package/dist/avatar_core_wasm-CQbUl6zN.js +0 -2696
- package/dist/index-DHCQ9wsL.js +0 -21856
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Avatar } from './Avatar';
|
|
2
|
-
import { ConnectionState, AvatarError, DrivingServiceMode, FrameStarvationMode, ConversationState, AnimationType
|
|
2
|
+
import { ConnectionState, AvatarError, DrivingServiceMode, FrameStarvationMode, ConversationState, AnimationType } from '../types';
|
|
3
3
|
import { FrameRateInfo } from '../performance/FrameRateMonitor';
|
|
4
4
|
export declare class AvatarController {
|
|
5
5
|
private networkLayer?;
|
|
@@ -37,7 +37,6 @@ export declare class AvatarController {
|
|
|
37
37
|
set frameRateMonitorEnabled(value: boolean);
|
|
38
38
|
private renderCallback?;
|
|
39
39
|
private characterHandle;
|
|
40
|
-
private postProcessingConfig;
|
|
41
40
|
private lastRenderedFrameIndex;
|
|
42
41
|
private keyframesOffset;
|
|
43
42
|
private readonly MAX_KEYFRAMES;
|
|
@@ -140,12 +139,6 @@ export declare class AvatarController {
|
|
|
140
139
|
* The point count of current avatar, or null if avatar is not loaded.
|
|
141
140
|
*/
|
|
142
141
|
get pointCount(): number | null;
|
|
143
|
-
/**
|
|
144
|
-
* Set post-processing configuration
|
|
145
|
-
* These parameters will be applied in real-time to animation parameters returned by the server
|
|
146
|
-
* @param config Post-processing configuration, or null to clear
|
|
147
|
-
*/
|
|
148
|
-
setPostProcessingConfig(config: PostProcessingConfig | null): void;
|
|
149
142
|
/**
|
|
150
143
|
* Set audio playback volume
|
|
151
144
|
* Note: This only controls the avatar audio player volume, not the system volume
|