Skip to contents

Returns the camera to the recording frame (or the full viewport). Outside a recording it does nothing.

Usage

pz_camera_reset(ctx, ..., wait = FALSE)

Arguments

ctx

A paparazzi context.

...

Checked empty; reserved for future use.

wait

Whether to wait for the move to finish before the next step. FALSE (the default) lets the next step run while the camera moves, so a cursor glide can happen during a zoom. Either way, a camera call first lets an earlier camera move finish, so calling pz_camera() on the same target again settles the camera there. pz_record_hold(), pz_record_pause() and pz_record_stop() always let a move finish first.

Value

ctx, invisibly.