deepar 5.6.9 → 5.6.10-wristTrackingUpdate-alpha-271
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 +32 -0
- package/js/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/wasm/deepar.wasm +0 -0
- package/wasm/dyArcorePhysics.wasm +0 -0
- package/wasm/dyArcoreScripting.wasm +0 -0
package/js/types/DeepAR.d.ts
CHANGED
|
@@ -503,6 +503,38 @@ export declare class DeepAR {
|
|
|
503
503
|
* Resets tone mapping to the one that was specified within an effect file.
|
|
504
504
|
*/
|
|
505
505
|
resetToneMapping(): void;
|
|
506
|
+
/**
|
|
507
|
+
* Toggles bloom postprocessing.
|
|
508
|
+
*/
|
|
509
|
+
setBloomEnabled(enabled: boolean): void;
|
|
510
|
+
/**
|
|
511
|
+
* Sets bloom threshold parameter.
|
|
512
|
+
*
|
|
513
|
+
* Value passed here overrides the one specified within an effect file.
|
|
514
|
+
* @param threshold bloom threshold
|
|
515
|
+
*/
|
|
516
|
+
setBloomThreshold(threshold: number): void;
|
|
517
|
+
/**
|
|
518
|
+
* Sets bloom strength parameter.
|
|
519
|
+
*
|
|
520
|
+
* Value passed here overrides the one specified within an effect file.
|
|
521
|
+
* @param strength bloom strength
|
|
522
|
+
*/
|
|
523
|
+
setBloomStrength(strength: number): void;
|
|
524
|
+
/**
|
|
525
|
+
* Sets bloom radius parameter.
|
|
526
|
+
*
|
|
527
|
+
* Value passed here overrides the one specified within an effect file.
|
|
528
|
+
* @param radius bloom radius
|
|
529
|
+
*/
|
|
530
|
+
setBloomRadius(radius: number): void;
|
|
531
|
+
/**
|
|
532
|
+
* Sets new environment map that will be used for rendering materials with diamond shader.
|
|
533
|
+
*
|
|
534
|
+
* Overrides environment map specified within an effect file.
|
|
535
|
+
* @param envmap Path to fetch or ArrayBuffer with an image.
|
|
536
|
+
*/
|
|
537
|
+
setDiamondEnvironmentMap(envmap: string | ArrayBuffer): Promise<void>;
|
|
506
538
|
/**
|
|
507
539
|
* Sets the input video/camera rotation.
|
|
508
540
|
*
|
package/js/types/version.d.ts
CHANGED
package/package.json
CHANGED
package/wasm/deepar.wasm
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|