ultron-ai-sdk 1.0.8 → 1.1.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/README.md CHANGED
@@ -216,6 +216,13 @@ Hides the default text message on the avatar to prompt user to click as an initi
216
216
  - `hideClickMessage`: **Boolean** - The unique identifier for the avatar
217
217
 
218
218
 
219
+ ## High Fidelity mode
220
+
221
+ Enables very high quality renders with better lighting and details, but it will require more performance
222
+
223
+ - `highFidelityMode`: **Boolean** - The unique identifier for the avatar
224
+
225
+
219
226
  ## Core Methods
220
227
 
221
228
  ### loadAvatar(avatarId)
@@ -343,19 +350,26 @@ character.say("your text that character will speak")
343
350
 
344
351
  ```
345
352
 
346
- ### Switch camera
353
+ ### Adjust camera
347
354
 
348
355
  ```javascript
349
356
  //Switch camera to potrait (closer to face)
350
-
351
357
  sceneCanvas.switchCameraToPotrait()
352
358
 
353
359
  //Switch camera to normal position (full body view)
354
-
355
360
  sceneCanvas.switchCameraToNormal()
356
361
 
362
+ //Set camera position at X, Y and Z cordinate from the origin which is at the bottom most point of character
363
+ sceneCanvas.setCameraPosition(X,Y,Z)
364
+ ```
365
+
357
366
 
367
+ ### Set custom background image
358
368
 
369
+ Set the background image of target html block in which the character is present.
370
+
371
+ ```javascript
372
+ sceneCanvas.setBackgroundImage('IMAGE_URL')
359
373
  ```
360
374
 
361
375
  ### Support