SoBlinker

InventorModule
genre InventorNodesAutomatic
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def
inherits from Switch

Purpose

The SoBlinker class is derived from SoSwitch, so it selects one of its children to traverse.

Using engines connected to the speed 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.

Input Fields

child

name: child, type: SoNode

Output Fields

self

name: self, type: SoNode

Parameter Fields

Hidden Fields

whichChild

name: whichChild, type: Integer, default: -1

Selects the input child to render, or all or no child at all.

speed

name: speed, type: Float, default: 1

Defines the speed of the blinker, in cycles per second.

on

name: on, type: Bool, default: TRUE

Allows applications to enable or disable the blinking easily.