Skip to content

CaptureService

Service for capturing photos

Inherits: Instance

Properties

  • OnCooldown: boolean
  • CanCapture: boolean
  • DefaultCaptureOverlay: UIField
  • SpectatorAttach: Dynamic

Methods

TakePhotoAtDynamic(dyn: Dynamic, photoSize: Vector2, overlay: UIField) → nil

Take a photo at dynamic

TakePhotoAt(pos: Vector3, rot: Vector3, photoSize: Vector2, overlay: UIField) → nil

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.