Component:AvatarVoiceRangeVisualizer

From Resonite Wiki
Revision as of 19:59, 10 November 2024 by 989onan (talk | contribs) (Add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
AvatarVoiceRangeVisualizer component as seen in the Scene Inspector

The AvatarVoiceRangeVisualizer component is used to generate and maintain the whisper bubble that appears when a user enables their whisper bubble mode.

Fields

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.
VolumeSource IField`1<Float> A float representing audio change. Usually the Volume field from a Component:VolumeMeter
AudioOutput direct RelayRef`1<AudioOutput> An audio output to read info from to make the bubble size
WhisperColorMin ColorX The color the bubble should glow at when the user is not speaking during whisper mode.
WhisperColorMax ColorX The color the bubble should glow at when the user is speaking at max volume during whisper mode.
WhisperColorRecordingMessage ColorX The color the bubble should be when the user is recording a message.
VisualRoot Slot The root slot of the visual generated for this component to function
_activeUser User The user controlling and updating this component's logic.
_visualSize field drive of Float3 The field to use when driving the size of this visual to match the range of the user's whisper mode. Uses AudioOutput's range for the source of the data.
_visualColor field drive of ColorX The field to drive to a color in an inclusive range of WhisperColorMin and WhisperColorMax depending on volume output.

Usage

Examples

See Also