Sha256: bdb8f680f59654229fd7467c138d3d5e2a45d92e0690ce5cbebfc99c355b2fdd
Contents?: true
Size: 367 Bytes
Versions: 18
Compression:
Stored size: 367 Bytes
Contents
# This middleware moves the keyframs by a preset number of pixels class Tracksperanto::Middleware::Shift < Tracksperanto::Middleware::Base attr_accessor :x_shift, :y_shift cast_to_float :x_shift, :y_shift def export_point(frame, float_x, float_y, float_residual) super(frame, float_x + @x_shift.to_f, float_y + @y_shift.to_f, float_residual) end end
Version data entries
18 entries across 18 versions & 1 rubygems