leetful/u.movin
关于
Unity library for rendering After Effects shape animations
设计与媒体可以做什么
- Shape fill color
- Shape stroke color
- Layer anchor points
- Layer rotation (X, Y, Z)
实测星标增长
- 24小时
- -1
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Bringing After Effects shape animations to Unity.
Inspired by the Lottie frameworks, which utilize animation data from After Effects to create animated vector graphics on native platforms.
With the help of Unity's Vector Graphics package, this library brings the same to Unity.
Examples

Features
Currently supports animation for:
- Shape paths
- Shape fill color
- Shape stroke color
- Layer anchor points
- Layer position
- Layer rotation (X, Y, Z)
- Layer scale
- Layer opacity
- Blending between compositions
- Single layer precompositions [IN PROGRESS]
Usage
First, use the Bodymovin extension in After Effects to export your composition.
Second, enable Vector Graphics from the Package Manager in Unity.
Third, add the exported json to your Resources folder.
Editor
Add a Movin Renderer component to your GameObject, and point the resourcePath to your json file (located under Resources)

Script instantiation
Movin mov = new Movin(transform, "json/samurai");
mov.Play();
Pass your GameObject's transform as a parameter, followed by the json path (located under Resources)
Optional parameters
Sort [Int]: Order in layerScale [Float]: Scale of rendered compositionStroke Width [Float]: Width of AE strokesLoop [Bool]: Should the composition loopQuality [Float (0.01 - 1.0)]: Quality of the shapes drawn (lower is better)
TODO
- Concurrent playing composition blending
- Nested Precomps
- Masking / Alpha Mattes
- Parametric shapes
- Stroke size, width, opacity
- Fill opacity
- Time remapping
- Animating bitmap layers
- Blend mode support
探索相关项目
加载中…