Component:AudioStreamController: Difference between revisions

From Resonite Wiki
Automated: update Fields
Automated: update Categories, SyncDelegates
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 27: Line 33:
[[Category:ComponentStubs]]
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Audio Stream Controller]]
[[Category:Components{{#translation:}}|Audio Stream Controller]]
[[Category:ComponentStub]]
[[Category:Components:Uncategorized{{#translation:}}|Audio Stream Controller]]
[[Category:Components:Uncategorized{{#translation:}}|Audio Stream Controller]]

Revision as of 13:11, 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