Sha256: fb5c0df3a7b3f3651a296d6eeed5caaa470755f35c17cb98b4524e41ce00a981
Contents?: true
Size: 371 Bytes
Versions: 53
Compression:
Stored size: 371 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 || 0), float_y + (@y_shift || 0), float_residual) end end
Version data entries
53 entries across 53 versions & 1 rubygems