Skip to content
Roblox API Reference

StudioScreenshotCapture

Represents a single screenshot captured from Studio, exposing the resulting image buffer and the parameters the capture was taken with.
  • Not creatable
  • Not replicated
Memory category
Instances
Own members
9
Inherited members
75
Subclasses
0
Siblings
608

Properties29

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byStudioScreenshotCapture6

Property categoryData

Methods45

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Defined byStudioScreenshotCapture3
  • StudioScreenshotCapture:GetBuffer(): buffer
    Returns the captured image data as a buffer in the capture's pixel format.
    • Plugin security
    Returns
    TypeDescription
    buffer
    A buffer containing the captured image data in the capture's BufferFormat.
  • StudioScreenshotCapture:GetErrors(): { any }
    Returns an array of error messages recorded during the capture.
    • Plugin security
    Returns
    TypeDescription
    { any }
    An array of strings describing any errors that occurred during the capture.
  • StudioScreenshotCapture:ScaleAsync(strategy: Enum.ResamplerMode,newSize: Vector2,): StudioScreenshotCapture
    Produces a new capture containing a resized copy of this capture's image.
    • Yields
    • Plugin security
    Parameters
    ParameterDescription
    strategy: Enum.ResamplerMode
    The ResamplerMode used to resample the image. ResamplerMode.Default applies bilinear filtering; ResamplerMode.Pixelated applies nearest-neighbor (point) sampling.
    newSize: Vector2
    The width and height, in pixels, of the scaled image.
    Returns
    TypeDescription
    StudioScreenshotCapture
    A new StudioScreenshotCapture whose image is this capture scaled to newSize.

Events10

Inherited fromObject1
Inherited fromInstance9