1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

VideoSampleSize

Controls the resolution of textures produced by VideoSampler. Use the smallest resolution that meets your needs to minimize memory usage and improve sampling performance.

Items

NameValueDescription
Small0Use when the video sample is displayed on roughly a quarter of the screen.
Medium1Use when the video sample is displayed on roughly half the screen.
Large2Use when the video sample is displayed on roughly three quarters of the screen.
Full3Use when the video sample is displayed full screen.

Small

Use when the video sample is displayed on roughly a quarter of the screen.

FieldValue
value0

Medium

Use when the video sample is displayed on roughly half the screen.

FieldValue
value1

Large

Use when the video sample is displayed on roughly three quarters of the screen.

FieldValue
value2

Full

Use when the video sample is displayed full screen.

FieldValue
value3