Navigation
API > API/Runtime > API/Runtime/MediaAssets
Tracks which media textures are used by which objects.
| Name | FMediaTextureTracker |
| Type | class |
| Header File | /Engine/Source/Runtime/MediaAssets/Public/MediaTextureTracker.h |
| Include Path | #include "MediaTextureTracker.h" |
Syntax
class FMediaTextureTracker
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FMediaTextureTracker() |
MediaTextureTracker.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TArray< TWeakPtr< FMediaTextureTrackerObject, ESPMode::ThreadSafe > > * GetObjects
(
TObjectPtr< UMediaTexture > InTexture |
Get which objects are usnig a specific media texture. | MediaTextureTracker.h | |
const TArray< TWeakObjectPtr< UMediaTexture > > & GetTextures() |
Get a list of media textures we know about.@ return List of textures. | MediaTextureTracker.h | |
void RegisterTexture
(
TSharedPtr< FMediaTextureTrackerObject, ESPMode::ThreadSafe >& InInfo, |
Each object should call this for each media texture that the object has. | MediaTextureTracker.h | |
void UnregisterTexture
(
TSharedPtr< FMediaTextureTrackerObject, ESPMode::ThreadSafe >& InInfo, |
Each object should call this for each media texture that the object has. | MediaTextureTracker.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FMediaTextureTracker & Get() |
Access engine from here. | MediaTextureTracker.h |