USoundSourceBus

A source bus is a type of [USoundBase](API\Runtime\Engine\Sound\USoundBase) and can be "played" like any sound.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Sound/SoundSourceBus.h

Include

#include "Sound/SoundSourceBus.h"

Syntax

class USoundSourceBus : public USoundWave

Remarks

A source bus is a type of USoundBase and can be "played" like any sound.

Variables

Name Description

Public variable

uint32 : 1

 

bAutoDeactivateWhenSilent

Stop the source bus when the volume goes to zero.

Protected variable

bool

 

bInitialized

Protected variable

uint32

 

DurationSamples

Public variable

ESourceBusChann ...

 

SourceBusChannels

How many channels to use for the source bus.

Public variable

float

 

SourceBusDuration

The duration (in seconds) to use for the source bus.

Constructors

Name Description

Public function

USoundSourceBus

(
    const FObjectInitializer & ObjectIn...
)

Functions

Name Description

Protected function

void

 

Init()

Overridden from USoundBase

Name Description

Public function Virtual

float

 

GetDuration()

Returns the length of the sound

Public function Virtual Const

bool

 

IsPlayable()

Returns whether the sound base is set up in a playable manner

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent & PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback