Component:AudioStreamController: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page AudioStreamController (Component) to Component:AudioStreamController: Creating component Namespace
Automated: update DeDuplicate
 
(3 intermediate revisions by 2 users not shown)
Line 11: Line 11:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|_stream|OpusStream`1|TypeString0=OpusStream<StereoSample>|
|Stream|IAudioStream|
|_audioOutput|AudioOutput|
|AudioOutput|'''[[Component:AudioOutput|AudioOutput]]'''|TypeAdv1=true|
|IsPlayingForOwner|{{RootFieldType|RawOutput`1|[[Type:Bool|Bool]]}}|TypeAdv2=true|
}}
 
== Sync Delegates ==
{{Table ComponentTriggers
|OnToggleBroadcast()|[[Type:ButtonEventHandler|ButtonEventHandler]]&lt;[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: eventData&gt;|
|OnTogglePlayForOwner()|[[Type:ButtonEventHandler|ButtonEventHandler]]&lt;[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: eventData&gt;|
}}
}}


Line 24: 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