Tile - YSound - Play Sound 3D – Ylands

From Bohemia Interactive Community
Revision as of 09:51, 8 July 2021 by YlandsClassyBot (talk | contribs) (Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Play Sound 3D(Sound, Position, Volume, Audiable D...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Play Sound 3D(Sound, Position, Volume, Audiable Distance)

YlandsTile-171.png

static play3D(sound: YCustomMusic | YSound, position: YVector3, volume: number, audibleDistance: YAudibleDistance): void;

Parameters

sound

position

volume

audibleDistance

Description

Allows to play sound effect at given position. Sound effect will play only once.