mvViewBackground(3dm) mvViewBackground(3dm)
mvSetViewBackground, mvGetViewBackground - Set background color of
playback region for a movie instance
#include <dmedia/moviefile.h>
#include <dmedia/movieplay.h>
void mvSetViewBackground(MVid movieid, unsigned short red,
unsigned short green, unsigned short blue);
void mvGetViewBackground(MVid movieid, unsigned short *redreturn,
unsigned short *greenreturn,
unsigned short *bluereturn);
mvSetViewBackground(3dm) sets the color for the background region of a
movie instance. The values for each color component can be in the range
from 0-255.
The default background color is SGI light gray, RGB (170, 170, 170).
mvGetViewBackground(3dm) returns the current background color components.
You may call these functions for a specified movie instance regardless of
whether or not the movie is playing.
You may only call these functions for a specified movie while it is bound
to a window (see mvBindOpenGLWindow(3dm)).
mvBindOpenGLWindow(3dm), mvIntro(3dm), mvGetViewOffset(3dm),
mvGetViewSize(3dm), mvQueryViewOffset(3dm), mvQueryViewSize(3dm),
mvSetViewSize(3dm), mvSetViewOffset(3dm).
PPPPaaaaggggeeee 1111 [ Back ]
|