class Tracksperanto::Tool::Shift
This tool moves the keyframs by a preset number of pixels
Public Class Methods
action_description()
click to toggle source
# File lib/tools/shift.rb, line 7 def self.action_description "Move all the trackers by a specified number of pixels" end
Public Instance Methods
export_point(frame, float_x, float_y, float_residual)
click to toggle source
Calls superclass method
# File lib/tools/shift.rb, line 11 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