Click or drag to resize
SoDepthOffsetElement Class

Manage OIV.Inventor.Nodes.SoDepthOffset nodes accumulation in state.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoFloatElement
        OIV.Inventor.ElementsSoDepthOffsetElement

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public class SoDepthOffsetElement : SoFloatElement

The SoDepthOffsetElement 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 accumulated offset from the state.

Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodStatic memberGetMaxOffset

Returns current accumulated offset from the state.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPop

Pop the element from the state.

(Overrides SoElementPop(SoState, SoElement).)
Public methodPush

Push the element into the state.

(Overrides SoElementPush(SoState).)
Public methodStatic memberSet(SoState, Single)

Sets the current offset in the state.

Public methodStatic memberSet(SoState, SoNode, Single)

Sets the current offset in the state.

Public methodStatic memberSet(SoState, Single, Single, Single)

Sets the current offset in the state.

Public methodStatic memberSetMaxOffset

Sets the current offset in the state.

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

This element stores OIV.Inventor.Nodes.SoDepthOffset nodes encountered during traversal at any given time. Requesting for current offset at a given time (throught OIV.Inventor.Elements.SoDepthOffsetElement.Get(OIV.Inventor.Misc.SoState) method) returns the global accumulated offset, computed from all previously OIV.Inventor.Nodes.SoDepthOffset nodes encountered in current path traversal.

See Also