Sha256: 0b252aa20da660eaeb55da0631af879b856f1a3465109aa7900688f0840a4cd5

Contents?: true

Size: 477 Bytes

Versions: 21

Compression:

Stored size: 477 Bytes

Contents

# 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

21 entries across 21 versions & 1 rubygems

Version Path
tracksperanto-2.8.6 lib/middleware/slipper.rb
tracksperanto-2.8.5 lib/middleware/slipper.rb
tracksperanto-2.8.4 lib/middleware/slipper.rb
tracksperanto-2.8.2 lib/middleware/slipper.rb
tracksperanto-2.8.1 lib/middleware/slipper.rb
tracksperanto-2.8.0 lib/middleware/slipper.rb
tracksperanto-2.7.0 lib/middleware/slipper.rb
tracksperanto-2.6.3 lib/middleware/slipper.rb
tracksperanto-2.6.2 lib/middleware/slipper.rb
tracksperanto-2.6.1 lib/middleware/slipper.rb
tracksperanto-2.6.0 lib/middleware/slipper.rb
tracksperanto-2.5.0 lib/middleware/slipper.rb
tracksperanto-2.4.1 lib/middleware/slipper.rb
tracksperanto-2.3.3 lib/middleware/slipper.rb
tracksperanto-2.3.2 lib/middleware/slipper.rb
tracksperanto-2.3.1 lib/middleware/slipper.rb
tracksperanto-2.3.0 lib/middleware/slipper.rb
tracksperanto-2.2.4 lib/middleware/slipper.rb
tracksperanto-2.2.2 lib/middleware/slipper.rb
tracksperanto-2.2.0 lib/middleware/slipper.rb