Open jacksontaylor13 opened 7 years ago
Since this PR deals with rotation, also included a fix for issue #106.
@jacksontaylor13 updated the pull request - view changes
@LazyChild has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@jacksontaylor13 updated the pull request - view changes - changes since last import
@LazyChild has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Hf
After Effects Script: Added in functionality to support the XY rotation on a 3D layer in After Effects. If you perform the transformation on the
Transform
of theShape Layer
you will be able to animate the 3-D axes also. Currently the support is only for Z-axis rotation, so this PR will add in the new functionality. In the Keyframes file, once exported, the keys used for X and Y rotation areX_ROTATION
andY_ROTATION
, respectively.iOS SDK: In order to interpret and handle the new 3D layer transformations, the iOS SDK will now be able to intepret the values and insert the animations accordingly. Using a new
KFAxis
enumeration on theKFVectorAnimationLayer
class, you are able to specify which axis the rotation animation should occur on. This will hopefully help abstract some of the code in that file, to prevent duplication.