Abstract base class for background nodes. More...
#include <Inventor/nodes/SoBackground.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Abstract base class for background nodes.
This is the abstract base class for all background nodes.
Note: Some background nodes can set Alpha values (as well as R, G and B values) in an RGBA framebuffer, but they cannot make Open Inventors rendering window transparent with respect to other windows on the desktop. This is a window system specific feature and can only be handled through the window system API. Thus, modifying the Alpha value of the background won't have any visible effect on the rendered image. However, setting an Alpha value can be useful when exporting to an image format that supports transparency (like PNG for example). In this case the Alpha value of the background will be exported and can be used to perform some kind of compositing inside an image manipulation program.
SoGradientBackground, SoImageBackground
static SoType SoBackground::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoNode.
Reimplemented in SoGradientBackground, and SoImageBackground.
virtual SoType SoBackground::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoNode.
Reimplemented in SoGradientBackground, and SoImageBackground.