mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-24 15:01:38 +00:00
57 lines
1.6 KiB
YAML
57 lines
1.6 KiB
YAML
# 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: []
|