Uses of Enum Class
com.openinventor.inventor.elements.SoMaterialElement.Faces
Packages that use SoMaterialElement.Faces
Package
Description
The element classes are used internally for storing information in Open Inventor's traversal state list.
-
Uses of SoMaterialElement.Faces in com.openinventor.inventor.elements
Methods in com.openinventor.inventor.elements that return SoMaterialElement.FacesModifier and TypeMethodDescriptionstatic SoMaterialElement.FacesSoMaterialElement.Faces.valueOf(int val) Returns the enum constant of this type with the specified integer valuestatic SoMaterialElement.FacesReturns the enum constant of this class with the specified name.static SoMaterialElement.Faces[]SoMaterialElement.Faces.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.openinventor.inventor.elements with parameters of type SoMaterialElement.FacesModifier and TypeMethodDescriptionstatic SbColorSoMaterialElement.getAmbient(SoState state, SoMaterialElement.Faces face) static intSoMaterialElement.getColorIndex(SoState state, SoMaterialElement.Faces face, int num) static int[]SoMaterialElement.getColorIndices(SoState state, SoMaterialElement.Faces face) static booleanSoMaterialElement.getColorMaterial(SoState state, SoMaterialElement.Faces face) static SbColorSoMaterialElement.getDiffuse(SoState state, SoMaterialElement.Faces face, int index) get() methods get value from Inventor state.static IntBufferSoMaterialElement.getDirectColorIndices(SoState state, SoMaterialElement.Faces face) static SbColorSoMaterialElement.getEmissive(SoState state, SoMaterialElement.Faces face) static floatSoMaterialElement.getMetallic(SoState state, SoMaterialElement.Faces face) static longSoMaterialElement.getNumColorIndices(SoState state, SoMaterialElement.Faces face) Method to inquire about current colors.static longSoMaterialElement.getNumDiffuse(SoState state, SoMaterialElement.Faces face) Returns the number of diffuse colors.static intSoMaterialElement.getNumTransparencies(SoState state, SoMaterialElement.Faces face) Method to inquire about current colors.static SoCpuBufferObjectSoMaterialElement.getPackedColors(SoState state, SoMaterialElement.Faces face) Return packed colors if any.static floatSoMaterialElement.getRoughness(SoState state, SoMaterialElement.Faces face) static floatSoMaterialElement.getShininess(SoState state, SoMaterialElement.Faces face) static SbColorSoMaterialElement.getSpecular(SoState state, SoMaterialElement.Faces face) static floatSoMaterialElement.getSpecularFactor(SoState state, SoMaterialElement.Faces face) static floatSoMaterialElement.getTransparency(SoState state, SoMaterialElement.Faces face, int index) get() methods get value from Inventor state.static voidSoMaterialElement.setAmbient(SoState state, SoMaterialElement.Faces face, SoNode node, SbColor color) static voidSoMaterialElement.setColorIndices(SoState state, SoMaterialElement.Faces face, SoNode node, int[] indices) Static set method.static voidSoMaterialElement.setColorMaterial(SoState state, SoMaterialElement.Faces face, SoNode node, boolean value) static voidSoMaterialElement.setDiffuse(SoState state, SoMaterialElement.Faces face, SoNode node, SbColor[] colors) Static set method.static voidSoMaterialElement.setEmissive(SoState state, SoMaterialElement.Faces face, SoNode node, SbColor color) static voidSoMaterialElement.setMetallic(SoState state, SoMaterialElement.Faces face, SoNode node, float value) static voidSoMaterialElement.setPacked(SoState state, SoMaterialElement.Faces face, SoNode node, int[] colors) static voidSoMaterialElement.setRoughness(SoState state, SoMaterialElement.Faces face, SoNode node, float value) static voidSoMaterialElement.setShininess(SoState state, SoMaterialElement.Faces face, SoNode node, float value) static voidSoMaterialElement.setSpecular(SoState state, SoMaterialElement.Faces face, SoNode node, SbColor color) static voidSoMaterialElement.setSpecularFactor(SoState state, SoMaterialElement.Faces face, SoNode node, float value) static voidSoMaterialElement.setTransparency(SoState state, SoMaterialElement.Faces face, SoNode node, float[] transp) Static set method.