public class SoOnOff extends SoEngine
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
File format/default:
OnOff {
on | |
off | |
toggle |
See also:
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoEngineOutput |
isOff
(
SoSFBool ) The inverse of isOn. |
SoEngineOutput |
isOn
(
SoSFBool ) Switch value. |
SoSFTrigger |
off
Turn the isOn switch off.
|
SoSFTrigger |
on
Turn the isOn switch on.
|
SoSFTrigger |
toggle
Toggle the switch value.
|
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoOnOff()
Constructor.
|
copy, getByName, getOutput, getOutputName
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public final SoSFTrigger on
public final SoSFTrigger off
public final SoSFTrigger toggle
public final SoEngineOutput isOn
SoSFBool
) Switch value.public final SoEngineOutput isOff
SoSFBool
) The inverse of isOn.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com