Tile - YSound - Play Sound 3D – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
Line 40: | Line 40: | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 15:27, 24 November 2023
Play Sound 3D(Sound, Position, Volume, Audiable Distance)
static play3D(sound: YCustomMusic | YSound, position: YVector3, volume: number, audibleDistance: YAudibleDistance): void;
Parameters
sound
Sound to play
position
Position to play the sound at
volume
Volume of the sound
audibleDistance
Audible distance of the sound
Availability
Description
Allows to play sound effect at given position.
Notes
- Sound effect will play only once.