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
| Name | Value | Description |
|---|---|---|
| Small | 0 | Use when the video sample is displayed on roughly a quarter of the screen. |
| Medium | 1 | Use when the video sample is displayed on roughly half the screen. |
| Large | 2 | Use when the video sample is displayed on roughly three quarters of the screen. |
| Full | 3 | Use when the video sample is displayed full screen. |
Small
Use when the video sample is displayed on roughly a quarter of the screen.
| Field | Value |
|---|---|
| value | 0 |
Medium
Use when the video sample is displayed on roughly half the screen.
| Field | Value |
|---|---|
| value | 1 |
Large
Use when the video sample is displayed on roughly three quarters of the screen.
| Field | Value |
|---|---|
| value | 2 |
Full
Use when the video sample is displayed full screen.
| Field | Value |
|---|---|
| value | 3 |