class

PointClickEngine::Graphics::Utils::Screenshot::Sequence

Inherits Reference < Object

Capture sequence for animation

Constructors

new(directory : String = "sequences", prefix : String = "frame", format : Format = Format::PNG, interval : Float32 = 0.1_f32, max_frames : Int32 = 1000)
Source

Instance methods

active?

Is sequence active?

Source
capture_frame

Capture single frame

Source
directory
Source
directory=(directory : String)
Source
format
Source
format=(format : Format)
Source
frame_count
Source
frame_count=(frame_count : Int32)
Source
frames

Get captured frame filenames

Source
interval
Source
interval=(interval : Float32)
Source
max_frames
Source
max_frames=(max_frames : Int32)
Source
prefix
Source
prefix=(prefix : String)
Source
start

Start capturing

Source
stop

Stop capturing

Source
update(delta_time : Float32)

Update and capture if needed

Source