버전
Wwise Unreal Integration Documentation
|
The Unreal integration provides audio input to Wwise through the Wwise Audio Input Source Plug-in. In order to provide audio input to Wwise, classes must inherit from AkAudioInputComponent
.
AkAudioInputComponent
는 AkComponent 로부터 파생됩니다. It is a specialized AkComponent
that you can use to provide audio input to Wwise. To do so, you must implement two key functions:
AkAudioInputComponent
also has one Blueprint function, Post Associated Audio Input Event, which posts the component's AkAudioEvent to Wwise along with the associated AudioSamples callback and AudioFormat callback, using this component as the game object source.
You can write custom classes that derive from AkAudioInputComponent
in order to implement custom audio input behavior. The following UAkVoiceInputComponent.h
and UAkVoiceInputComponent.cpp
examples show a class that takes microphone input and pipes it to the Wwise Sound Engine.
Before you can use these files in a C++ Unreal project, you must perform some initial setup. First, add the AkAudio and the Unreal Voice modules to the PublicDependencyModuleNames
in the project's Build.cs
file. 예시:
Next, add the following lines to the DefaultEngine.ini
file:
After these setup steps are complete, add the desired custom behavior. In the following example, a class takes microphone input and sends it to Wwise.
참고: | The sample code in this section is not intended for use in shipped games. It is only a short example of how to implement custom behavior. Here is an example of a customized Here is an example of a customized After you add the class to an Unreal project, you can create a custom Blueprint class that has an |
프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.
Wwise를 시작해 보세요