Class SoTextureTransformElement


public class SoTextureTransformElement extends SoReplacedTextureElement
Stores the current texture transform. This element stores the current texture transform.

See Also:
  • Method Details

    • get

      public static SoTexture2Transform get(SoState state)
      Calls get(state, (int)0).
    • push

      public void push(SoState state)
      Overrides push() method to copy values from next instance in the stack.
      Overrides:
      push in class SoReplacedTextureElement
    • getDefault

      public static String getDefault()
      Returns the default texture name.
    • 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 SoTexture2Transform get(SoState state, int unit)
      Returns the current texture name from the state.
    • set

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