Play Sound at Location
Identifier
PlaySoundAtLocation
Description
在指定位置上配置声源,播放Cue。
播放循环音频时无法停止,因此请仅用于One Shot音频。
要播放循环音频,请使用SpawnSoundAtLocation函数。
以本函数配置了的声源不追踪任何Actor。
UE4标准音频的UGameplayStatics::PlaySoundAtLocation兼容的API。
(不同点在于播放的音频是AtomCueAsset。)
各参数的意思追踪UGamePlayStatics::SpawnSoundAtLocation函数。
Target is Atom Statics
nd_img_AtomStatics_PlaySoundAtLocation.png
Inputs
Arg Description
In
Exec
Sound
Sound Atom Cue Object Reference
指定Atom Cue。
Location
Vector
指定配置声源的坐标。
Rotation
Rotator
指定旋转。
Volume Multiplier
Float
指定音量倍率。
Pitch Multiplier
Float
指定音高倍率。
Start Time
Float
通过在此指定开始时间(秒),可以从中途播放音频数据。
Attenuation Settings
Sound Attenuation Object Reference
指定Attenuation的设置。
Concurrency Settings
Sound Concurrency Object Reference
指定Concurrency的设置。
Outputs
Arg Description
Out
Exec