Package animio :: Module lib :: Class AnimInOutLibrary
[hide private]
[frames] | no frames]

Class AnimInOutLibrary

source code

object --+
         |
        AnimInOutLibrary

contains default implementation for animation export and import
Instance Methods [hide private]

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

    Query
 
_create_plug_node(self) source code
Class Methods [hide private]
    Export/Import/Load
 
export(cls, destination_file, iter_nodes, **kwargs)
Export animation retrieved from the given node iterator to the destination_file.
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

export(cls, destination_file, iter_nodes, **kwargs)
Class Method

source code 
Export animation retrieved from the given node iterator to the destination_file.
Parameters:
  • destination_file - file to which to export the animation to
  • iter_nodes - iterator yielding nodes in a format compatible to AnimationHandle.set_animation
  • **kwargs - passed to Scene.export
Returns:
destination_file as Path
Decorators:
  • @notundoable
Raises:
  • ValueError - if the passed in nodes have no animation