USoundClass

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Sound/SoundClass.h"

Syntax

class USoundClass : public UObject

Variables

Name Description

Public variable

TArray< TObject...

 

ChildClasses

Public variable

TObjectPtr< USo...

 

ParentClass

Public variable

TArray< FPassiv...

 

PassiveSoundMixModifiers

SoundMix Modifiers to activate automatically when a sound of this class is playing.

Public variable

FSoundClassProp...

 

Properties

Configurable properties like volume and priority.

Public variable

UEdGraph *

 

SoundClassGraph

EdGraph based representation of the SoundClass

Constructors

Name Description

Public function

USoundClass

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static

void

 

AddReferencedObjects

(
    UObject* InThis,
    FReferenceCollector& Collector
)

Add Referenced objects

Public function Static

TSharedPtr< ...

 

GetSoundClassAudioEditor()

Gets the sound cue graph editor implementation.

Public function

void

 

Interpolate

(
    float InterpValue,
    FSoundClassProperties& Current,
    const FSoundClassProperties& Start,
    const FSoundClassProperties& End
)

Get the parameters for the sound mix.

Public function

bool

 

RecurseCheckChild

(
    USoundClass* ChildSoundClass
)

Sound Class Editor functionality.

Public function

void

 

RefreshAllGraphs

(
    bool bIgnoreThis
)

Refresh all EdGraph representations of SoundClasses

Public function

void

 

SetParentClass

(
    USoundClass* InParentClass
)

Set the parent class of this SoundClass, removing it as a child from its previous owner

Public function Static

void

 

SetSoundClassAudioEditor

Sets the sound cue graph editor implementation.

Overridden from UObject

Name Description

Protected function Virtual

void

 

BeginDestroy()

Called before destroying the object.

Protected function Virtual

FString

 

GetDesc()

Return a one line description of an object for viewing in the thumbnail view of the generic browser

Protected function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Protected function Virtual

void

 

PostLoad()

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

Protected function Virtual

void

 

PreEditChange

(
    FProperty* PropertyAboutToChan...
)

This is called when a property is about to be modified externally

Protected function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Constants

Name

Description

SoundClassAudioEditor

Ptr to interface to sound class editor operations.