989onan bot (talk | contribs) Automated: update Fields, SyncDelegates |
989onan bot (talk | contribs) Automated: update SyncDelegates |
||
Line 28: | Line 28: | ||
== Sync Delegates == | == Sync Delegates == | ||
{{Table ComponentTriggers | {{Table ComponentTriggers | ||
|SetFromCurrentWorld[[Type:Action|Action]]|[[Type:Action|Action]]|false|{{Template:AssetMetadataSetFromWorld}} | |SetFromCurrentWorld:[[Type:Action|Action]]|[[Type:Action|Action]]|false|{{Template:AssetMetadataSetFromWorld}} | ||
}} | }} | ||
Latest revision as of 06:30, 17 March 2025
Component image 
Audio Metadata component as seen in the Scene Inspector

The AudioMetadata component provides information about an audio clip. It is automatically added to audio clips recorded with the Microphone Tool and stores data about when, where, and by whom the audio was recorded.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
LocationName
|
String | Name of the session the audio was recorded in |
LocationURL
|
Uri | the URI of the world the audio was recorded in |
LocationHost
|
direct UserRef | Host of the session the audio was recorded in |
LocationAccessLevel
|
Nullable`1<SessionAccessLevel> | Access level of the session the audio was recorded in |
LocationHiddenFromListing
|
Nullable`1<Bool> | Whether the session was marked as hidden when the audio was recorded. |
TimeTaken
|
DateTime | Exact timestamp that the audio was recorded at |
TakenBy
|
direct UserRef | The user who recorded the audio |
TakenGlobalPosition
|
Float3 | the position in global space the microphone tip was at the time of recording. |
TakenGlobalRotation
|
FloatQ | the rotation in global space the microphone tip was at the time of recording. |
TakenGlobalScale
|
Float3 | the scale in global space the microphone tip was at the time of recording. |
AppVersion
|
String | Resonite version number of the recording user |
UserInfos
|
list of AssetMetadata.UserInfo | Users present at the time of recording |
__legacyPresentUsers
|
list of UserRef | legacy list of users present at the time of recording. |
Sync Delegates
Usage
This component is essentially a bunch of fields with semantic meaning to them. Usage of this component outside of the microphone tool is straightforward--one simply needs to write to the relevant fields the relevant data. It is common convention to place the component on the same slot that the audio clip resides.