Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
Include |
#include "Editor/EditorEngine.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp |
UAudioComponent * ResetPreviewAudioComponent
(
class USoundBase * Sound,
class USoundNode * SoundNode
)
Returns an audio component linked to the current scene that it is safe to play a sound on
Parameter |
Description |
---|---|
Sound |
A sound to attach to the audio component |
SoundNode |
A sound node that is attached to the audio component when the sound is NULL |