Animated cycling switch node. More...
#include <Inventor/nodes/SoBlinker.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoBlinker () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFFloat | speed |
SoSFBool | on |
Animated cycling switch node.
The SoBlinker class is derived from SoSwitch, so it selects one of its children to traverse. Using engines connected to the realTime global field, the whichChild field is animated over time. If the node has only one child, whichChild toggles between SO_SWITCH_NONE and 0, causing the child to be switched on and off repeatedly. If the node has more than one child, they are cycled through continuously.
whichChild | -1 |
speed | 1 |
on | TRUE |
SoBlinker::SoBlinker | ( | ) |
Creates a blinker node with default settings.
static SoType SoBlinker::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoSwitch.
virtual SoType SoBlinker::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoSwitch.
Allows applications to enable or disable the blinking easily.
Defines the speed of the blinker, in cycles per second.