def __init__(self, name, state=None): Id.__init__(self) Schedule.__init__(self) AnimationModifierList.__init__(self) self.name = name self.type = 'Animation' self.second_type = 'A' self.state = state
def animationModlist( modifiers ): ''' Build an AnimationModifierList Only used for animation data association ''' modlist = AnimationModifierList() modlist.setModifiers( modifiers ) return modlist
def animationModlist(modifiers): ''' Build an AnimationModifierList Only used for animation data association ''' modlist = AnimationModifierList() modlist.setModifiers(modifiers) return modlist
def json(self): ''' JSON representation of AnimationId ''' output = Id.json(self) output.update(AnimationModifierList.json(self)) output['name'] = self.name output['setting'] = "{}".format(self) del output['uid'] return output
def __init__(self, name, index): Id.__init__(self) AnimationModifierList.__init__(self) self.name = name self.index = index self.type = 'AnimationFrame'
def __init__(self, name): Id.__init__(self) AnimationModifierList.__init__(self) self.name = name self.type = 'Animation' self.second_type = 'A'
def __init__( self, name, index ): Id.__init__( self ) AnimationModifierList.__init__( self ) self.name = name self.index = index self.type = 'AnimationFrame'
def __init__( self, name ): Id.__init__( self ) AnimationModifierList.__init__( self ) self.name = name self.type = 'Animation'