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 enumThe choice of values is for compatibility with Open Inventor 2.0 binary format files.static enumSpecifies 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 intDeprecated.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.voidPushes element.static voidset(SoState state, SoMaterialBindingElement.Bindings binding) Sets the current material binding in the state.static voidset(SoState state, SoNode name_17122, SoMaterialBindingElement.Bindings binding) Sets the current material binding in the state.static voidsetFace(SoState state, SoMaterialBindingElement.Faces face) Sets the current face binding in the state.Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, popMethods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
set
Sets the current material binding in the state. -
set
Sets the current material binding in the state. -
push
Pushes element. Allows for side effects to occur. Default methods do nothing. -
getDefaultFace
Returns the default material binding face. -
setFace
Sets the current face binding in the state. -
getFace
Returns the current face binding from the state. -
getDefault
Returns the default material binding. -
get
Returns the current material binding from the state.
-