rojo/.cursor/rules/roblox/reference/engine/classes/VideoService.yaml
2026-02-02 12:08:47 -06:00

57 lines
1.6 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# This file is automatically generated. Please don't edit it manually.
# To submit a bug report on the content, see
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
name: VideoService
type: class
memory_category: Instances
summary: |
An internal service that offers no functionality to developers.
description: ''
code_samples: []
inherits:
- Instance
descendants: []
tags:
- NotCreatable
- Service
deprecation_message: ''
properties: []
methods:
- name: VideoService:CreateVideoSamplerAsync
summary: |
Creates a `Class.VideoSampler` that samples frames from the provided video
content.
description: |
Creates a `Class.VideoSampler` that samples frames from the provided video
content.
code_samples: []
parameters:
- name: content
type: Content
default:
summary: |
The video content to sample from.
- name: options
type: Dictionary?
default:
summary: |
Options table for creating the `Class.VideoSampler`:
- `Size` – A `Enum.VideoSampleSize` value that determines the
resolution of textures produced by the `Class.VideoSampler`.
Defaults to `Enum.VideoSampleSize.Small`. Use the smallest
resolution that meets your needs to minimize memory usage and
improve sampling performance.
returns:
- type: VideoSampler
summary: |
The created `Class.VideoSampler`.
tags:
- Yields
deprecation_message: ''
security: None
thread_safety: Unsafe
capabilities: []
events: []
callbacks: []