peng3d/model.py
def startAnimation(self,data,jumptype):
        """
        Callback that is called to initialize this animation on a specific actor.
        
        Internally sets the ``_anidata`` key of the given dict ``data``\ .
        
        ``jumptype`` is either ``jump`` or ``animate`` to define how to switch to this animation.
        """
        data["_anidata"]={}
        adata = data["_anidata"]
        
        adata["keyframe"]=0
        adata["last_tick"]=time.time()
        adata["jumptype"]=jumptype
        adata["phase"]="transition"
def startAnimation(self,data,jumptype):
        """
        Callback that is called to initialize this animation on a specific actor.
        
        Internally sets the ``_anidata`` key of the given dict ``data``\ .
        
        ``jumptype`` is either ``jump`` or ``animate`` to define how to switch to this animation.
        """
        data["_anidata"]={}
        adata = data["_anidata"]
        
        adata["keyframe"]=0
        adata["last_tick"]=time.time()
        adata["jumptype"]=jumptype
        adata["phase"]="transition"
def startAnimation ( self , data , jumptype ) : data [ "_anidata" ] = { } adata = data [ "_anidata" ] adata [ "keyframe" ] = 0 adata [ "last_tick" ] = time . time ( ) adata [ "jumptype" ] = jumptype adata [ "phase" ] = "transition"
Callback that is called to initialize this animation on a specific actor.
        
        Internally sets the ``_anidata`` key of the given dict ``data``\ .
        
        ``jumptype`` is either ``jump`` or ``animate`` to define how to switch to this animation.
Callback that is called to initialize this animation on a specific actor . Internally sets the _anidata key of the given dict data \ . jumptype is either jump or animate to define how to switch to this animation .