Navigation
API > API/Runtime > API/Runtime/Engine
| Name | USoundClass |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Sound/SoundClass.h |
| Include Path | #include "Sound/SoundClass.h" |
Syntax
UCLASS (Config=Engine, HideCategories=Object, EditInlineNew, BlueprintType, MinimalAPI)
class USoundClass :
public UObject ,
public IInterface_AssetUserData
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → USoundClass
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
USoundClass
(
const FObjectInitializer& ObjectInitializer |
Sound/SoundClass.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| SoundClassAudioEditor | TSharedPtr< ISoundClassAudioEditor > | Ptr to interface to sound class editor operations. | Sound/SoundClass.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetUserData | TArray< TObjectPtr< UAssetUserData > > | Array of user data stored with the asset | Sound/SoundClass.h |
|
| ChildClasses | TArray< TObjectPtr< USoundClass > > | Sound/SoundClass.h |
|
|
| ParentClass | TObjectPtr< USoundClass > | Sound/SoundClass.h |
|
|
| PassiveSoundMixModifiers | TArray< FPassiveSoundMixModifier > | SoundMix Modifiers to activate automatically when a sound of this class is playing. | Sound/SoundClass.h |
|
| Properties | FSoundClassProperties | Configurable properties like volume and priority. | Sound/SoundClass.h |
|
| SoundClassGraph | TObjectPtr< class UEdGraph > | EdGraph based representation of the SoundClass | Sound/SoundClass.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Interpolate
(
float InterpValue, |
Get the parameters for the sound mix. | Sound/SoundClass.h | |
bool RecurseCheckChild
(
USoundClass* ChildSoundClass |
Sound Class Editor functionality. | Sound/SoundClass.h | |
void RefreshAllGraphs
(
bool bIgnoreThis |
Refresh all EdGraph representations of SoundClasses | Sound/SoundClass.h | |
void SetParentClass
(
USoundClass* InParentClass |
Set the parent class of this SoundClass, removing it as a child from its previous owner | Sound/SoundClass.h |
Overridden from IInterface_AssetUserData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddAssetUserData
(
UAssetUserData* InUserData |
Sound/SoundClass.h | ||
virtual const TArray< UAssetUserData * > * GetAssetUserDataArray() |
Sound/SoundClass.h | ||
virtual UAssetUserData * GetAssetUserDataOfClass
(
TSubclassOf< UAssetUserData > InUserDataClass |
Returns an instance of the provided AssetUserData class if it's contained in the target asset. | Sound/SoundClass.h | |
virtual void RemoveUserDataOfClass
(
TSubclassOf< UAssetUserData > InUserDataClass |
Sound/SoundClass.h |
Protected
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
Sound/SoundClass.h | ||
virtual FString GetDesc() |
Sound/SoundClass.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Sound/SoundClass.h | ||
virtual void PostLoad() |
Sound/SoundClass.h | ||
virtual void PreEditChange
(
FProperty* PropertyAboutToChange |
Sound/SoundClass.h | ||
virtual void Serialize
(
FArchive& Ar |
Sound/SoundClass.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddReferencedObjects
(
UObject* InThis, |
Add Referenced objects | Sound/SoundClass.h | |
static TSharedPtr< ISoundClassAudioEditor > GetSoundClassAudioEditor() |
Gets the sound cue graph editor implementation. | Sound/SoundClass.h | |
static void SetSoundClassAudioEditor
(
TSharedPtr< ISoundClassAudioEditor > InSoundClassAudioEditor |
Sets the sound cue graph editor implementation. | Sound/SoundClass.h |