Class
VideoSampler
An object for sampling frames from video content.
About VideoSampler
This object lets you get image frames from selected timestamps of a video. To
create a VideoSampler, call
VideoService.CreateVideoSamplerAsync.
Properties 2
TimeLength
: doubleReadOnlyNotReplicatedThe length of theVideoContentin seconds.VideoContent
: ContentReadOnlyNotReplicatedThe asset loaded into theVideoSampler.
Methods 1
GetSamplesAtTimesAsync
(times: Array) → List<VideoSample>YieldsGets image frames at the specified timestamps.This method allows you to get a set of image frames from a video at specified timestamps as image
Contentobjects.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.