Animation Envelopes LW Bone Info Globals Table of Contents

"LW Backdrop Info"

Availability:  LightWave 6.0
Component:  Layout

The backdrop info global returns a function that evaluates the color of the backdrop in a specific direction at a given time. The information returned by this function is read-only.

Global Call

   LWBackdropInfo *bkdropinfo;
   bkdropinfo = global( "LW Backdrop Info", GFUSE_TRANSIENT );

The global function returns a pointer to an LWBackdropInfo.

   typedef struct st_LWBackdropInfo {
      void (*backdrop) (LWTime, const double ray[3], double color[3]);
   } LWBackdropInfo;

Note that this is a structure containing one member, a pointer to the information function. It's not the function itself. The structure allows for future expansion.

backdrop( time, ray, color )
Sets the color argument to the RGB levels of the color in the ray direction at the specified time.