UMediaTexture::GetNextSampleTime

Gets the next sample Time.

Windows
MacOS
Linux

References

Module

MediaAssets

Header

/Engine/Source/Runtime/MediaAssets/Public/MediaTexture.h

Include

#include "MediaTexture.h"

Source

/Engine/Source/Runtime/MediaAssets/Private/Assets/MediaTexture.cpp

Syntax

FTimespan GetNextSampleTime() const

Remarks

Gets the next sample Time. Only valid if GetAvailableSampleCount is greater than 0 @note This value is cached when last render command was executed to keep single consumer requirements.

Returns

FTimespan of the next sample or FTimespan::MinValue if no sample was available in the queue.

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