Sha256: 9ec85c1f4ae57f63a4abc393004a14dde02ce6c0199043a63064fff1d0fe71a2

Contents?: true

Size: 505 Bytes

Versions: 6

Compression:

Stored size: 505 Bytes

Contents

# -*- encoding : utf-8 -*-
# Slips the keyframe positions by a specific integer amount of frames, positive values slip forward (later in time). Useful if you just edited some stuff onto
# the beginning if your sequence and need to extend your tracks.
class Tracksperanto::Middleware::Slipper < Tracksperanto::Middleware::Base
  attr_accessor :slip
  cast_to_int :slip
  
  def export_point(frame, float_x, float_y, float_residual)
    super(frame + @slip.to_i, float_x, float_y, float_residual)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tracksperanto-2.9.5 lib/middleware/slipper.rb
tracksperanto-2.9.4 lib/middleware/slipper.rb
tracksperanto-2.9.3 lib/middleware/slipper.rb
tracksperanto-2.9.2 lib/middleware/slipper.rb
tracksperanto-2.9.1 lib/middleware/slipper.rb
tracksperanto-2.9.0 lib/middleware/slipper.rb