Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Sound
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UAudioBus
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Sound/AudioBus.h |
| Include | #include "Sound/AudioBus.h" |
Syntax
class UAudioBus :
public UObject,
public IAudioProxyDataFactory
Remarks
Function to retrieve an audio bus buffer given a handle static float* GetAudioBusBuffer(const FAudioBusHandle& AudioBusHandle); An audio bus is an object which represents an audio patch cord. Audio can be sent to it. It can be sonified using USoundSourceBuses. Instances of the audio bus are created in the audio engine.
Variables
| Type | Name | Description | |
|---|---|---|---|
| EAudioBusChannels | AudioBusChannels | Number of channels to use for the Audio Bus. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAudioBus
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Returns the number of channels of the audio bus in integer format. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
Overridden from IAudioProxyDataFactory
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< Audio::IProxyData > | CreateProxyData
(
const Audio::FProxyDataInitParams& InitParams |