Click or drag to resize
SoTextureMatrixElement Class

Stores the current texture matrix.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoAccumulatedElement
        OIV.Inventor.ElementsSoTextureMatrixElement

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public class SoTextureMatrixElement : SoAccumulatedElement

The SoTextureMatrixElement 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(SoState)
Calls Get(state, System.Int32(0)).
Public methodStatic memberGet(SoState, Int32)

Returns current matrix from the state.

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 methodStatic memberMakeIdentity

Sets the texture matrix to the identity matrix.

Public methodStatic memberMult

Multiplies the given matrix into the texture matrix.

Public methodPop

Pops element.

(Inherited from SoElement.)
Public methodPush

Overrides OIV.Inventor.Elements.SoTextureMatrixElement.Push(OIV.Inventor.Misc.SoState) method to copy values from next instance in the stack.

(Overrides SoAccumulatedElementPush(SoState).)
Public methodStatic memberRotateBy

Multiplies a matrix that performs the specified transformation into the texture matrix.

Public methodStatic memberScaleBy

Multiplies a matrix that performs the specified transformation into the texture matrix.

Public methodStatic memberSet

Sets the texture transform matrix to the given matrix.

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

Multiplies a matrix that performs the specified transformation into the texture matrix.

Top
Remarks

This element stores the current texture matrix - the cumulative transformation applied to subsequent shapes. Because the matrix is cumulative, this class is derived from OIV.Inventor.Elements.SoAccumulatedElement. The OIV.Inventor.Elements.SoTextureMatrixElement.Set(OIV.Inventor.Misc.SoState, OIV.Inventor.Nodes.SoNode, OIV.Inventor.SbMatrix) method replaces the current matrix, while all the others (OIV.Inventor.Elements.SoTextureMatrixElement.Mult(OIV.Inventor.Misc.SoState, OIV.Inventor.Nodes.SoNode, OIV.Inventor.SbMatrix), OIV.Inventor.Elements.SoTextureMatrixElement.TranslateBy(OIV.Inventor.Misc.SoState, OIV.Inventor.Nodes.SoNode, OIV.Inventor.SbVec3f), etc.) multiply into it. Node id's of the nodes that affect the element are accumulated properly.

See Also