Skip to main content

Animation Recorder

The AnimationRecorder class is a helper class used to reduce boilerplate when creating Animations.

This tutorial was designed to show how to manipulate AnimationRecorder for quickly creating animations.

  • recordSegment
  • recorderAndExportSegment

It can be accessed through the API by

local AnimationRecorder = api.AnimationRecorder
animationRecorder:recordSegment(function(keyframeRecorder, triggerRecorder)
-- code here
end)
animationRecorder:recordAndExportSegment("SegmentName", function(keyframeRecorder, triggerRecorder)
-- code here
end)