Uses of Enum Class
com.openinventor.inventor.elements.SoDecimationTypeElement.Types
Packages that use SoDecimationTypeElement.Types
Package
Description
The element classes are used internally for storing information in Open Inventor's traversal state list.
-
Uses of SoDecimationTypeElement.Types in com.openinventor.inventor.actions
Methods in com.openinventor.inventor.actions that return SoDecimationTypeElement.TypesModifier and TypeMethodDescriptionSoCallbackAction.getDecimationType()Returns the current decimation type from the state.SoGetPrimitiveCountAction.getDecimationType()Gets decimation type.SoGLRenderAction.getDecimationType()Gets decimation type.Methods in com.openinventor.inventor.actions with parameters of type SoDecimationTypeElement.TypesModifier and TypeMethodDescriptionvoidSoGetPrimitiveCountAction.setDecimationValue(SoDecimationTypeElement.Types type) Calls setDecimationValue(type, (float)1.0).voidSoGetPrimitiveCountAction.setDecimationValue(SoDecimationTypeElement.Types type, float percentage) Sets decimation type and percentage.voidSoGLRenderAction.setDecimationValue(SoDecimationTypeElement.Types type) Calls setDecimationValue(type, (float)1.0).voidSoGLRenderAction.setDecimationValue(SoDecimationTypeElement.Types type, float percentage) Sets decimation percentage, the value should be a number between 0.0 and 1.0 Useful for reducing the number of triangles rendered in the scene. -
Uses of SoDecimationTypeElement.Types in com.openinventor.inventor.elements
Methods in com.openinventor.inventor.elements that return SoDecimationTypeElement.TypesModifier and TypeMethodDescriptionReturns current decimation type from the state.SoDecimationTypeElement.getDefault()Returns the default decimation type.SoDecimationTypeElement.Types.valueOf(int val) Returns the enum constant of this type with the specified integer valueReturns the enum constant of this class with the specified name.static SoDecimationTypeElement.Types[]SoDecimationTypeElement.Types.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 SoDecimationTypeElement.TypesModifier and TypeMethodDescriptionstatic voidSoDecimationTypeElement.set(SoState state, SoDecimationTypeElement.Types type) Sets the current decimation type in the state.static voidSoDecimationTypeElement.set(SoState state, SoNode name_10726, SoDecimationTypeElement.Types type) Sets the current decimation type in the state.