FMovieViewport

This viewport is a simple interface for the loading to use to display the video textures.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MoviePlayer

Header

/Engine/Source/Runtime/MoviePlayer/Public/MoviePlayer.h

Include

#include "MoviePlayer.h"

Syntax

class FMovieViewport :
    public ISlateViewport,
    public TSharedFromThis< FMovieViewport >

Remarks

This viewport is a simple interface for the loading to use to display the video textures.

Constructors

Name Description

Public function

FMovieViewport()

Destructors

Name Description

Public function

~FMovieViewport()

Functions

Name Description

Public function

void

 

SetDefaultSize

(
    FIntPoint InSize
)

Sets the size to use when there is no texture.

Public function

void

 

SetTexture

Overridden from ISlateViewport

Name Description

Public function Virtual Const

FIntPoint

 

GetSize()

ISlateViewport interface.

Public function Virtual Const

FSlateShader...

 

GetViewportRenderTargetTexture()

Returns a slate texture used to draw the rendered viewport in Slate.

Public function Virtual Const

bool

 

RequiresVsync()

Returns true if the viewport should be vsynced.