Class SoTextureCoordinateBindingElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoReplacedTextureElement
-
- com.openinventor.inventor.elements.SoTextureCoordinateBindingElement
-
public class SoTextureCoordinateBindingElement extends SoReplacedTextureElement
Stores the current 3D texture coordinates. This element stores the current texture coordinate binding.- See Also:
SoTextureCoordinateBinding
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoTextureCoordinateBindingElement.Bindings
The choice of values is for compatibility with Open Inventor 2.0 binary format files.-
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 SoTextureCoordinateBindingElement.Bindings
get(SoState state)
Calls get(state, (int)0).static SoTextureCoordinateBindingElement.Bindings
get(SoState state, int unit)
Returns current texture binding from the state.static int
getClassStackIndex()
Deprecated.As of Open Inventor 9300.static SoTextureCoordinateBindingElement.Bindings
getDefault()
Returns the default texture binding.void
push(SoState name_23599)
Overridespush()
method to copy values from next instance in the stack.static void
set(SoState state, SoTextureCoordinateBindingElement.Bindings binding)
Sets the current texture binding in the state.static void
set(SoState state, SoNode name_23593, SoTextureCoordinateBindingElement.Bindings binding)
Sets the current texture binding in the state.-
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 SoTextureCoordinateBindingElement.Bindings get(SoState state)
Calls get(state, (int)0).
-
getClassStackIndex
@Deprecated public static int getClassStackIndex()
Deprecated.As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
push
public void push(SoState name_23599)
Overridespush()
method to copy values from next instance in the stack.- Overrides:
push
in classSoReplacedTextureElement
-
set
public static void set(SoState state, SoTextureCoordinateBindingElement.Bindings binding)
Sets the current texture binding in the state.
-
getDefault
public static SoTextureCoordinateBindingElement.Bindings getDefault()
Returns the default texture binding.
-
get
public static SoTextureCoordinateBindingElement.Bindings get(SoState state, int unit)
Returns current texture binding from the state.
-
set
public static void set(SoState state, SoNode name_23593, SoTextureCoordinateBindingElement.Bindings binding)
Sets the current texture binding in the state.
-
-