FImgMediaEngine

Handles interface between ImgMedia and the engine we are using.

Windows
MacOS
Linux

References

Module

ImgMediaEngine

Header

/Engine/Plugins/Media/ImgMedia/Source/ImgMediaEngine/Public/ImgMediaEngine.h

Include

#include "ImgMediaEngine.h"

Syntax

class FImgMediaEngine

Remarks

Handles interface between ImgMedia and the engine we are using.

Variables

Name Description

Protected variable

TMap< TWeakObje...

 

MapTextureToObject

Maps a media texture to an array of playback components.

Protected variable

TArray< TWeakOb...

 

MediaTextures

Array of media textures that we know about.

Destructors

Name Description

Public function Virtual

~FImgMediaEngine()

Functions

Name Description

Public function Static

FImgMediaEng...

 

Get()

Access engine from here.

Public function Virtual

void

 

GetCameraInfo

Get information on cameras.

Public function Const

const TArray...

 

GetObjects

(
    UMediaTexture* InTexture
)

Get which objects are usnig a specific media texture.

Public function

const TArray...

 

GetTextures()

Get a list of media textures we know about.

@ return List of textures.

Public function

void

 

RegisterTexture

(
    TSharedPtr< FImgMediaMipMapObjectIn...,
    UMediaTexture* InTexture
)

Each object should call this for each media texture that the object has.

Public function

void

 

UnregisterTexture

(
    TSharedPtr< FImgMediaMipMapObjectIn...,
    UMediaTexture* InTexture
)

Each object should call this for each media texture that the object has.

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