Navigation
API > API/Runtime > API/Runtime/Media > API/Runtime/Media/IMediaTextureSample
Description
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.
| Name | GetDuration |
| Type | function |
| Header File | /Engine/Source/Runtime/Media/Public/IMediaTextureSample.h |
| Include Path | #include "IMediaTextureSample.h" |
FTimespan GetDuration() const
Sample duration.