SOBLINKER(3iv)
β¨ SoBlinker(3IV) β¨
okay bestie, gather round, because we're talking about SoBlinker from the 3IV manual β she's an animated cycling switch node and honestly? she's iconic π
πΈ NAME πΈ
SoBlinker β animated cycling switch node π
π¦ INHERITS FROM π¦
like, the whole family tree, no cap:
SoBase > SoFieldContainer > SoNode > SoGroup > SoSwitch > SoBlinker
she got it from her ancestors, periodt.
β¨ SYNOPSIS β¨
first thing you gotta do, obviously:
#include <Inventor/nodes/SoBlinker.h>
π Fields from class SoBlinker
SoSFFloat speed
SoSFBool on
π Fields from class SoSwitch
SoSFInt32 whichChild
π Methods from class SoBlinker
SoBlinker()
static SoType getClassTypeId()
π«Ά Methods from class SoGroup
void addChild(SoNode *child)
void insertChild(SoNode *child, int newChildIndex)
SoNode * getChild(int index) const
int findChild(const SoNode *child) const
int getNumChildren() const
void removeChild(int index)
void removeChild(SoNode *child)
void removeAllChildren()
void replaceChild(int index, SoNode *newChild)
void replaceChild(SoNode *oldChild, SoNode *newChild)
β Methods from class SoNode
void setOverride(SbBool state)
SbBool isOverride() const
SoNode * copy(SbBool copyConnections = FALSE) const
virtual SbBool affectsState() const
static SoNode * getByName(const SbName &name)
static int getByName(const SbName &name, SoNodeList &list)
π§ Methods from class SoFieldContainer
void setToDefaults()
SbBool hasDefaultValues() const
SbBool fieldsAreEqual(const SoFieldContainer *fc) const
void copyFieldValues(const SoFieldContainer *fc, SbBool
copyConnections = FALSE)
SbBool set(const char *fieldDataString)
void get(SbString &fieldDataString)
virtual int getFields(SoFieldList &resultList) const
virtual SoField * getField(const SbName &fieldName) const
SbBool getFieldName(const SoField *field, SbName &fieldName)
const
SbBool isNotifyEnabled() const
SbBool enableNotify(SbBool flag)
π Methods from class SoBase
void ref()
void unref() const
void unrefNoDelete() const
void touch()
virtual SoType getTypeId() const
SbBool isOfType(SoType type) const
virtual void setName(const SbName &name)
virtual SbName getName() const
π DESCRIPTION π
so here's the tea, bestie π
SoBlinker is derived from SoSwitch, which means she selects one of her children to traverse. but here's the main character energy: using engines connected to the realTime global field, the whichChild field gets animated over time. literally living her life on a schedule π
if the node has only one child, whichChild toggles between SO_SWITCH_NONE and 0, which means that child gets switched on and off repeatedly. blink blink blink β¨
if the node has more than one child, they get cycled through continuously. it's giving carousel. it's giving slideshow. it's giving rotation. π₯
π FIELDS π
SoSFFloat speedβ defines the speed of the blinker, in cycles per second. yes, cycles per second. numbers, bestie. πΈSoSFBool onβ lets applications enable or disable the blinking easily. an on/off switch for the on/off switch, very meta of her π
π METHODS π
SoBlinker()β creates a blinker node with default settings. fresh out the box, defaults intact, ready to vibe π«Άstatic SoType getClassTypeId()β returns type identifier for this class. it's her ID, she's never leaving home without it π
β ACTION BEHAVIOR β
SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction, SoGetMatrixAction, SoHandleEventAction, SoRayPickAction, SoSearchAction
Same as for SoSwitch. that's it, that's the whole vibe. she's not doing anything new here, she's just being her ancestor. respect the lineage π
π§ FILE FORMAT/DEFAULTS π§
Blinker {
whichChild -1
speed 1
on TRUE
}
look at those defaults. whichChild -1, speed 1, on TRUE. slay β¨
and that's the whole page, bestie β no notes, no skips, every single option accounted for π
this little love letter was brought to you by the SoBlinker(3IV)() source/version tag, dated whenever it was dated, and honestly? she ate. πβ¨π¦
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms