예제 #1
0
 def traverse(self, recursive=True, verbose=False):
     packer = DNAProp.traverse(self, recursive=False, verbose=verbose)
     packer.name = 'DNAAnimProp'  # Override the name for debugging.
     packer.pack('anim name', self.animName, STRING)
     if recursive:
         packer += self.traverseChildren(verbose=verbose)
     return packer
예제 #2
0
    def __init__(self, name):
        DNAProp.__init__(self, name)

        self.animName = ''
예제 #3
0
 def __init__(self, name, code, anim):
     DNAProp.__init__(self, name, code)
     self.anim = anim
예제 #4
0
 def _makeNode(self, parent, storage):
     node = DNAProp._makeNode(self, parent, storage)
     node.setTag('DNAAnim', self.anim)
     return node
예제 #5
0
    def __init__(self, name, code, anim):
        DNAProp.__init__(self, name, code)

        self.anim = anim
예제 #6
0
    def _makeNode(self, parent, storage):
        node = DNAProp._makeNode(self, parent, storage)

        node.setTag('DNAAnim', self.anim)

        return node
예제 #7
0
 def __init__(self):
     DNAProp.__init__(self)
     anim = ""