engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IMediaOverlaySample类 参考abstract

Interface for media overlay text samples. 更多...

#include <IMediaOverlaySample.h>

Public 成员函数

virtual FTimespan GetDuration () const =0
 Get the amount of time for which the sample should be displayed. 更多...
 
virtual TOptional< FVector2D > GetPosition () const =0
 Get the position at which to display the text. 更多...
 
virtual FText GetText () const =0
 Get the sample's text. 更多...
 
virtual FMediaTimeStamp GetTime () const =0
 Get the sample time (in the player's local clock). 更多...
 
virtual TOptional< FTimecode > GetTimecode () const
 Get the sample timecode if available. 更多...
 
virtual EMediaOverlaySampleType GetType () const =0
 Get the sample type. 更多...
 
virtual ~IMediaOverlaySample ()
 Virtual destructor.
 

详细描述

Interface for media overlay text samples.

成员函数说明

◆ GetDuration()

virtual FTimespan IMediaOverlaySample::GetDuration ( ) const
pure virtual

Get the amount of time for which the sample should be displayed.

返回
Sample duration.

◆ GetPosition()

virtual TOptional< FVector2D > IMediaOverlaySample::GetPosition ( ) const
pure virtual

Get the position at which to display the text.

返回
Display position (relative to top-left corner, in pixels).
参见
GetText

◆ GetText()

virtual FText IMediaOverlaySample::GetText ( ) const
pure virtual

Get the sample's text.

返回
The overlay text.
参见
GetPosition, GetType

◆ GetTime()

virtual FMediaTimeStamp IMediaOverlaySample::GetTime ( ) const
pure virtual

Get the sample time (in the player's local clock).

This value is used primarily for debugging purposes.

返回
Sample time.

◆ GetTimecode()

virtual TOptional< FTimecode > IMediaOverlaySample::GetTimecode ( ) const
inlinevirtual

Get the sample timecode if available.

返回
Sample timecode.
参见
GetTime

◆ GetType()

virtual EMediaOverlaySampleType IMediaOverlaySample::GetType ( ) const
pure virtual

Get the sample type.

返回
Sample type.
参见
GetText

该类的文档由以下文件生成: