# StudioScreenshotCapture(ロブロックス クラス) > Represents a single screenshot captured from Studio, exposing the resulting image buffer and the parameters the capture was taken with. - URL:https://roblox.minecraft-okinawa.com/reference/classes/StudioScreenshotCapture/ - 公式:https://create.roblox.com/docs/reference/engine/classes/StudioScreenshotCapture - 受け継いでいるクラス:Instance ## プロパティ - `StudioScreenshotCapture.BufferFormat: StudioCaptureScreenshotFormat`:The pixel format of the image data returned by Class.StudioScreenshotCapture:GetBuffer()|GetBuffer(). - `StudioScreenshotCapture.BufferStatus: StudioCaptureBufferStatus`:Reflects the current state of the capture as its image data is produced. - `StudioScreenshotCapture.OriginalSize: Vector2`:The size, in pixels, of the region available for capture from Class.StudioScreenshotCapture.Position|Position to the edge of the Studio view. - `StudioScreenshotCapture.Position: Vector2`:The top-left corner, in pixels, of the captured region within the Studio view. - `StudioScreenshotCapture.Resolution: Vector2`:The pixel dimensions of the captured image. - `StudioScreenshotCapture.UICaptureMode: UICaptureMode`:Indicates which user-interface layers were included in the capture. ## メソッド - `StudioScreenshotCapture:GetBuffer(): buffer`:Returns the captured image data as a buffer in the capture's pixel format. - `StudioScreenshotCapture:GetErrors(): Array`:Returns an array of error messages recorded during the capture. - `StudioScreenshotCapture:ScaleAsync(strategy: ResamplerMode, newSize: Vector2): StudioScreenshotCapture`:Produces a new capture containing a resized copy of this capture's image. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)