Click or drag to resize
SoSwitchElement Class

Stores the current switch index.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoInt32Element
        OIV.Inventor.ElementsSoSwitchElement

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.2.0 (2024.1.2)
Syntax
public class SoSwitchElement : SoInt32Element

The SoSwitchElement type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGet

Returns current switch index from the state.

Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodStatic memberGetDefault

Returns the default switch index.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPop

Pops element.

(Inherited from SoElement.)
Public methodPush

Pushes element.

(Inherited from SoElement.)
Public methodStatic memberSet(SoState, Int32)

Sets the current switch index in the state.

Public methodStatic memberSet(SoState, SoNode, Int32)

Sets the current switch index in the state.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This element stores the current switch index. This is set by several nodes and is used to allow OIV.Inventor.Nodes.SoSwitch nodes to inherit the index.

See Also