Class SoTextureNameElement


  • public class SoTextureNameElement
    extends SoReplacedElement
    Stores the current texture name. This element stores the current texture name.

    See Also:
    SoCallbackAction
    • Method Detail

      • getClassStackIndex

        @Deprecated
        public static int getClassStackIndex()
        Deprecated.
        As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)
        Returns the stack id for this element. ] *
      • getDefault

        public static java.lang.String getDefault()
        Returns the default texture name.
      • get

        public static java.lang.String get​(SoState state)
        Returns the current texture name from the state.
      • set

        public static void set​(SoState state,
                               SoNode node,
                               java.lang.String textureName)
        Sets the current texture name.