wiki.sine.space | sinespace

Difference between revisions of "Scripting/SSceneBackgroundMusic"

From wiki.sine.space
Jump to: navigation, search
(Added and defined all members (8) of SSceneBackgroundMusic)
 
(Replaced content with "This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/sscenebackgroundmusic")
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Members=
+
This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/sscenebackgroundmusic
{{ScriptFunction|void|OnTrackChange|(Closure o)|Function will be called when track changes|5=<pre></pre>}}
+
 
+
{{ScriptFunction|void|OnUpcomingTrackChange|(Closure o)|Function will be called when there's an upcoming track change|5=<pre></pre>}}
+
 
+
{{ScriptFunction|void|Play|()|Plays the radio stream|5=<pre></pre>}}
+
 
+
{{ScriptFunction|void|PlayMP3Stream|(string url)|Sets the given MP3 stream url as current stream|5=<pre></pre>}}
+
 
+
{{ScriptFunction|void|PlayVorbisStream|(string url)|Sets the given Vorbis stream url as current stream|5=<pre></pre>}}
+
 
+
{{ScriptFunction|void|Stop|()|Stops playing the radio stream|5=<pre></pre>}}
+
 
+
 
+
 
+
=Properties=
+
 
+
{{ScriptFunction|bool|Enabled|{ get; set; }|Is this component Enabled?|5= <pre></pre>}}
+
 
+
{{ScriptFunction|string|URL|{ get; }|URL of the current stream|5= <pre></pre>}}
+
 
+
 
+
 
+
 
+
{{Scripting Navbox}}
+

Latest revision as of 06:21, 19 September 2022

This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/sscenebackgroundmusic