Globals: Time Info

LightWave

Texture Functions Variant Parameters Globals Table of Contents

Time Info

Availability  LightWave 6.5
Component  Layout
Component  lwrender.h

The time info global returns the time of the frame currently being rendered.

Global Call

   LWTimeInfo *timeinfo;
   timeinfo = global( LWTIMEINFO_GLOBAL, GFUSE_TRANSIENT );

The global function returns a pointer to an LWTimeInfo.

   typedef struct st_LWTimeInfo {
      LWTime  time;
      LWFrame frame;
   } LWTimeInfo;
time
The time in seconds of the frame currently being rendered.

frame
The frame number for the current frame.