Component:ButtonAudioDeviceSet: Difference between revisions

From Resonite Wiki
imported>Mysticporo
Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=ButtonAudioDeviceSetComponent.png |Name=Button Audio Device Set }} <!--T:2--> == Fields ==..."
 
Remove category
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
|Name=Button Audio Device Set
|Name=Button Audio Device Set
}}
}}
The '''ButtonAudioDeviceSet''' component sets the audio device a [[User|user]] is using, and can only be used in [[Userspace]], as switching audio devices is a [[Settings]] thing. (TODO: double check this)


<!--T:2-->
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|DeviceIndex|Int|
|DeviceIndex|Int| The device to select.
}}
}}


Line 21: Line 23:


<!--T:5-->
<!--T:5-->
== Related Components ==
== See Also ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Button Audio Device Set]]
[[Category:Components{{#translation:}}|Button Audio Device Set]]
[[Category:Components:Common UI:Button Interactions:Specialized{{#translation:}}|Button Audio Device Set]]
[[Category:Components:Common UI:Button Interactions:Specialized{{#translation:}}|Button Audio Device Set]]

Latest revision as of 18:15, 25 December 2024


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

Component image 
Button Audio Device Set component as seen in the Scene Inspector


The ButtonAudioDeviceSet component sets the audio device a user is using, and can only be used in Userspace, as switching audio devices is a Settings thing. (TODO: double check this)

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. Some components stop their functionality when this field is disabled, but some don't.
DeviceIndex Int The device to select.

Usage

Examples

See Also