Click or drag to resize
SoReplacedTextureElement Class

Abstract base class for each texture state element.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoReplacedTextureElement
        More...

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.3.0 (2024.1.3)
Syntax
public class SoReplacedTextureElement : SoElement

The SoReplacedTextureElement 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 memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

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 the element, copying values from previous element in state.

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

This is the abstract base class for each texture state element. A node-id is associated to each texture unit.

Subclasses may need to override the OIV.Inventor.Elements.SoReplacedTextureElement.Push(OIV.Inventor.Misc.SoState) method to copy values from the next instance in the stack (using getNextInStack() ), if the new one has to copy values (node-id) on top of the old ones.

This class defines the matches() method to compare lists of node-id's associated to each texture unit. The node-id's represent the states of all nodes that changed the value of the element. OIV.Inventor.Elements.SoReplacedTextureElement provides methods that maintain lists of node-id's of all nodes that affect an instance. Subclasses must call these methods to make sure the id's are up to date, if they plan to use the standard matches() method. Otherwise, they can define matches() differently, if they wish.

See Also
Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoReplacedTextureElement
        OIV.Inventor.ElementsSoTexture3EnabledElement
        OIV.Inventor.ElementsSoTextureCombinerElement
        OIV.Inventor.ElementsSoTextureCoordinate3Element
        OIV.Inventor.ElementsSoTextureCoordinateBindingElement
        OIV.Inventor.ElementsSoTextureCoordinateElement
        OIV.Inventor.ElementsSoTextureCubeMapEnabledElement
        OIV.Inventor.ElementsSoTextureEnabledElement
        OIV.Inventor.ElementsSoTextureImageElementBase
        OIV.Inventor.ElementsSoTextureTransformElement