Skip to content

CaptureService

Inherits Instance

Service for capturing photos

Static Class

This object is a static class. It can be accessed by using its name as a keyword.

Additionally, it cannot be created in the creator menu or with Instance.New().

Not newable

This object cannot be created by scripts using Instance.New().

Properties

OnCooldown : boolean

Returns whenever the capture is on cooldown.

CanCapture : boolean

Determines if user/scripts can take a picture.

DefaultCaptureOverlay : UIField

Default capture overlay for all captures

SpectatorAttach : Dynamic

Attaches a spectator camera at dynamic for use with spectator mode.

Methods

TakePhotoAtDynamic → nil

Parameters

dyn [ Dynamic ]

photoSize [ Vector2? ]

overlay [ UIField? ]

Take a photo at dynamic

TakePhotoAt → nil

Parameters

pos [ Vector3 ]

rot [ Vector3 ]

photoSize [ Vector2? ]

overlay [ UIField? ]

Take photo at pos for position and rot for rotation, optional photoSize defines the size, and optional UI overlay can be passed to include it in the result photo.