Class SoTextureMatrixElement

    • Method Detail

      • get

        public static SbMatrix get​(SoState state)
        Calls get(state, (int)0).
      • getClassStackIndex

        @Deprecated(since="9.3.0.0")
        public static int getClassStackIndex()
        Deprecated.
        As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)
        Returns the stack id for this element. ] *
      • get

        public static SbMatrix get​(SoState state,
                                   int unit)
        Returns current matrix from the state.
      • makeIdentity

        public static void makeIdentity​(SoState state,
                                        SoNode node)
        Sets the texture matrix to the identity matrix.
      • rotateBy

        public static void rotateBy​(SoState state,
                                    SoNode node,
                                    SbRotation rotation)
        Multiplies a matrix that performs the specified transformation into the texture matrix.
      • scaleBy

        public static void scaleBy​(SoState state,
                                   SoNode node,
                                   SbVec3f scaleFactor)
        Multiplies a matrix that performs the specified transformation into the texture matrix.
      • set

        public static void set​(SoState state,
                               SoNode node,
                               SbMatrix matrix)
        Sets the texture transform matrix to the given matrix.
      • mult

        public static void mult​(SoState state,
                                SoNode node,
                                SbMatrix matrix)
        Multiplies the given matrix into the texture matrix.
      • translateBy

        public static void translateBy​(SoState state,
                                       SoNode node,
                                       SbVec3f translation)
        Multiplies a matrix that performs the specified transformation into the texture matrix.