An object for sampling frames from video content.
- Memory category
- Instances
- Own members
- 3
- Inherited members
- 6
- Subclasses
- 0
- Siblings
- 30
Properties4
Defined byVideoSampler2
Property categoryData
VideoSampler.TimeLength: number The length of theVideoContentin seconds.VideoSampler.VideoContent: Content The asset loaded into theVideoSampler.
No properties match the filters.
Methods4
Object:GetPropertyChangedSignal( property: string): RBXScriptSignal Get an event that fires when a given property of the object changes.Parameters Parameter Description property: stringThe property to connect to.Returns Type Description RBXScriptSignalA signal that fires whenever the property changes.- Returns true if an object's class matches or inherits from a given class.
Parameters Parameter Description className: stringThe class against which the Object's class will be checked. Case-sensitive.Returns Type Description booleanDescribes whether the Object's class matched or is a subclass of the given class. - Deprecated: This deprecated function is a variant of
Object:IsA()which should be used instead.Parameters Parameter className: stringReturns Type booleanUse IsA instead.
Defined byVideoSampler1
- Gets image frames at the specified timestamps.
Parameters Parameter Description times: { any }An array of requested timestamps in seconds for which to retrieve image frames. Each timestamp should be a number between0andTimeLength.Returns Type Description { any }An array of dictionary or nil values for each requested timestamp. If a requested timestamp is out of range or theVideoSamplerwas unable to produce a sample, the corresponding entry in the returned array will be nil. Each dictionary contains the following keys:
No methods match the filters.
Events1
Object.Changed: RBXScriptSignal<( property: string)> Fires immediately after a property of the object changes, with some limitations.Parameters Parameter property: string
No events match the filters.