Component:AvatarVoiceSourceAssigner

From Resonite Wiki
Revision as of 20:05, 10 November 2024 by 989onan (talk | contribs) (Not a stub)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
AvatarVoiceSourceAssigner component as seen in the Scene Inspector

The AvatarVoiceSourceAssigner sets the IAudioSource field referenced by TargetReference to the voice stream of the active user when the avatar this component is attached to is equipped.

This component is useful when adding voice-driven effects to an avatar, such as a Component:VisemeAnalyzer or Component:VolumeMeter

Usage

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.
TargetReference SyncRef`1<IAudioSource> Target IAudioSource that will be assigned the user's audio stream

Usage

Examples

See Also