FSlateSound::GetResourceObject

Get the resource object associated with this sound

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Sound/SlateSound.h

Include

#include "Sound/SlateSound.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Sound/SlateSound.cpp

Syntax

UObject * GetResourceObject() const

Remarks

Get the resource object associated with this sound

Ensure that you only access the resource as a USoundBase

Returns

The resource object, or null if this sound resource is empty

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