Class SoTextureTransformElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoReplacedTextureElement
-
- com.openinventor.inventor.elements.SoTextureTransformElement
-
public class SoTextureTransformElement extends SoReplacedTextureElement
Stores the current texture transform. This element stores the current texture transform.- See Also:
SoCallbackAction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SoTexture2Transformget(SoState state)Calls get(state, (int)0).static SoTexture2Transformget(SoState state, int unit)Returns the current texture name from the state.static intgetClassStackIndex()Deprecated.As of Open Inventor 9300.static java.lang.StringgetDefault()Returns the default texture name.voidpush(SoState state)Overridespush()method to copy values from next instance in the stack.static voidset(SoState state, SoNode node)Sets the current texture name.-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
get
public static SoTexture2Transform get(SoState state)
Calls get(state, (int)0).
-
push
public void push(SoState state)
Overridespush()method to copy values from next instance in the stack.- Overrides:
pushin classSoReplacedTextureElement
-
getDefault
public static java.lang.String getDefault()
Returns the default texture name.
-
getClassStackIndex
@Deprecated public static int getClassStackIndex()
Deprecated.As of Open Inventor 9300. 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.
-
-