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 classSoTextureCoordinateBindingElement.BindingsThe 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.Bindingsget(SoState state)Calls get(state, (int)0).static SoTextureCoordinateBindingElement.Bindingsget(SoState state, int unit)Returns current texture binding from the state.static intgetClassStackIndex()Deprecated.As of Open Inventor 9300.static SoTextureCoordinateBindingElement.BindingsgetDefault()Returns the default texture binding.voidpush(SoState name_23599)Overridespush()method to copy values from next instance in the stack.static voidset(SoState state, SoTextureCoordinateBindingElement.Bindings binding)Sets the current texture binding in the state.static voidset(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:
pushin 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.
-
-