Reference API Roblox

Engine API

Website

Related

Reference API Roblox

VideoCapture

A child class of Capture for videos.

This class is not replicated. Its interface does not cross the network boundary.
This class is not creatable. Instances of this class cannot be created with Instance.new.
Tags: [NotCreatable, NotReplicated]

Member index 2

HistoryMember
677FilePath: string
684TimeLength: double
inherited from Capture
684CaptureTime: DateTime
684CaptureType: CaptureType
687FilePathString: string
684LocalId: string
684SourcePlaceId: int64
684SourceUniverseId: int64
inherited from Object
647ClassName: string
647className: string
647GetPropertyChangedSignal(property: string): RBXScriptSignal
647IsA(className: string): bool
650isA(className: string): bool
647Changed(property: string)

Description

A child class of Capture for videos.

History 5

Members 2

FilePath

TypeDefault
string__api_dump_failed_to_create_class__

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.

This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.

History 1

Tags: [ReadOnly, NotReplicated]

TimeLength

TypeDefault
double__api_dump_failed_to_create_class__

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.

This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.

History 3

Tags: [ReadOnly, NotReplicated]

Settings