Catching outputs from functions called in vizact.ontimer()
How can I capture the outputs from a function called using the vizact.ontimer() function? I understand that I need to define the name of the function I want to call, and pass any arguments in to the function following that; eg:
Code:
vizact.ontimer(0,myFunction,input) |
Can you explain what you are trying to accomplish with a timer function and the output you're expecting?
|
At every screen refresh, I need to manipulate a quad based on the position of a couple of trackable (from motion capture) rigid bodies. I need to pass some variables back into 'myFunction' that are output from 'myFunction' on each occurrence. These are a few ints and bools.
|
I'd recommend creating a class to update the quad and to store variables from each update. Here is a simple outline of what I am referring to:
Code:
import vizact |
All times are GMT -7. The time now is 12:59 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC