Spawn Sound Attached
Identifier
SpawnSoundAttached
Description
配置指定的组件所相应的声源,播放Cue。
UE4标准音频的UGameplayStatics::SpawnSoundAttached兼容的API。
(不同点在于播放的音频是播放的音频是AtomCueAsset。)
各参数的意思追踪UGamePlayStatics::SpawnSoundAttached函数。
Target is Atom Statics
nd_img_AtomStatics_SpawnSoundAttached.png
Inputs
Arg Description
In
Exec
Sound
Sound Atom Cue Object Reference
指定Atom Cue。
Attach to Component
Scene Component Object Reference
在此追踪指定的组件。
Attach Point Name
Name
指定附加的骨架名称。
Location
Vector
指定配置声源的坐标。
Rotation
Rotator
指定旋转。
Location Type
EAttachLocation Enum
指定位置类型。仅可以指定KeepWorldPosition或KeepRelativeOffset。
Stop when Attached to Destroyed
Boolean
指定当追踪的组件被销毁销毁时,是否停止音频。
Volume Multiplier
Float
指定音量倍率。
Pitch Multiplier
Float
指定音高倍率。
Start Time
Float
通过在此指定开始时间(秒),可以从中途播放音频数据。
Attenuation Settings
Sound Attenuation Object Reference
指定Attenuation的设置。
Concurrency Settings
Sound Concurrency Object Reference
无法使用(在内部被忽略)。
Auto Destroy
Boolean
指定播放完成时是否自动删除对象。
Outputs
Arg Description
Out
Exec
Return Value
Atom Component Object Reference
返回播放所指定的Cue的AtomComponent的参照。