Component:AudioStreamController: Difference between revisions

From Resonite Wiki
Automated: update Fields
Automated: update DeDuplicate
 
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
|AudioOutput|'''[[Component:AudioOutput|AudioOutput]]'''|TypeAdv1=true|
|AudioOutput|'''[[Component:AudioOutput|AudioOutput]]'''|TypeAdv1=true|
|IsPlayingForOwner|{{RootFieldType|RawOutput`1|[[Type:Bool|Bool]]}}|TypeAdv2=true|
|IsPlayingForOwner|{{RootFieldType|RawOutput`1|[[Type:Bool|Bool]]}}|TypeAdv2=true|
}}
== Sync Delegates ==
{{Table ComponentTriggers
|OnToggleBroadcast()|[[Type:ButtonEventHandler|ButtonEventHandler]]<[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: eventData>|
|OnTogglePlayForOwner()|[[Type:ButtonEventHandler|ButtonEventHandler]]<[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: eventData>|
}}
}}


Line 25: Line 31:
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:Components{{#translation:}}|Audio Stream Controller]]
[[Category:ComponentStubs]]
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Audio Stream Controller]]
[[Category:Components:Uncategorized{{#translation:}}|Audio Stream Controller]]
[[Category:Components:Uncategorized{{#translation:}}|Audio Stream Controller]]

Latest revision as of 21:18, 6 November 2024


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


Component image 
Audio Stream Controller component as seen in the Scene Inspector


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.
Stream IAudioStream
AudioOutput AudioOutput
IsPlayingForOwner raw output of Bool

Sync Delegates

Triggers
Method Name Method type and Arguments. Description
OnToggleBroadcast() ButtonEventHandler<IButton: button, ButtonEventData: eventData>
OnTogglePlayForOwner() ButtonEventHandler<IButton: button, ButtonEventData: eventData>

Usage

Examples

Related Components