SOONOFF(3iv)
π NAME π
SoOnOff β engine that functions as an on/off switch. manual name? SoOnOff(3IV)(). bestie, it's a whole switch engine. π
𧬠INHERITS FROM π§¬
SoBase > SoFieldContainer > SoEngine > SoOnOff
β¨ SYNOPSIS β¨
#include <Inventor/engines/SoOnOff.h>
Inputs from class SoOnOff:
SoSFTrigger on
SoSFTrigger off
SoSFTrigger toggle
Outputs from class SoOnOff:
(SoSFBool) isOn
(SoSFBool) isOff
Methods from class SoOnOff:
SoOnOff()
Methods from class SoEngine:
static SoType getClassTypeId()
virtual int getOutputs(SoEngineOutputList &list) const
SoEngineOutput * getOutput(const SbName &outputName) const
SbBool getOutputName(const SoEngineOutput *output, SbName
&outputName) const
SoEngine * copy() const
static SoEngine * getByName(const SbName &name)
static int getByName(const SbName &name, SoEngineList &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 π
okay so this engine has three triggers as input and two Boolean values as output. The isOn output is a switch that can be turned on or off by triggering the corresponding input. You can toggle the value by triggering the toggle input. By default isOn is FALSE. The isOff output value is the inverse of isOn. No cap, that's the whole vibe. π¦
π INPUTS π
SoSFTrigger onβ Turn theisOnswitch on. β¨SoSFTrigger offβ Turn theisOnswitch off. π€SoSFTrigger toggleβ Toggle the switch value. π
π€ OUTPUTS π€
(SoSFBool) isOnβ Switch value. π(SoSFBool) isOffβ The inverse ofisOn. π
π οΈ METHODS π οΈ
SoOnOff()β Constructor. It constructs. That's the job. π
π FILE FORMAT/DEFAULTS π
OnOff {
on
off
toggle
}
π SEE ALSO π
SoEngineOutput
that's the whole SoOnOff(3IV)() page, bestie π the footer/source/version tag is SoOnOff(3IV)(), and there's no date listed on this one β mysterious, lowkey iconic. πβ¨
π¦ 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