High Fidelity API Reference
Tools Used: JavaScript, JSDoc, GitHub Pages, Markdown, HTML, CSS
High Fidelity is available as an open-source platform, and all content is forked and hosted according to the distribution requirements set out in the Apache License 2.0.
This is a sample of High Fidelity's API documentation, forked and imported into this website. The content matches the original, but the formatting and theme have been adjusted to compile with Docusaurus.
Agent
The Agent API enables an assignment client to emulate an avatar. Setting isAvatar = true connects the assignment client to the avatar and audio mixers, and enables the MyAvatar API.
Supported Script Types: Assignment Client Scripts
Properties
| Name | Type | Summary |
|---|---|---|
isAvatar | boolean |
|
sessionUUID | The unique ID associated with the agent's current session in the domain. Read-only. |
Methods
| Name | Return Value | Summary |
|---|---|---|
isAvatar | boolean | Checks whether the script is emulating an avatar. |
setIsAvatar | None | Sets whether the script should emulate an avatar. |
Method Details
isAvatarReturns: |
|---|
Checks whether the script is emulating an avatar. Example: Check whether the agent is emulating an avatar |
setIsAvatar | ||||||
|---|---|---|---|---|---|---|
Sets whether the script should emulate an avatar. Parameters
Example: Make an assignment client script emulate an avatar |