def losGehts(): while(True): viz.waitFrame(200) viz.logNotice("Bin in Schleife") pre = viz.Event(blub="ME") viz.postEvent(INC_JASON_EVENT,pre)
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)