deepar 5.4.3 → 5.4.4-alpha-71
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/VERSION.txt +1 -1
- package/js/deepar.esm.js +1 -1
- package/js/deepar.js +1 -1
- package/js/types/DeepAR.d.ts +4 -2
- package/js/types/version.d.ts +1 -1
- package/mediaPipe/segmentation/wasm/vision_wasm_internal.js +2 -2
- package/mediaPipe/segmentation/wasm/vision_wasm_internal.wasm +0 -0
- package/mediaPipe/segmentation/wasm/vision_wasm_nosimd_internal.js +2 -2
- package/mediaPipe/segmentation/wasm/vision_wasm_nosimd_internal.wasm +0 -0
- package/package.json +1 -1
- package/wasm/deepar.wasm +0 -0
package/js/types/DeepAR.d.ts
CHANGED
|
@@ -145,8 +145,9 @@ export declare class DeepAR {
|
|
|
145
145
|
*
|
|
146
146
|
* @param enable - Boolean indicating whether to enable or disable the background replacement effect.
|
|
147
147
|
* @param image - The URL of the image to be used as the background.
|
|
148
|
+
* @param mode - Request mode used while fetching the image.
|
|
148
149
|
*/
|
|
149
|
-
backgroundReplacement(enable: boolean, image: string): Promise<void>;
|
|
150
|
+
backgroundReplacement(enable: boolean, image: string, mode?: RequestMode): Promise<void>;
|
|
150
151
|
/**
|
|
151
152
|
* Starts the camera preview. By default, the camera will be user facing. The returned promise will resolve after the camera starts
|
|
152
153
|
* or it will reject if camera permission was denied.
|
|
@@ -250,8 +251,9 @@ export declare class DeepAR {
|
|
|
250
251
|
* @param component The name of the component. If the name of the component is null or an empty string, the node itself will be affected.
|
|
251
252
|
* @param parameter The name of the parameter.
|
|
252
253
|
* @param textureUrl Url of the image that is going to be used as texture.
|
|
254
|
+
* @param mode - Request mode used while fetching the texture.
|
|
253
255
|
*/
|
|
254
|
-
changeParameterTexture(gameObject: string, component: string, parameter: string, textureUrl: string): void
|
|
256
|
+
changeParameterTexture(gameObject: string, component: string, parameter: string, textureUrl: string, mode?: RequestMode): Promise<void>;
|
|
255
257
|
/**
|
|
256
258
|
* This method allows the user to fire a custom animation trigger for model animations from code. To fire a custom trigger,
|
|
257
259
|
* the trigger string must match the custom trigger set in the Studio when creating the effect. Read more <a href="https://help.deepar.ai/en/articles/4354740-animations-tutorial-fbx-model-animations">here</a>.
|
package/js/types/version.d.ts
CHANGED