overview | basic concepts | gops | gprims | animation | rendering | math | index

animation


models & avars | time | exposure sheets

Time

time

A variable in the global environment corresponding to the current "global" time. time is used implicitly to sample avars (unless a specific time is specified). Although time often corresponds to an integer frame number, it is actually a real and therefore can have non-integer values.

(set-time! value)

Sets time to the specified value and calls update-world (which implies that you should not use set-time! within the the body of world!). Scheme's set! command should not be used to set the value of time because it is dependent on the current implementation of time.


AL: The Animation Language is Copyright © 1995, Stephen F. May

Last updated: 11/21/95 / Steve May ( smay@cgrg.ohio-state.edu )
Any comments or suggestions appreciated.