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(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. ] *
      • 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.