SoTextureMatrixElement Class |
Stores the current texture matrix.
Namespace: OIV.Inventor.Elements
The SoTextureMatrixElement type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Get(SoState) | Calls Get(state, System.Int32(0)). | |
Get(SoState, Int32) | Returns current matrix from the state. | |
GetClassStackIndex | Obsolete. Returns the stack id for this element. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MakeIdentity | Sets the texture matrix to the identity matrix. | |
Mult | Multiplies the given matrix into the texture matrix. | |
Pop | Pops element. | |
Push | Overrides OIV.Inventor.Elements.SoTextureMatrixElement.Push(OIV.Inventor.Misc.SoState) method to copy values from next instance in the stack. | |
RotateBy | Multiplies a matrix that performs the specified transformation into the texture matrix. | |
ScaleBy | Multiplies a matrix that performs the specified transformation into the texture matrix. | |
Set | Sets the texture transform matrix to the given matrix. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TranslateBy | Multiplies a matrix that performs the specified transformation into the texture matrix. |
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.