Class: Tracksperanto::Export::NukeCameraUsertracks
- Defined in:
- lib/export/nuke_cam_tk_usertracks.rb
Constant Summary collapse
- NAMING =
change to “usertrack%d” if user tracks are needed
"autotrack%d"
Constants inherited from ShakeText
ShakeText::POSTAMBLE, ShakeText::PREAMBLE, ShakeText::TEMPLATE
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from ShakeText
#end_tracker_segment, #export_point
Methods inherited from Base
#end_export, #end_tracker_segment, #export_point, inherited, #initialize
Methods included from ConstName
Methods included from SimpleExport
Constructor Details
This class inherits a constructor from Tracksperanto::Export::Base
Class Method Details
.desc_and_extension ⇒ Object
8 9 10 |
# File 'lib/export/nuke_cam_tk_usertracks.rb', line 8 def self.desc_and_extension "nuke_cam_trk_autotracks.txt" end |
.human_name ⇒ Object
12 13 14 |
# File 'lib/export/nuke_cam_tk_usertracks.rb', line 12 def self.human_name "Nuke CameraTracker node autotracks (enable import/export in the Tracking tab)" end |
Instance Method Details
#start_export(w, h) ⇒ Object
16 17 18 19 |
# File 'lib/export/nuke_cam_tk_usertracks.rb', line 16 def start_export(w, h) super @counter = 0 end |
#start_tracker_segment(tracker_name) ⇒ Object
22 23 24 25 |
# File 'lib/export/nuke_cam_tk_usertracks.rb', line 22 def start_tracker_segment(tracker_name) super(NAMING % @counter) @counter += 1 end |