[visionegg] Re: counting frames
- From: Andrew Straw <astraw@xxxxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Mon, 17 Sep 2007 12:50:11 -0700
John Christie wrote:
> Ah, so what is defined in temporal_variables is what get passed to
> text_func?
It specifies what gets passed. They the function is called with keyword
arguments corresponding to the names of the fields in temporal_variables.
> . Does one just pass a list?
No, temporal_variables is a bit-field. So you can either add or
logical-or the individual bits.
> Also, is this true for other functions in the function controller?
I'm not sure I understand what you're asking, but yes, you should be
able to set up any class that derives from Controller this way.
> Can I get these values out of the presentation object?
Yes, by creating a Controller instance that does your bidding. It's
often useful to have a function that gets called on every frame, such as
control_dynamic() in the visual_jitter.py demo.
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
- References:
- [visionegg] counting frames
- From: John Christie
- [visionegg] Re: counting frames
- From: Andrew Straw
- [visionegg] Re: counting frames
- From: John Christie
Other related posts:
- » [visionegg] counting frames
- » [visionegg] Re: counting frames
- » [visionegg] Re: counting frames
- » [visionegg] Re: counting frames
- [visionegg] counting frames
- From: John Christie
- [visionegg] Re: counting frames
- From: Andrew Straw
- [visionegg] Re: counting frames
- From: John Christie