Class SoTextureNameElement


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

See Also:
  • Method Details

    • 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 String getDefault()
      Returns the default texture name.
    • get

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

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