Component:AvatarVoiceRangeVisualizer: Difference between revisions

From Resonite Wiki
Add info
Automated: update Categories, SyncDelegates
Line 17: Line 17:
|WhisperColorMax|ColorX| The color the bubble should glow at when the user is speaking at max volume 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.
|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  
|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.
|_activeUser|User| The user controlling and updating this component's logic.
|_visualSize|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv7=true| The field to use when driving the size of this visual to match the range of the user's whisper mode. Uses <code>AudioOutput</code>'s range for the source of the data.
|_visualSize|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv7=true| The field to use when driving the size of this visual to match the range of the user's whisper mode. Uses <code>AudioOutput</code>'s range for the source of the data.
Line 33: Line 33:
</translate>
</translate>
[[Category:Components{{#translation:}}|Avatar Voice Range Visualizer]]
[[Category:Components{{#translation:}}|Avatar Voice Range Visualizer]]
[[Category:ComponentStub]]
[[Category:Components:Users:Common Avatar System:Audio{{#translation:}}|Avatar Voice Range Visualizer]]
[[Category:Components:Users:Common Avatar System:Audio{{#translation:}}|Avatar Voice Range Visualizer]]

Revision as of 16:41, 17 December 2024


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