Class SoMaterialBindingElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoInt32Element
-
- com.openinventor.inventor.elements.SoMaterialBindingElement
-
public class SoMaterialBindingElement extends SoInt32Element
Stores the current material binding. This element stores the current material binding.- See Also:
SoMaterialBinding
,SoVertexProperty
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoMaterialBindingElement.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 Concrete Methods Deprecated Methods Modifier and Type Method Description static SoMaterialBindingElement.Bindings
get(SoState state)
Returns current material binding from the state.static int
getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0.static SoMaterialBindingElement.Bindings
getDefault()
Returns the default material binding.static void
set(SoState state, SoMaterialBindingElement.Bindings binding)
Sets the current material binding in the state.static void
set(SoState state, SoNode name_14970, SoMaterialBindingElement.Bindings binding)
Sets the current material binding in the state.-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
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 SoMaterialBindingElement.Bindings getDefault()
Returns the default material binding.
-
set
public static void set(SoState state, SoMaterialBindingElement.Bindings binding)
Sets the current material binding in the state.
-
get
public static SoMaterialBindingElement.Bindings get(SoState state)
Returns current material binding from the state.
-
set
public static void set(SoState state, SoNode name_14970, SoMaterialBindingElement.Bindings binding)
Sets the current material binding in the state.
-
-