dmsurti / AssimpKit

A library (macOS, iOS) that converts the files supported by Assimp to Scene Kit scenes.
http://assimpkit.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
477 stars 54 forks source link

Add anim properties #48

Closed dmsurti closed 7 years ago

dmsurti commented 7 years ago

This adds support for CAMediaTiming, animation attributes and SCNAnimatable with an SCNAssimpAnimSettings class which contains the animation properties and updating the SCNNode+AssimpImport category for SCNAnimatable support.

The addAnimationScene category method now can be passed the animation key for later retrieval to delete, pause, resume and the animation settings object.

Fixes #47

codecov-io commented 7 years ago

Current coverage is 68.99% (diff: 0.00%)

Merging #48 into master will decrease coverage by 4.78%

@@             master        #48   diff @@
==========================================
  Files            12         14     +2   
  Lines          1304       1419   +115   
  Methods         104        127    +23   
  Messages          0          0          
  Branches        113        125    +12   
==========================================
+ Hits            962        979    +17   
- Misses          280        382   +102   
+ Partials         62         58     -4   

Powered by Codecov. Last update a68e5d0...9915de0