IMediaTextureSample::GetDuration

Get the amount of time for which the sample is valid.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Media

Header

/Engine/Source/Runtime/Media/Public/IMediaTextureSample.h

Include

#include "IMediaTextureSample.h"

Syntax

FTimespan GetDuration() const

Remarks

Get the amount of time for which the sample is valid.

A duration of zero indicates that the sample is valid until the timecode of the next sample in the queue.

Returns

Sample duration.

See Also

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