示例#1
0
def losGehts():

    while(True):

        viz.waitFrame(200)
        viz.logNotice("Bin in Schleife")
        pre = viz.Event(blub="ME")
        viz.postEvent(INC_JASON_EVENT,pre)
示例#2
0
 def sendJEvent(self,eventID,jEObj):
     #This command allows us to send events to the main script thread from different threads.
     # The event is saved in a list, which the main thread processes at the beginning of every frame.
     #Callbackers wich are rigistert to the spezific event, will be noteifide and the jEObj will be passed to them
     viz.postEvent(eventID,jEObj)