Skip to content
프로젝트

소개

Unity library for rendering After Effects shape animations

디자인 및 미디어

이 수치를 측정하는 방법

What you can do

  • Shape fill color
  • Shape stroke color
  • Layer anchor points
  • Layer rotation (X, Y, Z)

측정된 스타 증가

in 24h
-1
in 7 days
-1
in 15 days
-1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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

Ex1

Ex2

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)

Ex

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 layer
Scale [Float]: Scale of rendered composition
Stroke Width [Float]: Width of AE strokes
Loop [Bool]: Should the composition loop
Quality [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

관련 프로젝트 살펴보기

불러오는 중…