Loading...
Loading...
Compare original and translation side by side
use_figmaskillNames: "figma-use-motion"figma-useuse_figmause_figmause_figmaskillNames: "figma-use-motion"figma-usemetronome"<name>" is not a supported APImetronome"<name>" is not a supported APIuse_figmamanualKeyframeTracksapplyManualKeyframeTrackremoveManualKeyframeTrackapplyAnimationStyleremoveAnimationStyleanimationStylesnode.timelinesnode.setTimelineDuration(id, seconds)use_figmamanualKeyframeTracksapplyManualKeyframeTrackremoveManualKeyframeTrackapplyAnimationStyleremoveAnimationStyleanimationStylesnode.timelinesnode.setTimelineDuration(id, seconds)node.manualKeyframeTracksnode.applyManualKeyframeTrack(field, track)node.removeManualKeyframeTrack(field)node.animationStylesnode.applyAnimationStyle(styleId, presetData?)node.removeAnimationStyle(id)idnode.timelinesnode.setTimelineDuration(id, durationSeconds)node.animationsfigma.motion.figmaAnimationStyles()"figma:motion"node.manualKeyframeTracksnode.applyManualKeyframeTrack(field, track)node.removeManualKeyframeTrack(field)node.animationStylesnode.applyAnimationStyle(styleId, presetData?)node.removeAnimationStyle(id)idnode.timelinesnode.setTimelineDuration(id, durationSeconds)node.animationsfigma.motion.figmaAnimationStyles()"figma:motion"| Doc | When to load | What it covers |
|---|---|---|
| motion-patterns.md | Adding/editing motion animation | Manual keyframes, animated fills/strokes, applying animation styles, timeline duration |
| motion-easing.md | Setting animation easing | Keyframe easing objects, custom cubic/spring, |
| 文档 | 加载时机 | 涵盖内容 |
|---|---|---|
| motion-patterns.md | 添加/编辑动效动画时 | 手动关键帧、动态填充/描边、应用动画样式、时间线时长 |
| motion-easing.md | 设置动画缓动时 | 关键帧缓动对象、自定义贝塞尔曲线/弹簧效果、 |
get_screenshotexport_videoconstraint: { type: 'WIDTH', value: 320 }quality: "low"WIDTHconstraintfps: 5export_videojobIdstatus: "processing"{ fileKey, jobId }ffmpeg -ss <t> -i anim.mp4 -frames:v 1 frame_<t>.pngffmpegget_screenshotexport_videoconstraint: { type: 'WIDTH', value: 320 }quality: "low"constraintfps: 5export_videojobId"processing"{ fileKey, jobId }ffmpeg -ss <t> -i anim.mp4 -frames:v 1 frame_<t>.png{ type: 'EASE_OUT', easingFunctionCubicBezier?: …, easingFunctionSpring?: … }OUT_CUBICEASE_IN_AND_OUTEASE_IN_AND_OUT_BACKEASE_IN_OUTsetTimelineDurationTRANSLATION_XTRANSLATION_YROTATIONSCALE_XSCALE_YSCALE_XYMOTION_*figma-useffmpegexport_videofpsget_screenshot{ type: 'EASE_OUT', easingFunctionCubicBezier?: …, easingFunctionSpring?: … }OUT_CUBICEASE_IN_AND_OUTEASE_IN_AND_OUT_BACKEASE_IN_OUTsetTimelineDurationTRANSLATION_XTRANSLATION_YROTATIONSCALE_XSCALE_YSCALE_XYMOTION_*figma-useexport_videoget_screenshot