m ProbablePrime moved page AvatarVoiceSourceAssigner (Component) to Component:AvatarVoiceSourceAssigner: Creating component Namespace |
Not a stub |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=AvatarVoiceSourceAssignerComponent.png | |Image=AvatarVoiceSourceAssignerComponent.png | ||
|Name=AvatarVoiceSourceAssigner | |Name=AvatarVoiceSourceAssigner | ||
}} | }} | ||
The '''AvatarVoiceSourceAssigner''' sets the <code>IAudioSource</code> field referenced by <code>TargetReference</code> 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]] | |||
<!--T:3--> | <!--T:3--> | ||
== Usage == | == Usage == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|TargetReference|SyncRef`1| | |TargetReference|'''[[Type:SyncRef`1|SyncRef`1]]<[[Type:IAudioSource|IAudioSource]]>'''|TypeAdv0=true| Target <code>IAudioSource</code> that will be assigned the user's audio stream | ||
}} | }} | ||
<!--T:4--> | <!--T:4--> | ||
== | == Usage == | ||
<!--T:5--> | <!--T:5--> | ||
== Examples == | == Examples == | ||
<!--T:6--> | <!--T:6--> | ||
== | == See Also == | ||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}| | [[Category:Components{{#translation:}}|Avatar Voice Source Assigner]] | ||
[[Category:Components:Users:Common Avatar System:Audio{{#translation:}}|Avatar Voice Source Assigner]] | |||
[[Category:Components:Users:Common Avatar System:Audio{{#translation:}}| |
Latest revision as of 20:05, 10 November 2024
Component image
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
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
|