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 ==..."
 
Added a basic description. added field description.
 
(One intermediate revision by one other user 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.
}}
}}



Latest revision as of 03:05, 12 September 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.
DeviceIndex Int The device to select.

Usage

Examples

Related Components