Roblox UtilitiesDevlHub Roblox Documentation

Class

VideoCapture

NotCreatableNotReplicated
Inherits
Capture › Object
Memory category
Instances

A child class of Capture for videos.

A child class of Capture for videos.

Properties 2#

FilePathstringRequires RobloxScript security. The local file system path to the recorded video file.Read: RobloxScriptSecurityWrite: RobloxScriptSecurityReadSafeReadOnlyNotReplicated
TimeLengthdoubleThe length of the recorded video, in seconds.ReadSafeReadOnlyNotReplicated

FilePath: string#

ReadOnlyNotReplicatedRead: RobloxScriptSecurityWrite: RobloxScriptSecurityReadSafe

Requires RobloxScript security; experience scripts cannot read it even when they hold the VideoCapture object. Absolute path on the user's device to the video file this capture represents: the temporary file while recording is in progress, or, after PromptSaveCapturesToGallery(), the permanent gallery location. Defaults to an empty string until a recording has produced a video file.

TimeLength: double#

ReadOnlyNotReplicatedReadSafe

Duration of the video capture, in seconds. Populated once recording finishes, whether via StopVideoCapture() or because the capture's time limit was reached. Defaults to 0 until recording has finished.

Inherited members#

Inherited from Capture 6
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed