FAssetTypeActions_SoundBase

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

AudioEditor

Header

/Engine/Source/Editor/AudioEditor/Public/AssetTypeActions/AssetTypeActions_SoundBase.h

Include

#include "AssetTypeActions/AssetTypeActions_SoundBase.h"

Syntax

class FAssetTypeActions_SoundBase : public FAssetTypeActions_Base

Functions

Name Description

Protected function Const

bool

 

IsSoundPlaying

(
    USoundBase* Sound
)

Return true if the specified sound is playing

Protected function Const

bool

 

IsSoundPlaying

(
    const FAssetData& AssetData
)

Return true if the specified asset's sound is playing

Protected function Const

void

 

PlaySound

(
    USoundBase* Sound
)

Plays the specified sound wave

Protected function Const

void

 

StopSound()

Stops any currently playing sounds

Overridden from FAssetTypeActions_Base

Name Description

Public function Virtual Const

TSharedPtr< ...

 

GetThumbnailOverlay

(
    const FAssetData& AssetData
)

Overridden from IAssetTypeActions

Name Description

Public function Virtual

bool

 

AssetsActivatedOverride

(
    const TArray< UObject* >& InO...,
    EAssetTypeActivationMethod::Type Ac...
)

Allows overriding asset activation to perform asset type specific activation for the supplied assets.

Public function Virtual

bool

 

CanFilter()

Returns true if this class can be used as a filter in the content browser

Public function Virtual

void

 

GetActions

(
    const TArray< UObject* >& InO...,
    FToolMenuSection& Section
)

Generates a menu section for the specified objects.

Public function Virtual

uint32

 

GetCategories()

Returns the categories that this asset type appears in.

Public function Virtual Const

FText

 

GetName()

IAssetTypeActions Implementation.

Public function Virtual Const

UClass *

 

GetSupportedClass()

Get the supported class of this type.

Public function Virtual Const

FColor

 

GetTypeColor()

Returns the color associated with this type

Public function Virtual Const

bool

 

HasActions

(
    const TArray< UObject* >& InO...
)

Returns true if this class can supply actions for InObjects.

Deprecated Functions

Name Description

Public function Virtual

void

 

AssetsActivated

(
    const TArray< UObject* >& InO...,
    EAssetTypeActivationMethod::Type Ac...
)

Use AssetsActivatedOverride instead to provide any non-default behavior. Using AssetsActivatedOverride, you no longer need a call to FAssetTypeActions_Base::AssetsActivated.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss