Class SoMaterialBindingElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoMaterialBindingElement
Stores the current material binding.
This element stores the current material binding.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The choice of values is for compatibility with Open Inventor 2.0 binary format files.static enum
Specifies values to apply material on the front face, back face or both front and back face of an object.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
Modifier and TypeMethodDescriptionReturns the current material binding from the state.static int
Deprecated.As of Open Inventor 9.3.0.0.Returns the default material binding.Returns the default material binding face.Returns the current face binding from the state.void
Pushes element.static void
set
(SoState state, SoMaterialBindingElement.Bindings binding) Sets the current material binding in the state.static void
set
(SoState state, SoNode name_14983, SoMaterialBindingElement.Bindings binding) Sets the current material binding in the state.static void
setFace
(SoState state, SoMaterialBindingElement.Faces face) Sets the current face 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 Details
-
set
Sets the current material binding in the state. -
set
Sets the current material binding in the state. -
getDefault
Returns the default material binding. -
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
setFace
Sets the current face binding in the state. -
getFace
Returns the current face binding from the state. -
getDefaultFace
Returns the default material binding face. -
push
Pushes element. Allows for side effects to occur. Default methods do nothing. -
get
Returns the current material binding from the state.
-